.claude/skills/hl7v2-to-fhir-pipeline/SKILL.md
Comprehensive pipeline for creating a new message converter or add/edit a field mapping for an existing converter.
npx skillsauth add Aidbox/aidbox-hl7v2-example hl7v2-to-fhir-pipelineInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Your job is to extend the conversion module according to user's request.
If the user request is not related to creating a new message converter, a new field mapping, or adapting the existing conversion to new message examples - return an error.
ai/tickets/converter-skill-tickets/, you work there, resuming the last step or starting with the Step 1 if no work has been done.NEED_USER_INPUT).ai/tickets/converter-skill-tickets/ that stands for the name of the change user needs (unless user instructed you to work in a specific directory).ai/tickets/converter-skill-tickets/<the-ticket-name>/ticket.md/examples in the ticket directory.Generate 5 examples of <related-hl7v2-message> messages in `ai/tickets/converter-skill-tickets/<the-ticket-name>/examples/`
Use skill hl7v2-info to read the hl7v2 spec and generate examples, conforming to the spec:
- 3 messages conforming to 2.5
- 2 messages configming to 2.8.2
Each examples must have its own file.
Run a sub-agent to explore the hl7v2 spec and mappings and make a requirements document. The prompt is located in file named requirements-prompt.md in the skill directory.
Commit the changed files once the sub-agent finished.
Run a sub-agent to explore the codebase, existing conversion logic, note what's already done, what's missing, and what patterns/structures can be helpful to re-use for the implementation. The prompt is located in file named explore-prompt.md in the skill directory.
Commit the changed files once the sub-agent finished.
Spawn a sub-agent to write the design to satisfy the requirements given the existing codebase. If the sub-agent returns NEED_USER_INPUT marker, you must ask the user this question and then resume the sub-agent that asked this question to continue its work. The prompt is located in file named design-prompt.md in the skill directory.
Commit the changed files once the sub-agent finished.
Run a sub-agent with ai-review skill to review the design.
Prompt:
/ai-review <path-to-ticket-file>
After the review agent finished, resume the design agent to address findings and remove the AI Review Notes section. You only do this once. Do not run subsequent reviews after one was completed.
Commit the changes.
Run a sub-agent to make the plan. The prompt is located in file named planning-prompt.md in the skill directory.
Commit the changes.
Iteratively run 1 sub-agent to implement 1 task using prompt from implementation-prompt.md file in the skill directory.
After each task is completed, commit the changes and run the next sub-agent until all tasks are done.
When all tasks are completed, move to the next step.
Run a sub-agent to review the implementation.
Prompt:
/ai-review implementation of <path-to-ticket-file>. Think hard. Return your review output as your response, do not change any files.
If the review agent returned any issues, spawn a sub-agent to fix them.
Prompt:
Get familiar with <path-to-ticket-file>. A review of this implementation revealed issues you need to address:
<review-agent-output>
When the review and the fixes are done, your job is done. Report to the user the implementation is complete, they can test the functionality in the ui.
development
Create detailed implementation plan from an approved design. Converts design document and prototype placeholders into step-by-step tasks for execution by Claude Code agents.
documentation
Create a design document with prototype placeholders for a feature. Includes agent review loop before user approval. Resumable - can commit and continue later.
documentation
Research a topic to make a comprehensive guide for the user.
development
Create comprehensive implementation plans for features using the ralphex format. Plans include research, documentation, tests, and step-by-step tasks.