Capture architectural decisions made during Claude Code sessions as structured ADRs. Auto-detects decision moments, records context, alternatives considered, and rationale. Maintains an ADR log so future developers understand why the codebase is shaped the way it is.
复制安装指令,让 AI 自动完成配置 · 推荐新手
请帮我安装 askskill 上的 "architecture-decision-records" 技能: 1. 下载 https://raw.githubusercontent.com/affaan-m/ECC/main/skills/architecture-decision-records/SKILL.md 2. 保存为 ~/.claude/skills/architecture-decision-records/SKILL.md 3. 装好后重载技能,告诉我可以用了
Capture architectural decisions as they happen during coding sessions. Instead of decisions living only in Slack threads, PR comments, or someone's memory, this skill produces structured ADR documents that live alongside the code.
Use the lightweight ADR format proposed by Michael Nygard, adapted for AI-assisted development:
# ADR-NNNN: [Decision Title]
**Date**: YYYY-MM-DD
**Status**: proposed | accepted | deprecated | superseded by ADR-NNNN
**Deciders**: [who was involved]
## Context
What is the issue that we're seeing that is motivating this decision or change?
[2-5 sentences describing the situation, constraints, and forces at play]
## Decision
What is the change that we're proposing and/or doing?
[1-3 sentences stating the decision clearly]
## Alternatives Considered
### Alternative 1: [Name]
- **Pros**: [benefits]
- **Cons**: [drawbacks]
- **Why not**: [specific reason this was rejected]
### Alternative 2: [Name]
- **Pros**: [benefits]
- **Cons**: [drawbacks]
- **Why not**: [specific reason this was rejected]
## Consequences
What becomes easier or more difficult to do because of this change?
### Positive
- [benefit 1]
- [benefit 2]
### Negative
- [trade-off 1]
- [trade-off 2]
### Risks
- [risk and mitigation]
When a decision moment is detected:
docs/adr/ does not exist, ask the user for confirmation before creating the directory, a README.md seeded with the index table header (see ADR Index Format below), and a blank template.md for manual use. Do not create files without explicit consent.docs/adr/ and incrementdocs/adr/NNNN-decision-title.md after explicit approval. If the user declines, discard the draft without writing any files.docs/adr/README.mdWhen a user asks "why did we choose X?":
docs/adr/ exists — if not, respond: "No ADRs found in this project. Would you like to start recording architectural decisions?"docs/adr/README.md index for relevant entriesdocs/
└── adr/
├── README.md ← index of all ADRs
├── 0001-use-nextjs.md
├── 0002-postgres-over-mongo.md
├── 0003-rest-over-graphql.md
└── template.md ← blank template for manual use
# Architecture Decision Records
| ADR | Title | Status | Date |
|-----|-------|--------|------|
| [0001](0001-use-nextjs.md) | Use Next.js as frontend framework | accepted | 2026-01-15 |
| [0002](0002-postgres-over-mongo.md) | PostgreSQL over MongoDB for primary datastore | accepted | 2026-01-20 |
| [0003](0003-rest-over-graphql.md) | REST API over GraphQL | accepted | 2026-02-01 |
…
用于审计 Claude 技能与命令质量,支持快速扫描和全量盘点评估。
帮助开发者与设计师实现 iOS 液态玻璃动态界面与交互效果。
自动录制专业感网页应用界面演示视频,适合讲解、教程与产品展示
帮助零售团队进行需求预测、库存优化与多门店补货规划决策。
统一管理多渠道通知流,完成路由去重、升级处理与收件箱收敛。
帮助你审计、规划并落实技术与内容层面的 SEO 优化,提升搜索可见性。