/britts-agent-skills:mermaid-diagramsfrom Britt's Agent Skills
Creates Mermaid diagrams (flowchart, sequence, class, state, ER, Gantt) in markdown and fixes GitHub rendering issues caused by parentheses in labels or mismatched brackets.
Ships in Britt's Agent Skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Use Mermaid syntax to create clear, maintainable diagrams directly in markdown. Mermaid diagrams are rendered by GitHub, GitLab, and many documentation tools.
Using parentheses inside a label causes syntax errors when rendering on GitHub.
NEVER DO THIS:
flowchart TD
Start[Start agent loop (beginning)]
Criteria[Define completion criteria checklist 3-5]
ShowCriteria[Show criteria to user for approval]
CriteriaOK{User approved (causes errors)}
ALWAYS DO THIS INSTEAD:
flowchart TD
Start[Start agent loop - beginning]
Criteria[Define completion criteria checklist 3-5]
ShowCriteria[Show criteria to user for approval]
CriteriaOK{User approved}
Labels must have matching opening and closing brackets based on their shape.
CORRECT - Matching brackets:
flowchart TD
Start[Start agent loop]
Criteria[Define completion criteria checklist 3-5]
ShowCriteria[Show criteria to user for approval]
CriteriaOK{User approved}
INCORRECT - Mismatched brackets:
flowchart TD
Start[Start agent loop]
Criteria[Define completion criteria checklist 3-5]
ShowCriteria[Show criteria to user for approval]
CriteriaOK{User approved]
Notice that the brackets do not match on the label for CriteriaOK ({ opens but ] closes).
flowchart TD
A[Start] --> B{Decision}
B -->|Yes| C[Action 1]
B -->|No| D[Action 2]
C --> E[End]
D --> E
sequenceDiagram
participant Client
participant API
participant Database
Client->>API: Request data
API->>Database: Query
Database-->>API: Results
API-->>Client: Response
Class, state, and entity relationship diagram examples: see reference.md.
For system architecture diagrams (components, layers, data flows), use the architecture-diagramming skill.
flowchart TD
Start[Receive Request] --> Auth{Authenticated?}
Auth -->|No| Reject[Return 401]
Auth -->|Yes| Valid{Valid Input?}
Valid -->|No| BadReq[Return 400]
Valid -->|Yes| Process[Process Request]
Process --> Success[Return 200]
[Rectangle] - Basic box(Rounded) - Rounded edges{Diamond} - Decision point([Stadium]) - Pill shape[[Subroutine]] - Double border[(Database)] - Cylinder((Circle)) - Circle--> - Solid arrow-.-> - Dotted arrow==> - Thick arrow--text--> - Labeled arrow--- - Line (no arrow)flowchart TD
A[Normal]
B[Highlighted]
style B fill:#f96,stroke:#333,stroke-width:4px
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub britt/agent-skills --plugin britts-agent-skills32 skills in this plugin
/architecture-diagrammingUse when the user asks for an architecture diagram, says 'show me the system architecture' or 'diagram the components', or during project planning - generates GitHub-compatible Mermaid flowcharts showing components, layers, subgraph boundaries, and data flows/at-risk-detectionUse when asked about project health, stale or blocked issues, deadline risk, or scope creep - scans GitHub issues and PRs with heuristics (staleness, blocked labels, milestone dates, size, unassigned high-priority) and produces a severity-ranked at-risk report/build-faq-from-issuesUse when building or updating an FAQ from closed GitHub issues, documenting recurring support questions, or reducing repeat questions - extracts common questions from resolved issues and generates a categorized FAQ document with synthesized answers and source links/context-aware-questionsUse when asked 'what am I missing?', reviewing an issue or draft before submission, or checking documentation completeness - detects requirement, spec, and doc gaps and generates prioritized actionable questions/daily-planning-ritualUse when the user asks to plan their day with phrases like "plan the day", "plan my day", "plan today", or similar variations, or wants a morning check-in on how to spend the day across work and the rest of their life./dependency-mappingUse when asked to map issue dependencies, show what blocks what, or find the critical path through project work - reads GitHub issues for blocked-by/depends-on signals and generates Mermaid flowcharts of blocking chains4 plugins in one repository ship this exact skill · first indexed Jul 6, 2026
Other plugins' skills for the same job