Token导航 LogoToken导航

Agent Skill · 开发

system-design(系统设计)

用于辅助界面设计、视觉规范、排版、配色、布局和交互体验优化。它适合让 Agent 根据产品场景整理页面结构、生成 UI 方案、检查视觉一致性或改进组件层级。使用时需要结合现有品牌、设计系统和用户任务,不应只堆装饰元素;涉及真实页面改动时,应通过截图或浏览器预览检查文本溢出、对齐和响应式表现。

system-design 是开发类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证信息还不明确,第三方扫描有未通过项,按安装量在开发类的 21,746 个 Skill 里排第 14,913。

总安装 649周安装 26GitHub Stars 11下载 210核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:system-design(系统设计)
来源仓库:https://github.com/dwsy/agent
仓库路径:skills/system-design
安装命令:
npx skills add https://github.com/dwsy/agent --skill system-design
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/dwsy/agent --skill system-design

这个 Skill 是做什么的

开发类 Skill 面向写代码、改代码和排查问题,一般会读写仓库文件,部分还会执行构建或测试命令。

通过EventStorming进行系统设计: 提出问题(无假设) 使用 Mermaid(无 ASCII) 遵循EventStorming(事件驱动思维) 创建目录结构(标准化) 停留在设计层面(没有实施) 保持符号效率(图表优于散文) 使用 TodoWrite 进行跟踪(阶段规则) 结果:可导航的设计目录可纳入实施规划。

每周安装量 26 存储库 dwsy/代理 GitHub 之星 11 第一次看到 2天前 安全审计 Gen 代理信任中心失败 套接字通行证 斯尼克通行证

来源仓库内路径:skills/system-design

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/dwsy/agent --skill system-design;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

system-design 怎么安装?

在终端执行 npx skills add https://github.com/dwsy/agent --skill system-design。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

system-design 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

system-design 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

system-design 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

system-design 用的人多吗?

公开数据是累计安装 649 次,近一周安装 26 次,下载 210 次,GitHub 11 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

system-design 安全吗?

第三方扫描有未通过项,风险较高。除非你确认过源码,否则不建议直接安装到常用环境。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理开发类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

开发类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
skill-vetter

技能审查员 · OpenClaw

8,779,018986操作浏览器MIT-0通过
ontology

本体论 · OpenClaw

6,636,960576只读MIT-0通过
entra-app-registration

内部应用程序注册 · Codex、Claude

6,631,872764接触敏感数据未明确通过
entra-app-registration

内部应用程序注册 · Codex、Claude

3,757,680201接触敏感数据未明确通过
nano-banana-pro

纳米香蕉专业版 · OpenClaw

3,526,898364接触敏感数据MIT-0有提醒
system-design

系统设计 · 本页

64911需要联网未明确未通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

执行环境

路径类型说明
使用方式此技能提供模板和指导,无需本地脚本执行
调用场景当用户需要系统设计、架构文档、技术选型时自动激活
输出位置docs/design-catalog/ 目录(相对于项目根目录)

路径说明

  • 无本地脚本依赖:此技能生成文档模板,不涉及本地脚本执行
  • 生成的目录:保存在执行命令时的当前目录下的 docs/design-catalog/
  • 项目上下文:基于当前工作目录确定项目根目录

System Design Through EventStorming

Overview

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."

When to Use

Use when:

  • User wants to design a new system
  • Requirements exist but design doesn't
  • Need structured thinking before implementation
  • Team needs shared visual artifacts

Don't use when:

  • Adding features to existing system (consider brainstorming instead)
  • Implementation already started
  • User wants code, not design

Quick Reference

PhaseKey ActivitiesOutput Files
1. RequirementsAsk questions, identify actors/constraintsrequirements.md
2. Big PictureEventStorming timeline with events/commandsbig-picture.mmd
3. ProcessesZoom into critical processes, add aggregatesprocess-{name}.mmd
4. Data & FlowsERD, state charts, sequenceserd.mmd, state-{entity}.mmd, sequence-{flow}.mmd
5. IntegrationGenerate catalog READMEREADME.md

The Iron Laws

Law 1: ASK QUESTIONS - No Assumptions

