fernandoteixxeira/stark-bank-challenge/markdown-mermaid
Claude Code and agent skill by fernandoteixxeira/stark-bank-challenge
- community
Checking that the SKILL.md file is still in the repository.
Use when writing or reviewing Markdown documentation that includes Mermaid diagrams, including SDD specs, architecture diagrams, sequence diagrams, flowcharts, state diagrams, entity diagrams, event flows, and rendering-safe Mermaid syntax.
Install
npx vskill@latest install fernandoteixxeira/stark-bank-challenge/markdown-mermaidSKILL.md
The same SKILL.md was published earlier as fernandoteixxeira/stark-bank-challenge/markdown-mermaid.
Markdown Mermaid
Use Mermaid diagrams to clarify relationships, flows, decisions, states, and integration boundaries. Diagrams should support the text, not replace requirements or decisions.
Markdown Rules
- Put Mermaid diagrams in fenced code blocks with
mermaid. - Add a short heading or sentence before each diagram explaining what it shows.
- Keep diagrams close to the section they explain.
- Prefer ASCII labels unless the surrounding document already uses Portuguese text with accents consistently.
- Avoid very large diagrams. Split by concern when the diagram becomes hard to scan.
flowchart TD A[Start] --> B[Process]
Choosing a Diagram
- Use
flowchartfor decisions, processing steps, retries, and system flows. - Use
sequenceDiagramfor request/response interactions and webhook/event choreography. - Use
stateDiagram-v2for lifecycle/status transitions. - Use
classDiagramfor domain model relationships when ER syntax is not enough. - Use
erDiagramfor document or relational data relationships only when relationships matter. - Use
C4Contextor simpleflowchartfor architecture boundaries; prefer simpleflowchartwhen C4 support is uncertain. - Use
journeysparingly for user/operator workflows.
Flowcharts
Use top-down flowcharts for backend processing.
Guidelines:
- Use
TDfor vertical process flow. - Use decision nodes only for real branches.
- Keep labels short and behavior-oriented.
- Avoid styling unless it adds useful meaning.
Sequence Diagrams
Use sequence diagrams for integrations and timing.
Guidelines:
- Use aliases for external systems.
- Show validation, persistence, publish, acknowledgement, and retry points when relevant.
- Do not include every method call. Show system-level behavior.
State Diagrams
Use state diagrams for lifecycle rules.
Guidelines:
- State names should be stable domain/status words.
- Add transitions only when they can happen in the system.
- Keep error states explicit.
Entity Diagrams
Use erDiagram when persistence relationships help the reader understand indexes, ownership, or lookup patterns.
Guidelines:
- Keep fields to the ones important for the spec.
- Do not model every persistence detail unless it matters for behavior.
- For document stores, explain embedding vs referencing in text next to the diagram.
Architecture Diagrams
Use flowcharts for hexagonal architecture and cloud components.
Guidelines:
- Direction should reflect dependency or runtime flow, but do not mix both without explaining.
- Label ports as ports and adapters as adapters when documenting hexagonal architecture.
- Use database cylinder syntax for data stores:
Store[(Managed Database)].
Rendering Safety
- Avoid unescaped colons, quotes, pipes, and parentheses in labels when they cause rendering errors.
- Wrap complex labels in quotes:
A["POST /events/orders"]. - Keep node IDs simple: letters, numbers, and underscores.
- Avoid duplicate node IDs.
- Prefer
<br/>for line breaks inside labels only when needed. - If Mermaid rendering fails, simplify labels first before changing the diagram type.
Spec Integration
When adding diagrams to SDD specs:
- Put flow diagrams in
Architecture NotesorInterfaces and Contracts. - Put lifecycle diagrams in
Domain Rules. - Put persistence diagrams in
Data and Persistence. - Put sequence diagrams near external integration contracts.
- Reference requirements in nearby text, not inside dense diagram labels.
Quality Checklist
- The diagram answers a concrete reader question.
- The diagram type matches the information being shown.
- The Mermaid block renders with valid syntax.
- Labels are short and consistent with the domain language.
- The surrounding text explains decisions, constraints, and tradeoffs.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryChecking.skills/markdown-mermaid/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/fernandoteixxeira/stark-bank-challenge/markdown-mermaid)