design-doc-diagramming
Installation
SKILL.md
Design Doc Diagramming
Overview
A design doc earns its keep when a diagram answers a question faster than the prose around it would. This skill covers the part that's easy to get wrong: picking the diagram type that actually matches the content (a flowchart forced to represent a request/response sequence loses the ordering that made it worth drawing), drafting it small enough to stay legible, validating it before it ships, and slotting it into a document structure appropriate to what's being designed.
For the prose sections of a design doc (goals, non-goals, alternatives considered, rollout plan), defer to spec-driven-development or documentation-and-adrs — this skill owns diagram selection and quality, not general doc-writing conventions.
When to Use
- Asked to create or update an architecture, API, feature, database, or full-system design document
- Asked to "create a diagram," "generate mermaid," "document the architecture," or "show the flow" for a system, feature, or codebase
- Asked to convert existing code, config, or infrastructure-as-code into an architecture or deployment diagram
- A design doc already exists but its diagrams are stale relative to the code
- NOT for a single ad-hoc diagram inside a Claude Artifact — use
artifact-diagrammingthere, since it covers Artifact-specific rendering constraints this skill doesn't - NOT for a standalone, directly-editable diagram file — use
excalidraw-diagrammingwhen the deliverable is a.excalidrawfile rather than Mermaid embedded in a doc