Install any skill in seconds. Free to start, no credit card required.
Get Started Free →CTO's deputy for software architecture using Clean/Hexagonal Architecture principles. Socratic approach - asks probing questions to help YOU make informed design decisions. Guides through Discovery → Modeling → Boundaries → Scaffolding phases. Outputs TypeScript scaffolds with ports, adapters, and domain layers. USE WHEN user says 'architect', 'system design', 'hexagonal', 'clean architecture', 'ports and adapters', 'design this system', 'structure this project', or needs help thinking through c
.claude/skills/aiskillstore-system-design/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-07 | ✗→✓ | ▲ Improved | 145% | 0% |
| case-04 | ✗→✓ | ▲ Improved | 51% | 0% |
| case-05 | ✗→✓ | ▲ Improved | 41% | 0% |
| case-10 | ✗→✓ | ▲ Improved | 38% | 0% |
| case-14 | ✗→✓ | ▲ Improved | 99% | 0% |
| 路径类型 | 说明 | |---------|------| | 使用方式 | 此技能提供模板和指导,无需本地脚本执行 | | 调用场景 | 当用户需要系统设计、架构文档、技术选型时自动激活 | | 输出位置 | docs/design-catalog/ 目录(相对于项目根目录) |
docs/design-catalog/Transform requirements into navigable design catalogs using EventStorming methodology and Mermaid diagrams.
Core principle: Progressive elaboration through event-driven thinking, producing token-efficient visual artifacts in standardized catalog structure.
Announce at start: "I'm using the system-design skill to create a design catalog for your system."
Use when:
Don't use when:
| Phase | Key Activities | Output Files | |-------|---------------|-------------| | 1. Requirements | Ask questions, identify actors/constraints | requirements.md | | 2. Big Picture | EventStorming timeline with events/commands | big-picture.mmd | | 3. Processes | Zoom into critical processes, add aggregates | process-{name}.mmd | | 4. Data & Flows | ERD, state charts, sequences | erd.mmd, state-{entity}.mmd, sequence-{flow}.mmd | | 5. Integration | Generate catalog README | README.md |
NEVER make "industry-standard assumptions" without asking the user first.
Bad:
"I'll assume standard PostgreSQL for data storage"
"Proceeding with industry-standard assumptions"
"I'll design for moderate scale (10K users)"Good:
"What database are you currently using?" (AskUserQuestion with options)
"What scale are you targeting?" (AskUserQuestion: 100 users / 10K / 100K+)
"Budget constraints for infrastructure?" (Ask directly)All diagrams MUST use Mermaid format. NO exceptions.
Bad:
ASCII art entity relationships
Text-based flowcharts
"I'll create ASCII diagrams because they're universal"Good:
Mermaid ER diagrams
Mermaid flowcharts
Mermaid sequence diagrams
Mermaid state chartsUse EventStorming methodology for Phases 2-3. Required.
Bad:
"Using traditional waterfall analysis"
"Creating use cases and functional specs"
"Based on proven patterns" (without events)Good:
"Let's identify key business events" (EventStorming)
"What triggers each event?" (Commands)
"What data changes when this event happens?" (Aggregates)All artifacts go into docs/design-catalog/ with specific structure.
docs/design-catalog/
README.md # Navigation hub
requirements.md
big-picture.mmd
processes/
process-{name}.mmd
data/
erd.mmd
state-{entity}.mmd
flows/
sequence-{flow}.mmdNo random file names. No mixed concerns.
Stay at design abstraction. NO implementation details in design phase.
Forbidden in design artifacts:
Allowed:
Prefer Mermaid diagrams over lengthy text descriptions.
Token targets by project complexity:
If exceeding targets, check:
Bad:
4,000 lines of documentation
Verbose explanations of every decision
Repeating information across files
"This is complex so 50K tokens is reasonable"Good:
Mermaid diagram with annotations
Cross-reference: "See big-picture.mmd for event flow"
Tables for entity attributes
Minimal prose, maximum visual clarityREQUIRED: Use TodoWrite to track phase progress.
Copy this checklist:
System Design Progress:
- [ ] Phase 1: Requirements (actors, constraints, goals identified)
- [ ] Phase 2: Big Picture (EventStorming timeline created)
- [ ] Phase 3: Processes (Critical processes detailed)
- [ ] Phase 4: Data & Flows (ERD, state charts, sequences created)
- [ ] Phase 5: Integration (Catalog assembled, next steps planned)Goal: Understand context before designing
Activities:
Questions to ask:
Output: Create docs/design-catalog/requirements.md
Validation: Present requirements summary, ask: "Does this capture the scope?"
Goal: Understand business process through events
Announce: "Let's explore the business process through EventStorming."
Activities:
EventStorming Color Conventions (Mermaid):
mermaidflowchart LR %% Style definitions classDef event fill:#ff9800,stroke:#e65100,color:#000 classDef command fill:#2196f3,stroke:#0d47a1,color:#fff classDef actor fill:#ffeb3b,stroke:#f57f17,color:#000 classDef system fill:#9c27b0,stroke:#4a148c,color:#fff classDef aggregate fill:#4caf50,stroke:#1b5e20,color:#fff classDef hotspot fill:#f44336,stroke:#b71c1c,color:#fff Actor[Customer]:::actor Cmd1[Place Order]:::command Evt1[Order Placed]:::event Agg1[Order]:::aggregate Sys1[Payment Gateway]:::system Hot1[? Refund policy unclear]:::hotspot Actor --> Cmd1 Cmd1 --> Evt1 Evt1 --> Agg1 Agg1 --> Sys1 Evt1 -.question.- Hot1
Output: Create docs/design-catalog/big-picture.mmd
Validation: Present diagram, ask: "Does this capture the high-level flow?"
Goal: Detail specific processes from big picture
Activities:
Criteria for "critical" processes:
Output: Create docs/design-catalog/processes/process-{name}.mmd (one per process)
Validation: Review each process diagram before moving to next
Goal: Model data, state, and interactions
4.1 Entity-Relationship Diagram
Output: docs/design-catalog/data/erd.mmd
4.2 State Charts
Output: docs/design-catalog/data/state-{entity}.mmd (one per entity)
4.3 Sequence Diagrams
Output: docs/design-catalog/flows/sequence-{flow}.mmd (one per flow)
Don't diagram everything - focus on what adds clarity.
Validation: Present all artifacts, ask: "Does this design feel complete?"
Goal: Assemble catalog and plan next actions
Activities:
CRITICAL: The README must include the FULL Mermaid diagram content inline, not just links. Copy the entire contents of each .mmd file into the README's mermaid code blocks. This enables preview without opening individual files.
Options:
Output: docs/design-catalog/README.md (with all diagrams embedded)
User can jump back to earlier phases when insights emerge.
Support non-linear progression:
Flexibility principle: Design is discovery - support iteration
See templates/ directory for:
big-picture-template.mmd - EventStorming timelineprocess-template.mmd - Process EventStormingerd-template.mmd - Entity-Relationshipstate-template.mmd - State chartsequence-template.mmd - Sequence diagramrequirements-template.md - Requirements structurecatalog-readme-template.md - Catalog README| Excuse | Reality | |--------|---------| | "Industry-standard assumptions are fine" | Ask questions to understand THIS project | | "ASCII diagrams are version control friendly" | Mermaid is required - renders AND version controls | | "Comprehensive documentation is better" | Token-efficient diagrams beat verbose prose | | "Traditional approach works" | EventStorming reveals events you'd miss otherwise | | "Production-ready blueprint needed" | Design phase stays conceptual, not implementation | | "All aspects should be covered" | Focus on design artifacts, defer implementation | | "Database schema helps developers" | Too early - stay at entity/relationship level | | "Technology choices are obvious" | Mark as hotspot or ask user, don't assume |
If you catch yourself doing ANY of these, you're violating the skill:
All of these mean: Stop, re-read the skill, start over correctly.
Design is successful when:
mermaidflowchart LR %% Styles classDef event fill:#ff9800,stroke:#e65100,color:#000 classDef command fill:#2196f3,stroke:#0d47a1,color:#fff classDef actor fill:#ffeb3b,stroke:#f57f17,color:#000 classDef system fill:#9c27b0,stroke:#4a148c,color:#fff classDef hotspot fill:#f44336,stroke:#b71c1c,color:#fff %% Actors Customer[Customer]:::actor Seller[Seller]:::actor %% Commands & Events Browse[Browse Products]:::command Add[Add to Cart]:::command Checkout[Checkout]:::command ProductViewed[Product Viewed]:::event ItemAdded[Item Added to Cart]:::event OrderPlaced[Order Placed]:::event PaymentProcessed[Payment Processed]:::event %% Systems PaymentGW[Payment Gateway]:::system %% Hotspots Hot1[? Refund policy unclear]:::hotspot Hot2[? Inventory sync timing?]:::hotspot %% Flow Customer --> Browse Browse --> ProductViewed Customer --> Add Add --> ItemAdded Customer --> Checkout Checkout --> OrderPlaced OrderPlaced --> PaymentProcessed PaymentProcessed --> PaymentGW OrderPlaced -.question.- Hot1 ItemAdded -.question.- Hot2
This is minimal - real design would be more detailed. But shows the pattern.
System design through EventStorming:
Result: Navigable design catalog that feeds into implementation planning.
| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-02 | fail→fail | 38,316 | 23,214 | -39% | 1 | 1 | 0% | 8,004 | 4,909 | -39% | 0 | 0 | — |
case-07 | fail→pass | 11,890 | 5,448 | -54% | 1 | 1 | 0% | 2,068 | 5,068 | +145% | 0 | 0 | — |
case-08 | fail→fail | 37,821 | 9,068 | -76% | 1 | 1 | 0% | 8,219 | 5,691 | -31% | 0 | 0 | — |
case-01 | fail→fail | 9,292 | 7,561 | -19% | 1 | 1 | 0% | 1,674 | 4,632 | +177% | 0 | 0 | — |
case-03 | fail→fail | 10,982 | 20,564 | +87% | 1 | 1 | 0% | 2,028 | 4,732 | +133% | 0 | 0 | — |
case-04 | fail→pass | 19,017 | 10,726 | -44% | 1 | 1 | 0% | 3,883 | 5,869 | +51% | 0 | 0 | — |
case-05 | fail→pass | 20,793 | 6,932 | -67% | 1 | 1 | 0% | 3,622 | 5,125 | +41% | 0 | 0 | — |
case-06 | pass→pass | 14,257 | 9,141 | -36% | 1 | 1 | 0% | 2,303 | 5,627 | +144% | 0 | 0 | — |
case-09 | pass→pass | 34,414 | 6,059 | -82% | 1 | 1 | 0% | 8,220 | 5,017 | -39% | 0 | 0 | — |
case-10 | fail→pass | 21,609 | 11,438 | -47% | 1 | 1 | 0% | 4,453 | 6,160 | +38% | 0 | 0 | — |
case-11 | fail→fail | 51,016 | 9,289 | -82% | 1 | 1 | 0% | 8,224 | 5,693 | -31% | 0 | 0 | — |
case-12 | fail→fail | 16,552 | 14,083 | -15% | 1 | 1 | 0% | 2,831 | 6,493 | +129% | 0 | 0 | — |
case-13 | pass→pass | 14,429 | 8,892 | -38% | 1 | 1 | 0% | 2,565 | 5,162 | +101% | 0 | 0 | — |
case-14 | fail→pass | 14,640 | 4,868 | -67% | 1 | 1 | 0% | 2,425 | 4,824 | +99% | 0 | 0 | — |
case-15 | pass→pass | 13,916 | 5,221 | -62% | 1 | 1 | 0% | 2,297 | 4,901 | +113% | 0 | 0 | — |
case-16 | fail→pass | 12,961 | 7,968 | -39% | 1 | 1 | 0% | 2,052 | 5,322 | +159% | 0 | 0 | — |
case-17 | pass→fail | 12,026 | 5,590 | -54% | 1 | 1 | 0% | 1,955 | 4,782 | +145% | 0 | 0 | — |
case-18 | pass→pass | 10,987 | 7,023 | -36% | 1 | 1 | 0% | 1,716 | 5,271 | +207% | 0 | 0 | — |
case-19 | fail→pass | 9,860 | 4,149 | -58% | 1 | 1 | 0% | 1,605 | 4,704 | +193% | 0 | 0 | — |
case-20 | fail→pass | 11,065 | 6,870 | -38% | 1 | 1 | 0% | 2,020 | 5,304 | +163% | 0 | 0 | — |
case-21 | fail→pass | 24,312 | 10,725 | -56% | 1 | 1 | 0% | 5,042 | 5,921 | +17% | 0 | 0 | — |
case-22 | fail→fail | 44,213 | 6,289 | -86% | 1 | 1 | 0% | 8,247 | 5,166 | -37% | 0 | 0 | — |
case-23 | fail→fail | 48,409 | 17,322 | -64% | 1 | 1 | 0% | 8,230 | 8,258 | +0% | 0 | 0 | — |
case-24 | fail→fail | 58,549 | 7,024 | -88% | 1 | 1 | 0% | 5,683 | 5,290 | -7% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 24 cases were attempted, and 23 counted toward the lift figure. The other 1 produced results that are not comparable between the two arms, so they are excluded from the headline rather than averaged into it. The headline lift of +33 percentage points is the difference between those two pass rates over the 23 comparable cases. 2 cases got worse with the skill loaded, and they are included in that figure.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
| Model | Method | Date | Lift |
|---|---|---|---|
| gemini-3.6-flash | verified | 8/22/2026 | +9% |
Other measured skills in the registry, with their headline benchmark lift.