dev-design

GitHub

用于在开发生命周期中执行设计评审阶段。通过对比需求与设计文档,检查架构完整性、技术选型及非功能性需求,识别并解决设计缺陷与权衡问题,确保设计方案符合业务目标。

skills/dev-design/SKILL.md codeaholicguy/ai-devkit

触发场景

用户希望验证系统架构设计 需要审查设计文档以发现潜在风险 解决设计过程中的技术权衡决策 执行开发流程中的设计评审环节

安装

npx skills add codeaholicguy/ai-devkit --skill dev-design -g -y
更多选项

不安装直接使用

npx skills use codeaholicguy/ai-devkit@dev-design

指定 Agent (Claude Code)

npx skills add codeaholicguy/ai-devkit --skill dev-design -a claude-code -g -y

安装 repo 全部 skill

npx skills add codeaholicguy/ai-devkit --all -g -y

预览 repo 内 skill

npx skills add codeaholicguy/ai-devkit --list

SKILL.md

Frontmatter
{
    "name": "dev-design",
    "description": "AI DevKit · Design phase guidance for reviewing feature design against requirements. Use when the user wants to validate architecture, review design docs, resolve design trade-offs, or run dev-lifecycle phase 3."
}

Dev Design

Run the design review phase for configured AI docs features. Before changing docs or code, propose the concrete plan for this phase and wait for user approval unless the user already approved the exact phase plan.

Phase Contract

  1. Run npx ai-devkit@latest lint before phase work.
  2. If working on a named feature, run npx ai-devkit@latest lint --feature <name>.
  3. Read existing requirements and design docs before changes.
  4. Ask until every material architecture, scope, validation, rollout, contradiction, trade-off, or open question is answered, explicitly deferred, or accepted as a named assumption.
  5. Ask one decision at a time, with why it matters, 2-3 viable options when useful, and a recommended answer.
  6. Do not approve or transition past design while material open questions remain.
  7. Use mermaid diagrams for architecture visuals where a diagram clarifies the design.
  8. If parent dev-lifecycle established usable task tracing, emit design phase, progress, blocker/open-question, and next-step events per task.

Review Design

Use for Phase 3.

  1. Run npx ai-devkit@latest lint --feature <name> and review the design doc path it validates. If manual path resolution is unavoidable, first resolve .ai-devkit.json paths.docs, falling back to docs/ai.
  2. Search memory for relevant architecture patterns or past decisions.
  3. Cross-check against the latest matching requirements doc. Verify every goal, user story, and constraint has corresponding design coverage. Flag uncovered requirements.
  4. Review completeness: architecture, components, technology choices, data models, API contracts, design trade-offs, and non-functional requirements.
  5. Resolve every gap, misalignment, open question, hidden assumption, or unresolved trade-off between requirements and design.
  6. Brainstorm alternatives for key architecture decisions and trade-offs before accepting the first approach.
  7. Update the design doc with clarified decisions and chosen options.
  8. Store reusable architecture decisions in memory.
  9. If task tracing is available, record design coverage progress, next step, or blockers per task.
  10. Summarize requirements coverage, completeness assessment, updates made, and remaining gaps.

Next: dev-implementation. If requirements gaps are found, return to dev-requirements. If design is fundamentally wrong, revise design and re-review.

版本历史

  • d4caf56 当前 2026-07-05 15:22

同 Skill 集合

skills/agent-communication/SKILL.md
skills/agent-management/SKILL.md
skills/agent-orchestration/SKILL.md
skills/brainstorm/SKILL.md
skills/changelog/SKILL.md
skills/dev-commit/SKILL.md
skills/dev-implementation/SKILL.md
skills/dev-lifecycle/SKILL.md
skills/dev-planning/SKILL.md
skills/dev-pr/SKILL.md
skills/dev-requirements/SKILL.md
skills/dev-review/SKILL.md
skills/dev-testing/SKILL.md
skills/dev-worktree/SKILL.md
skills/document-code/SKILL.md
skills/memory/SKILL.md
skills/security-review/SKILL.md
skills/simplify-implementation/SKILL.md
skills/structured-debug/SKILL.md
skills/task/SKILL.md
skills/tdd/SKILL.md
skills/technical-writer/SKILL.md
skills/verify/SKILL.md

元信息

文件数
0
版本
3811937
Hash
c47a7cee
收录时间
2026-07-05 15:22

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-05 07:29
浙ICP备14020137号-1 $访客地图$