system-design-document
FreeNo executable scriptsNot checkedStandardizes high-level design (HLD) and architecture documents for engineering managers, delivery managers, and client product owners. Governs section…
by HoangNguyen0403★ 598 GitHub starsAbout this skill
System Design Document Standard
Priority: P0 (CRITICAL)
Sets the standard for HLD and architecture documents handed to reviewers (engineering manager, delivery manager, client PO). Complements system-design-methodology and system-design-review.
Rules
- Resolved items leave the list: Once an open question is answered, move it to Decisions (with evidence). The Open items / Sign-offs section keeps ONLY items needing a named person's agreement as "Agree that..." rows, never open questions.
- Declared decision owners: "Made by" column uses ONLY declared parties (
Vendor,Client technical team,Client product owner team, mapped to real names). NEVER "my call", "user", "AI", or role guesses. Credit Client only if decided in discussion; pending choices go to sign-offs. - Data movement arrows: Arrows show direction of data flow (
source -> job -> staging -> store), never ownership or "who reads". Label every arrow. NEVER draw an arrow entering a system the design only reads from. - Top-to-bottom HLD: One top-to-bottom diagram: users -> frontend -> backend (one cross-cutting identity/access layer in front of business modules, then data stores) -> outside systems along the bottom. Maximum ~15 boxes; detail goes to separate diagrams.
- Module boundaries & single identity: One module per capability; no catch-alls ("Schedule", "Common", "Manager"). Authentication and authorization form ONE identity & access layer drawn once in front of all modules, not duplicated. Include a screen/feature -> module table (1:1 mapping).
- Solution options parity: Each option gets its own small diagram with the same shape (
sources -> job -> staging -> store), a short note, and one unified comparison table sharing identical rows. Recommended option first; fallbacks in stated order with rationale. Include a "verified in repo vs assumed" evidence list. - Configuration vs admin UI: State explicitly whether settings are hardcoded vendor config files or admin screens; never leave administration implicit.
- Revision note: Document header records version, date, and specific reviewer comments that prompted revisions.
- Export integrity (docx/pdf): Tables require explicit borders, fixed layout (
w:tblLayout), content-based column widths fitting the longest word, repeat header row (w:tblHeader), andw:cantSplit. Blank line before every list in Markdown. Page break before architecture if diagram is tall. Keep Mermaid source beside exported PNG. Visually inspect rendered tables and diagrams before delivery. - Canonical section order: Follow the 13-section structure in document template.
Workflow
- Intake & Scope: Capture intent (goals, non-goals, anti-goals), client prerequisites, and revision notes citing reviewer feedback.
- Options & Trade-offs: Model data/ETL options with uniform diagram shapes and comparison criteria; record repo-verified vs assumed facts.
- Topology & Boundaries: Draft top-to-bottom HLD (<=15 boxes), single identity layer, single-purpose modules, and 1:1 screen mapping.
- Decisions & Sign-offs: Assign declared owners to decisions; phrase pending agreements as "Agree that..." rows.
- Format & Verify: Apply export checklist, render docx/pdf, and inspect visual layout before delivery.
Verify Checklist
- Revision note references specific reviewer comments.
- No open questions in sign-offs; all items are "Agree that..." with named owners.
- Decisions have declared parties (
Vendor,Client technical team,Client product owner team). - All diagram arrows follow data movement; read-only sources have outgoing arrows only.
- HLD is top-to-bottom with <=15 boxes and a unified identity & access layer.
- Screen-to-module table maps each screen to exactly one capability module.
- Options share identical diagram shapes, comparison rows, and an evidence list.
- Settings explicitly designated as config files or admin UI.
- Tables use fixed layout, proper widths, repeated headers, and were visually checked.
Anti-Patterns
- Questions in sign-offs: Leaving open questions instead of moving answered ones to Decisions and pending ones to "Agree that...".
- Ambiguous decision ownership: Writing "my call", "AI", or unmapped personal names in Decisions.
- Backwards/ownership arrows: Pointing arrows into source systems because "the job queries it".
- Sprawling HLD: Exceeding 15 boxes or duplicating Auth/RBAC across individual services.
- Catch-all modules: Creating "Schedule" or "Common" buckets that bundle unrelated workloads.
- Asymmetric options: Comparing options with different metrics or missing architectural diagrams.
- Unchecked export: Shipping docx/pdf with clipped table columns, orphan headers, or broken page breaks.
References
- [Document Templa
Install system-design-document in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
Bundled files
FAQ
What does the system-design-document skill do?
Standardizes high-level design (HLD) and architecture documents for engineering managers, delivery managers, and client product owners. Governs section structure, decision ownership, dataflow arrow directions, top-to-bottom system topology, module boundaries, ETL option comparisons, sign-off criteria, and docx/pdf export rules. Use when writing, structuring, or revising an architecture document, HLD, or solution options comparison.
How do I install the system-design-document skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the system-design-document skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
by AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
by Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
by Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
by Anthropic