mermaid-sequence-diagrams — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited mermaid-sequence-diagrams (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Generate, review, and fix Mermaid sequence diagrams that are syntactically correct, visually clear, and follow established best practices.
This skill is intentionally Mermaid-specific: keep the output in Mermaid sequenceDiagram syntax.
participant OMS as Order Management Service.actor for human users (renders stick figure), participant for services, database for data stores, queue for message brokers.->> / -->> arrows.-) / --) arrows.-x / --x arrows.<<->> / <<-->> arrows.POST /orders, 201 Created). Move payload details to Note blocks.autonumber when the diagram has 5+ messages.+/- shorthand for activations on arrows (e.g., ->>+Server to activate, -->>-Client to deactivate).alt/else. Never produce a happy-path-only diagram — always include at least one failure branch.references/02-control-flow-and-notes.md for alt, opt, loop, par, critical, break, and rect.box when there are 4+ participants across distinct layers.Note over blocks sparingly for protocol details, SLA info, or phase labels.references/03-styling-and-best-practices.md.references/04-real-world-examples.md.activate has a matching deactivate (or use +/- shorthand consistently).alt, opt, loop, par, critical, break, and rect block has a matching end.references/03-styling-and-best-practices.md for the full list.| Mistake | Fix |
|---|---|
Smart quotes " " | Use straight quotes " |
Unicode arrows → ⇒ | Use ASCII arrows ->> --> |
Em/en dashes — – | Use plain hyphens - |
The word end in labels | Wrap in quotes: "end", brackets: [end], or parens: (end) |
| Multiple statements on one line | One statement per line |
| Spaces in participant IDs | Use CamelCase or snake_case IDs with alias for display name |
| Semicolons in text | Escape as #59; |
| Unbalanced brackets | Ensure every [ has ], every ( has ) |
Use this skeleton as the starting point for every diagram:
sequenceDiagram
autonumber
participant A as Service A
participant B as Service B
A->>+B: Request
B-->>-A: Response~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.