dev10x:diagram-sequence
/dev10x:diagram-sequence
Use when someone asks for a sequence diagram, a call flow, a request/response timeline, or "who calls whom" between services, agents, or APIs — for a PR description, issue, ADR, or design doc. TRIGGER when: drawing interactions between participants over time. DO NOT TRIGGER when: drawing system structure (use dev10x:diagram-c4) or a business process with lanes and gateways (use dev10x:diagram-bpmn).
- Author
- dev10x-guru ↗
- Repository
- dev10x-claude ↗
- Licence
- MIT
- Last repository change
- 08.11.2026
Assessment and security
- Files in this package
- 6
- Scripts
- 2
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 08.11.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
- 2 scripts in this package. Review them before installing, as Claude may execute them.
Scripts: scripts/_chrome.sh, scripts/render.sh
What it does and when to use it
Use when someone asks for a sequence diagram, a call flow, a request/response timeline, or "who calls whom" between services, agents, or APIs — for a PR description, issue, ADR, or design doc. TRIGGER when: drawing interactions between participants over time. DO NOT TRIGGER when: drawing system structure (use dev10x:diagram-c4) or a business process with lanes and gateways (use dev10x:diagram-bpmn).
Triggers from the description
Original author description
Use when someone asks for a sequence diagram, a call flow, a request/response timeline, or "who calls whom" between services, agents, or APIs — for a PR description, issue, ADR, or design doc. TRIGGER when: drawing interactions between participants over time. DO NOT TRIGGER when: drawing system structure (use dev10x:diagram-c4) or a business process with lanes and gateways (use dev10x:diagram-bpmn).
How it works
- Orchestration
- Pick the notation from where the diagram lands
- Workflow
- Common Mistakes
SKILL.md preview
---
name: dev10x:diagram-sequence
description: >
Use when someone asks for a sequence diagram, a call flow, a
request/response timeline, or "who calls whom" between services,
agents, or APIs — for a PR description, issue, ADR, or design doc.
TRIGGER when: drawing interactions between participants over time.
DO NOT TRIGGER when: drawing system structure (use
dev10x:diagram-c4) or a business process with lanes and gateways
(use dev10x:diagram-bpmn).
user-invocable: true
invocation-name: dev10x:diagram-sequence
allowed-tools:
- Bash(${CLAUDE_PLUGIN_ROOT}/skills/diagram-sequence/scripts/:*)
- Write
- Edit
- Read
---
# dev10x:diagram-sequence
**Announce:** "Using dev10x:diagram-sequence to draw <flow name>."
## Orchestration
This skill follows `references/task-orchestration.md` patterns.
**REQUIRED: Create a task at invocation.** Execute at startup:
1. `TaskCreate(subject="Draw sequence diagram", activeForm="Drawing sequence diagram")`
Mark completed when done: `TaskUpdate(taskId, status="completed")`
## Pick the notation from where the diagram lands
| Destination | Notation | Why |
|-------------|----------|-----|
| PR body, issue, comment, any GitHub-rendered `.md` | **Mermaid** (default) | GitHub renders a ` ```mermaid ` block inline — no image to host or keep in sync |
| ADR, design doc, slide, anything needing a PNG/SVG file | **PlantUML** | Finer layout control (`box`, activation bars, `autonumber` formats); matches `dev10x:adr` |
| Both ("for the PR, and a PNG for the doc") | Mermaid source + rendered PNG from the same `.mmd` | One source of truth; never maintain two notations of one flow |
Mermaid is the default. Choose PlantUML only when the destination
needs a file Mermaid cannot produce well, or the repo already keeps
`.puml` sources next to the document.
## Workflow
1. **Name the participants first.** List every actor/service the flow
touches, in left-to-right order of first appearance. Use the names
the codebase uses (`MCP server`, not `Backend`). Add a participant
the request did not name only when a step cannot be drawn without
it, and say so in your reply.
2. **Write the source** next to the document it serves
(`docs/<area>/<flow>.mmd` or `docs/adr/diagrams/NNNN/<flow>.puml`).
Syntax: [`references/mermaid.md`](references/mermaid.md) or
[`references/plantuml.md`](references/plantuml.md).
- Branches → `alt`/`else`; optional step → `opt`; retry → `loop`.
- Return arrows are dashed (`-->>` Mermaid, `-->` PlantUML).
- Payload labels use the real field names from the code.
3. **Render and validate** — always, even for inline Mermaid:
```bash
${CLAUDE_PLUGIN_ROOT}/skills/diagram-sequence/scripts/render.sh <source> [--format png|svg]
```
It exits non-zero with the offending line on any error: PlantUML is
syntax-checked before rendering, and Mermaid parse errors come from
mermaid-cli with a line and caret. Fix the source and re-run; never
hand back a diagram whose last render failed. PlantUML runs
sandboxed — see the security profile in the rendering reference
below.
4. **Look at the image.** `Read` the PNG the script printed. Check
that every message has a sender and receiver, `alt` frames enclose
the steps you meant, and no label is clipped. A clean exit is not
proof — PlantUML silently closes an unterminated `alt` and drops
the frame.
5. **Deliver.** For GitHub destinations paste the ` ```mermaid ` block;
for files link the rendered image and commit the source beside it.
Toolchain details and troubleshooting (jar lookup, Chrome for
puppeteer, offline use): [`references/diagrams/rendering.md`](../../references/diagrams/rendering.md).
## Common Mistakes
| Mistake | Consequence |
|---------|-------------|
| PlantUML for a PR description | Reader sees a raw code block or a stale pasted image instead of a rendered diagram |
| Hand-back without rendering | A typo ships as a broken block GitHub shows as an error box |
| Trusting a clean exit | Missing `end`/`alt` frames render silently wrong — only reading the image catches it |
| Invented participant names | Diagram disagrees with the code it documents and misleads reviewers |
| Two notations for one flow | They drift; one of them is wrong within a release |
Files in this package (6)
- SKILL.md 4 KB
- evals/evals.json 4 KB
- references/mermaid.md 2 KB
- references/plantuml.md 2 KB
- scripts/_chrome.sh 1 KB
- scripts/render.sh 4 KB
Versions
The database has no other skills named dev10x:diagram-sequence.
Database snapshot: 13.11.2026 · package version 2ebdfce9bc1f (SHA-256 digest of the entire package)
Downloads in the last 30 days: 1 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 90dev10x:diagram-c4
Use when someone asks for an architecture diagram, a system context or container view, "what talks to what", a component breakdown of one service, or a deployment picture — for an ADR, README, design doc, or onboarding page. TRIGGER when: drawing system structure at C4 level… - 90dev10x:diagram-bpmn
Use when someone asks to model a business process, workflow, approval chain, or hand-off between roles as BPMN — a file that opens in Camunda Modeler or bpmn.io, plus a rendered image for a doc or PR. TRIGGER when: drawing who does what, in which order, with decisions and loops,… - 100dev-drawing-diagrams
Use when an artifact needs a diagram (C4, sequence, activity, ER, DFD, deploy, CI/CD, screen flow): mermaid, checked by diagram.mjs. - 100data-flow
Generates a Mermaid sequence diagram showing how data moves between components. Use when tracing request flows or documenting data transformation pipelines. - 100sequence
Writes valid sequence diagram source for uml-mcp (diagram_type=sequence). Shows object interactions arranged in time sequence Use when the user asks for sequence or that notation; then call validate_uml / generate_uml / generate_uml_image. - 90sequence
Generate a hand-drawn-style Excalidraw sequence diagram from code and export to .excalidraw / SVG / PNG / WebP — no browser. For sequence diagrams, multi-actor interactions, API call order, handshakes, OAuth / auth flows, request-response chains. Triggers on draw a sequence…