Validate WCAG 2.1 Level AA compliance and accessibility best practices. Use when performing accessibility audits and WCAG certification.
中文简介正在准备中。当前显示原文说明。
Design component architecture, REST API contracts, and data models (Pydantic schemas) before implementation. Use when planning how to build a feature, defining endpoints, or modeling data. Trigger on "design the architecture", "design the API", "data model", "how should I structure this feature".
中文简介正在准备中。当前显示原文说明。
查看安装方法安装前可以查看交给 AI 代理的指令内容。
Unified design guidance for feature implementation. Auto-detects context from project files or accepts explicit mode.
/design # Auto-detect from project, show summary
/design architecture # Component architecture, SOLID, patterns
/design api # REST API design, auth, rate limiting
/design data # Pydantic schemas, validators, relationships
/design full # All three in sequence (architecture → data → API)
Parse $ARGUMENTS for explicit mode. If no arguments provided, detect context:
DETECTED=$(bash "$HOME/.claude/skills/design/lib/design-detector.sh")
Map detection results to recommended mode:
pydantic,fastapi → suggest api + datapydantic only → suggest datafastapi or flask or django → suggest apiarchitectureBased on detected or explicit mode, use progressive disclosure:
Level 1 — Summary (default, ~15 lines): Read and present the summary template for the chosen domain:
templates/architecture/summary.mdtemplates/api/summary.mdtemplates/data/summary.mdLevel 2 — Patterns (on request for more detail, ~50 lines): Read the patterns template with decision guidance and examples:
templates/architecture/patterns.mdtemplates/api/patterns.mdtemplates/data/patterns.mdLevel 3 — Full Reference (on request for complete SOP): Read the deep reference documents on demand:
reference/architecture-patterns.md + reference/component-design-guide.mdreference/api-design-guide.md + reference/function-design-patterns.mdreference/data-model-guide.md + reference/pydantic-patterns.mdIf context suggests multiple domains (e.g., new feature with API + data):
/design full for the complete sequenceIf detection returns "unknown" and no explicit mode:
/design full SequenceWhen running the full design workflow:
Output uses templates/architecture-doc.md as the final document template.
Write documents to docs/architecture/ in the project root:
| Subcommand | Output Path |
|---|---|
/design architecture | docs/architecture/architecture-{feature}.md |
/design api | docs/architecture/api-{feature}.md |
/design data | docs/architecture/data-{feature}.md |
/design full | docs/architecture/{feature}.md (combined) |
Use templates/architecture-doc.md as the document template with sections:
Create docs/architecture/ if it doesn't exist.
Invoked by: User directly (/design), /story prp workflow (design phase)
Invokes: Nothing directly — produces architecture docs consumed by prp-generator
Connected skills:
/story create → requirements → /design → architecture doc → /story prp → PRP/implementation consumes design output还没有评价。欢迎分享你的使用感受。
无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。
还没有评论。来写第一条吧。
Validate WCAG 2.1 Level AA compliance and accessibility best practices. Use when performing accessibility audits and WCAG certification.
中文简介正在准备中。当前显示原文说明。
Analyze feature requirements, dependencies, and security considerations. Use when starting feature implementation from GitHub issues to understand scope, technical feasibility, and risks.
中文简介正在准备中。当前显示原文说明。
Run SQL queries against psql, BigQuery, or MySQL from the terminal, including natural-language-to-SQL and schema exploration. Use when analyzing data, inspecting DB state, or debugging tables. Trigger on "query the database", "SQL", "show me data from", "explore table".
中文简介正在准备中。当前显示原文说明。
Design REST APIs or function contracts with clear request/response specifications, error handling patterns, authentication strategies, and comprehensive documentation.
中文简介正在准备中。当前显示原文说明。
Generate comprehensive API endpoint tests for REST and GraphQL APIs. Creates tests for all HTTP methods, status codes, authentication, and validation.
中文简介正在准备中。当前显示原文说明。
Design component architecture and module structure using established architectural patterns for clean, maintainable, and scalable systems.
中文简介正在准备中。当前显示原文说明。