设计 规则
- 作者仓库星标 43
- 作者仓库 claude-kit
Design Rules
Purpose
Guidelines for the /designer command to produce high-quality design specs that reduce plan-review iterations.
Instructions
Step 1: Load at /designer startup
Read this SKILL.md for overview. Supporting files loaded on-demand per phase.
Step 2: Use phase-driven loading
- Phase 3 (PROPOSE) → read Spec Quality for approach evaluation criteria
- Phase 4 (WRITE SPEC) → read Design Checklist for self-verification
- Phase 5 (USER GATE) → verify checklist before presenting to user
Spec Quality Criteria
| Criterion | Required | Check |
|---|---|---|
| Context describes current state | Yes | Not just "add X" but "currently Y exists, need X because Z" |
| Scope has IN and OUT | Yes | OUT items have explicit reasons |
| At least 2 approaches compared | Yes | With pros/cons for each |
| Selected approach has rationale | Yes | References constraints from requirements |
| Key decisions are numbered | Yes | Each has rationale and impact |
| Risks have severity and mitigation | Yes | HIGH risks must have concrete mitigation |
| Acceptance criteria are verifiable | Yes | Each can be checked as pass/fail |
Anti-Patterns
| Anti-Pattern | Why Bad | Fix |
|---|---|---|
| "The obvious approach is..." | Skips exploration, may miss better options | Always compare at least 2 |
| Spec without OUT scope | Scope creep during planning | Explicitly list what's excluded |
| Vague acceptance criteria ("works well") | Can't verify | Make criteria concrete and testable |
| No risks identified | Every design has risks | Identify at least 1 per approach |
| Copying task description as context | No analysis | Describe current state, not just goal |
Common Issues
Designer skips CLARIFY phase
Cause: Task seems clear. Fix: Even "clear" tasks benefit from scope IN/OUT confirmation. At minimum, confirm scope.
User rejects all approaches
Cause: Missing constraint not captured. Fix: Ask: "What constraint am I missing?" — don't generate more approaches without new information.
References
- Spec Quality — detailed quality criteria, approach evaluation matrix
- Design Checklist — phase-by-phase self-verification
- 流狐分类
- 设计与多媒体
- 作者声明 Agent
- 未找到明确声明;不据此推断已兼容或已测试
- 静态检查
- 88 / 100 · 启发式扫描,不代表运行安全
- 作者 / 版本 / 许可
- @hex0xdeadbeef · 未声明 license
- 流狐 Token 估算
- 低消耗
- 流狐接入估算
- 即装即用
- 是否需要外部 API Key
- 未发现要求
- 检测到的系统要求
- 未声明
- 底层运行要求
- 未声明
- 检测到的文件与系统行为
-
- 只读
- 允许写入 / 修改
- 检测到的网络行为
- 仅限本地
- 安装命令数
- 无(仅作为资料)
档案由构建时根据 SKILL.md 与安装命令自动衍生,可能与作者实际意图存在差异。
需要注意: 未限定 allowed-tools,默认拥有全部工具权限。
作者没有在当前 SKILL.md 中定义固定输出样例。 Read this SKILL.md for overview. Supporting files loaded on-demand per phase.
Phase 3 (PROPOSE) → read Spec Quality for approach evaluation criteria Phase 4 (WRITE SPEC) → read Design Checklist for self-verification Phase 5 (USER GATE) → verify checklist before presenting to user
Cause: Task seems clear. Fix: Even "clear" tasks benefit from scope IN/OUT confirmation. At minimum, confirm scope.
# Design Rules
## Purpose
Guidelines for the /designer command to produce high-quality design specs that reduce plan-review iterations.
## Instructions
### Step 1: Load at /designer startup
Read this SKILL.md for overview. Supporting files loaded on-demand per phase.
### Step 2: Use phase-driven loading
- Phase 3 (PROPOSE) → read [Spec Quality](spec-quality.md) for approach evaluation criteria
- Phase 4 (WRITE SPEC) → read [Design Checklist](design-checklist.md) for self-verification
- Phase 5 (USER GATE) → verify checklist before presenting to user
## Spec Quality Criteria
| Criterion | Required | Check |
|-----------|----------|-------|
| Context describes current state | Yes | Not just "add X" but "currently Y exists, need X because Z" |
| Scope has IN and OUT | Yes | OUT items have explicit reasons |
| At least 2 approaches compared | Yes | With pros/cons for each |
| Selected approach has rationale | Yes | References constraints from requirements |
| Key decisions are numbered | Yes | Each has rationale and impact |
| Risks have severity and mitigation | Yes | HIGH risks must have concrete mitigation |
| Acceptance criteria are verifiable | Yes | Each can be checked as pass/fail |
## Anti-Patterns
| Anti-Pattern | Why Bad | Fix |
|---|---|---|
| "The obvious approach is..." | Skips exploration, may miss better options | Always compare at least 2 |
| Spec without OUT scope | Scope creep during planning | Explicitly list what's excluded |
| Vague acceptance criteria ("works well") | Can't verify | Make criteria concrete and testable |
| No risks identified | Every design has risks | Identify at least 1 per approach |
| Copying task description as context | No analysis | Describe current state, not just goal |
## Common Issues
… 作者原文负责流程事实;流狐只索引当前章节、要点、文件与命令。
章节 -> Purpose → Instructions → Step 1: Load at /designer startup → Step 2: Use phase-driven loading → Spec Quality Criteria → Anti-Patterns
要点 -> Cause · Fix
文件/命令 -> spec-quality.md · design-checklist.md · pros/cons · pass/fail · IN/OUT
内容 SHA-256 -> 4f9c48bce1ee
方法与流程
适用与边界
原文中的明确线索
spec-quality.md、design-checklist.md、pros/cons、pass/fail、IN/OUT