Mermaid aggregation
Skill JarrydAdaens/agentic_rails_tooling/archived/skills/mermaid-aggregation
The right rail of Agentic Rails: Reusable skills, agent personas, rules, and workflows for agentic coding IDEs — the tooling rail of the Agentic Rails framework.
npx -y skills add JarrydAdaens/agentic_rails_tooling --skill mermaid-aggregationAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Use this skill when merging accepted Mermaid edge fragments into one diagram. It deduplicates lines, optionally sorts them, wraps them in graph TD and a mermaid code fence, then writes mermaid.md for the workflow or returns the block when used standalone.
SKILL.md
2.2 KB, as published. Nobody here has run it
Mermaid aggregation
Combine partial mapper outputs into a single deliverable diagram.
When to use
- Final step of the mermaid-mapper workflow after all rows are validated.
- Rebuilding
mermaid.mdfrom archived partials without re-running scout or mapper. - Merging edge lists from ad-hoc mapper runs into one file.
Inputs
- Partials: paths under
documentation/workflows/mermaid_mapper/partials/and/or inline edge text from the user. - Optional: sort order (for example alphabetical by left-hand node).
Instructions
- Collect every accepted fragment. Strip empty lines and markdown fences if someone pasted fenced content by mistake.
- Concatenate all edge lines.
- Deduplicate: identical lines count once; treat direction as part of identity (
A --> Bdiffers fromB --> A). - Optionally sort lines for stable diffs (for example by source node name, then target).
- Emit one markdown file containing a single fenced block:
- First line inside the fence:
graph TD - Remaining lines: the edge lines only
- First line inside the fence:
Output contract
- Workflow: write
documentation/workflows/mermaid_mapper/mermaid.mdat the target repository root. - Standalone: output the same fenced block in chat or write a path the user gave.
Format reference
Wrapping and default direction match ../mermaid-mapper/references/mermaid-conventions.md.
This path assumes mermaid-aggregation and mermaid-mapper are co-located as siblings under the same skills/ parent. If deployed standalone, copy the conventions reference locally or load mermaid-mapper/references/mermaid-conventions.md from its installed location.
Standalone examples
- Combine
partial_0001.mdthroughpartial_0004.mdinto onemermaid.md. - Turn this list of edges into a fenced Mermaid block for the README.