NEVER make "industry-standard assumptions" without asking the user first.

  • Ask about actors, constraints, scale, budget, timeline
  • Use AskUserQuestion tool for architectural choices
  • Mark unclear areas as hotspots instead of assuming

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)

Law 2: MERMAID ONLY - No ASCII Diagrams

All diagrams MUST use Mermaid format. NO exceptions.

  • No ASCII art
  • No text-based diagrams
  • No "version control friendly" excuses for avoiding Mermaid

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 charts

Law 3: EVENTSTORMING - Event-Driven Thinking

Use EventStorming methodology for Phases 2-3. Required.

  • Identify domain events (what happens in the system)
  • Add commands (what triggers events)
  • Add actors (who initiates)
  • Add systems (external integrations)
  • Mark hotspots (unclear/risky areas)

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)

Law 4: CATALOG STRUCTURE - Standardized Organization

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}.mmd

No random file names. No mixed concerns.

Law 5: DESIGN NOT IMPLEMENTATION

Stay at design abstraction. NO implementation details in design phase.

Forbidden in design artifacts:

  • Database schemas (SQL, migrations)
  • Deployment guides (Docker, Kubernetes)
  • CI/CD pipelines
  • Specific technology choices (unless user specified)
  • Implementation timelines (16-week plans)
  • Team structure recommendations
  • Code examples (API endpoints, controllers, services, functions)
  • Configuration files (YAML, JSON, ENV)

Allowed:

  • Entity relationships (conceptual)
  • State transitions (conceptual)
  • Event flows (conceptual)
  • Integration points (generic)
  • Hotspots for technical decisions

Law 6: TOKEN EFFICIENCY - Diagrams Over Prose

Prefer Mermaid diagrams over lengthy text descriptions.

Token targets by project complexity:

  • Simple (single service, 5-10 entities): < 10K tokens
  • Medium (2-3 services, 10-20 entities): < 20K tokens
  • Complex (multiple services, 20+ entities): < 35K tokens

If exceeding targets, check:

  • Are you writing prose that diagrams could show?
  • Are you repeating information across files?
  • Are you including implementation details?

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 clarity

The 5 Phases

REQUIRED: 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)

Phase 1: Requirements Understanding

Goal: Understand context before designing

Activities:

  1. Ask questions ONE at a time (following brainstorming pattern)
  2. Use AskUserQuestion for architectural choices with trade-offs
  3. Identify: business goals, constraints, key actors, success criteria

Questions to ask:

  • "What problem does this system solve?"
  • "Who are the primary users/actors?"
  • "What are the critical constraints?" (performance, scale, budget, timeline)
  • "How do you define success?"
  • "What systems need to integrate?"

Output: Create docs/design-catalog/requirements.md

Validation: Present requirements summary, ask: "Does this capture the scope?"

Phase 2: EventStorming Big Picture

Goal: Understand business process through events

Announce: "Let's explore the business process through EventStorming."

