From ftitos-claude-code
Comprehensive markdown and Mermaid diagram writing skill. Text-based diagrams as the default documentation standard with style guides and diagram type references.
How this skill is triggered — by the user, by Claude, or both
Slash command
/ftitos-claude-code:markdown-mermaid-writingThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Create scientific documentation using markdown with embedded Mermaid diagrams as the default format.
Create scientific documentation using markdown with embedded Mermaid diagrams as the default format.
| What matters | Mermaid in Markdown | Image |
|---|---|---|
| Git diff readable | Yes | No (binary) |
| Editable without regenerating | Yes | No |
| Token efficient vs prose | Yes | No |
| Renders without build step | Yes | No |
| Parseable by AI without vision | Yes | No |
| Works in GitHub / GitLab / Notion | Yes | Requires hosting |
| Use case | Diagram type |
|---|---|
| Workflow / decision logic | Flowchart |
| Service interactions / API calls | Sequence |
| Data model / schema | ER diagram |
| State machine / lifecycle | State |
| Project timeline / roadmap | Gantt |
| System architecture (zoom levels) | C4 |
| Concept hierarchy / brainstorm | Mindmap |
| Chronological events | Timeline |
| Class hierarchy / type relationships | Class |
| User journey / satisfaction map | User Journey |
| Two-axis comparison | Quadrant |
| Flow magnitude / resource distribution | Sankey |
| Numeric trends / charts | XY Chart |
| Work item status | Kanban |
| Multi-dimensional comparison | Radar |
| Git branching strategy | Git Graph |
Pick the right type, not the easy one. Don't default to flowcharts for everything.
Every Mermaid diagram must include:
accTitle: Short Name 3-8 Words
accDescr: One or two sentences explaining what this diagram shows.
%%{init} directives (breaks GitHub dark mode)style -- use classDef onlysnake_case node IDs[^N] with full URLUse radar-beta (not radar), axis (not x-axis), curve (not quoted labels with colon).
| Diagram | Keyword | Axis syntax | Data syntax |
|---|---|---|---|
| XY Chart | xychart-beta | x-axis ["Label1", "Label2"] | bar [10, 20] |
| Radar | radar-beta | axis id["Label"] | curve id["Label"]{10, 20} |
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub nassimbf/ftitos-claude-code