一键导入
adr-template
Template for Architecture Decision Records (ADR). Used by Design Architect during /design phase. Always one file per decision in adr/ directory.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Template for Architecture Decision Records (ADR). Used by Design Architect during /design phase. Always one file per decision in adr/ directory.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Test design techniques reference — Equivalence Partitioning (EP), Boundary Value Analysis (BVA), Decision Table Testing, State Transition Testing, Pairwise Testing, Error Guessing, Checklist-based Testing. Used by QA Engineer agent to generate structured, coverage-driven checklists from feature descriptions.
PM frameworks for task refinement — story formats (User Story, Job Story, WWA), INVEST criteria, T-shirt sizing, clarifying question patterns, risk flags. Used by Task Refiner agent during /refine.
Write API documentation compatible with Stoplight platform. Use when the user asks to "write API docs", "create Stoplight documentation", "document API endpoints", "write OpenAPI description", mentions "Stoplight", "SMD", "Stoplight Flavored Markdown", or needs API reference docs, guides, tutorials, or articles for a Stoplight-hosted documentation project.
Template for API contract documentation — REST endpoints and async message contracts. Used by Design Architect during /design phase.
Template for architecture design artifacts — diagrams.md and architecture.md. Used by Design Architect agent during /design phase.
OWASP Top 10 (2021) vulnerability reference with code patterns per tech profile. Used by Security Reviewer during /implement and /design phases. Supplemented with API Security Top 10 (2023) and modern threats.
| name | adr-template |
| description | Template for Architecture Decision Records (ADR). Used by Design Architect during /design phase. Always one file per decision in adr/ directory. |
| version | 1.0.0 |
Defines the format for Architecture Decision Records. Always stored in adr/ directory — one file per decision: adr/001-{slug}.md, adr/002-{slug}.md, etc.
/design phase.workflows/{feature-id}/design/adr/
├── 001-{decision-slug}.md
├── 002-{decision-slug}.md
└── ...
Always one file per decision, regardless of how many decisions there are. Slug is kebab-case of the decision title.
adr/001-{slug}.md# ADR-001: {Decision Title}
## Status
Proposed
## Context
{Facts from Research Report. What we know, not what we assume.}
## Decision
{What was decided and WHY}
## Alternatives Considered
### Alternative A: {name}
**Description:** {brief}
- **Pros:** {advantages}
- **Cons:** {disadvantages}
### Alternative B: {name}
**Description:** {brief}
- **Pros:** {advantages}
- **Cons:** {disadvantages}
### Why Not {Alternative}
{Why the chosen option is better in THIS context}
## Risks
| Risk | Probability | Impact | Mitigation |
|------|-------------|--------|------------|
| {risk} | low/medium/high | low/medium/high | {concrete mitigation} |
## Consequences
### Positive
- {consequence}
### Negative
- {consequence}
### Neutral
- {consequence}
| Pattern | Problem | Fix |
|---|---|---|
| Strawman alternatives | Alternative has 0 pros, only cons | Every alternative must have real advantages in some context |
| Missing "Why Not" | Reader doesn't understand the reasoning | Explain why chosen option beats each alternative |
| Vague risks | "Something might go wrong" | Name specific failure mode with probability basis |
| Outcome-only | "We decided X" without reasoning | The WHY matters more than the WHAT |
| Kitchen sink | 10 alternatives for a simple decision | 2-3 serious alternatives is enough |