Activities:

  1. Ask: "What are the key business events that happen in this system?"
  2. Build timeline collaboratively (add events as user describes)
  3. Ask: "Who triggers each event? What commands cause them?"
  4. Add actors and commands
  5. Ask: "Are there external systems involved?"
  6. Add external systems
  7. Mark hotspots for unclear areas (DON'T assume, MARK AS HOTSPOT)

EventStorming Color Conventions (Mermaid):

flowchart 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?"

Phase 3: Process EventStorming

Goal: Detail specific processes from big picture

Activities:

  1. Identify 2-4 critical processes to detail (not more)
  2. For each process:

- Ask: "Let's detail the {process name} process" - Ask: "What aggregates (data entities) are involved?" - Ask: "What state changes happen at each event?" - Build detailed process diagram with color coding

Criteria for "critical" processes:

  • Touches multiple aggregates
  • Has complex business rules
  • High business value or risk
  • User specifically mentioned as important

Output: Create docs/design-catalog/processes/process-{name}.mmd (one per process)

Validation: Review each process diagram before moving to next

Phase 4: System Design Artifacts

Goal: Model data, state, and interactions

4.1 Entity-Relationship Diagram

  • Extract entities from process diagrams
  • Ask: "What are the relationships between these entities?"
  • Define attributes (but NOT database schema)
  • Use Mermaid ER diagram syntax

Output: docs/design-catalog/data/erd.mmd

4.2 State Charts

  • Identify entities with complex lifecycles
  • Ask: "Which entities have important state transitions?"
  • Map states, transitions, triggers
  • Annotate data changes per transition
  • Use Mermaid stateDiagram-v2
  • Limit: 2-4 entities max (only entities with complex lifecycles)

Output: docs/design-catalog/data/state-{entity}.mmd (one per entity)

4.3 Sequence Diagrams

  • Ask: "Which flows need detailed interaction modeling?"
  • Select critical/complex flows
  • Map actor/system interactions
  • Show success AND error paths
  • Use Mermaid sequenceDiagram
  • Limit: 2-4 flows max (only critical/complex flows)

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?"

Phase 5: Integration & Next Steps

Goal: Assemble catalog and plan next actions

Activities:

  1. Generate catalog README with:

- Project overview - Links to all artifacts - EMBED ALL DIAGRAMS (copy full Mermaid content from each.mmd file) - Navigation to processes, states, flows - All diagrams must be visible in README for easy preview

  1. Present complete design catalog
  2. Ask: "Ready to proceed with implementation planning?"

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:

  • Standalone design: Stop here, design complete
  • Implementation planning: Use writing-plans skill
  • Pumped-design mapping: (If backend + pumped-fn) Map to pumped-fn catalog

Output: docs/design-catalog/README.md (with all diagrams embedded)

Iterative Refinement

User can jump back to earlier phases when insights emerge.

Support non-linear progression:

  • "Let's refine requirements" → Return to Phase 1, update downstream
  • "Big picture is missing X" → Return to Phase 2, revise
  • "Process needs more detail" → Return to Phase 3, expand
  • "Data model has issues" → Return to Phase 4, adjust

Flexibility principle: Design is discovery - support iteration

Mermaid Templates

See templates/ directory for:

  • big-picture-template.mmd - EventStorming timeline
  • process-template.mmd - Process EventStorming
  • erd-template.mmd - Entity-Relationship
  • state-template.mmd - State chart
  • sequence-template.mmd - Sequence diagram
  • requirements-template.md - Requirements structure
  • catalog-readme-template.md - Catalog README

Common Rationalizations (DON'T DO THESE)

ExcuseReality
"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

Red Flags - STOP and Self-Check

If you catch yourself doing ANY of these, you're violating the skill:

  • Making assumptions without asking
  • Creating ASCII diagrams
  • Skipping EventStorming
  • Writing SQL schemas
  • Creating deployment guides
  • Making technology choices without user input
  • Using > 35,000 tokens for complex design (see Law 6 targets)
  • Not using TodoWrite for phases
  • Creating README with only links to diagrams (must embed full content)

All of these mean: Stop, re-read the skill, start over correctly.

Integration with Other Skills

Brainstorming

  • Phase 1 (Requirements) borrows question patterns
  • Use AskUserQuestion tool similarly
  • One question at a time

Writing-Plans

  • Optional handoff after Phase 5
  • Design catalog provides context for implementation tasks

Pumped-Design

  • Optional mapping for backend systems
  • Translate catalog to pumped-fn structure
  • ERD → resources, Processes → flows

Success Criteria

Design is successful when:

  • User engaged through questions (not assumptions)
  • All diagrams in Mermaid format
  • EventStorming methodology followed
  • Catalog structure created correctly
  • Token usage efficient (< 15K for typical project)
  • Hotspots marked instead of assumed
  • Stayed at design level (no SQL, deployment, etc.)
  • Phases tracked with TodoWrite

Example: Minimal E-commerce Big Picture

flowchart 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.

Summary

System design through EventStorming:

  1. Ask questions (no assumptions)
  2. Use Mermaid (no ASCII)
  3. Follow EventStorming (event-driven thinking)
  4. Create catalog structure (standardized)
  5. Stay at design level (no implementation)
  6. Be token-efficient (diagrams over prose)
  7. Track with TodoWrite (phase discipline)

Result: Navigable design catalog that feeds into implementation planning.

平台分布

Codex

36.82%
按下载量换算77

Claude

30.72%
按下载量换算65

Cursor

20.49%
按下载量换算43

Gemini CLI

9.45%
按下载量换算20

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills