System Design
System design from evidence, not vibes.
/system-design takes you from an incomplete idea or an existing codebase to a defensible architecture decision. It sizes the ask before it starts, and answers small or already-settled questions directly instead of manufacturing a document. When the decision earns the process, it discovers what the repository already proves, asks you only for the requirements it cannot recover, derives the system’s entities, invariants, interfaces, data and consistency model, scale envelope, and critical flows, then fully draws only the candidate architectures the evidence leaves viable. It compares their strengths and weaknesses and recommends one. In an existing repository it also audits what was built against what was intended, and reports the architectural debt between them with a remedy and the evidence behind each finding. Outputs a self-contained single-page HTML report, a structured design.json source of truth, and a durable DESIGN.md that records the reasoning and can be resumed in future agent sessions. Designs with structured persistence include intuitive database schemas—essential fields, keys, relationships, and indexes—rather than executable DDL.

Installation
Pick one path. Both load the same skill, so installing both makes /system-design appear twice in the picker.
Codex, Claude Code, Cursor, and other compatible agents
npx skills@latest add pinchen147/system-design-skill
Choose which agent should receive the skill. The files remain editable, and you decide when to pull updates:
npx skills update
Claude Code plugin
Use the plugin when you want a managed, versioned installation:
claude plugin marketplace add pinchen147/system-design-skill
claude plugin install system-design-skill@pinchen-skills
Claude namespaces marketplace skills to prevent collisions. Invoke this installation as:
/system-design-skill:system-design
Update it with:
claude plugin update system-design-skill@pinchen-skills
Quick start
Run the skill with whatever context you already have. It will discover the rest from the repository or ask for the decisions that remain open.
The skill is model-invocable when the intent is to make or evaluate an architecture decision: designing, re-architecting, scaling, sizing, recording an ADR, or choosing among datastore, consistency, partitioning, replication, cache, or queue topologies. A technology explanation is not a trigger, and neither is implementation debugging that merely mentions those mechanisms. A bounded choice whose envelope forces one answer gets a direct answer; competing architecture structures run the full process. Type the command when you want it explicitly.
The examples below use the standalone name /system-design. If you installed the Claude plugin, use /system-design-skill:system-design instead.
Evolve an existing system
/system-design Redesign our notification pipeline to support regional failover
Design a new system
/system-design Design a collaborative document editor for 10 million DAU
Repository work is the primary path. Greenfield work uses the same process without an existing Architecture 0.
Examples
The complete journey
1. Sizes the ask before running the process
The process is expensive, so the skill spends it only where it pays. It sketches the envelope first and checks it against the anti-overengineering gates. If the ask lands below them, or a recorded decision already forces the answer, the skill names the gate or the decision and answers directly in a paragraph — no report, no design.json, no DESIGN.md.
When the process does run, the skill starts with the simplest production-viable candidate. It draws another only when the envelope and invariants leave a genuinely different structure viable on a load-bearing axis. Closed alternatives remain one-line rejections; three is a ceiling, not a target.
2. Starts with evidence
In an existing repository, the skill reads the architecture docs, ADRs, domain vocabulary, configuration, schemas, APIs, queues, storage code, and critical user-facing flows before asking anything.
It reconstructs the current system as Architecture 0: