用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/Dev-Toolbelt/dev-team-agents --skill adr命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | adr |
| description | Architecture Decision Records — MADR format. |
ADRs document significant architectural decisions — the context, what was decided, why, and what was considered and rejected.
docs/development/adrs/
adr-001-database-choice.md
adr-002-api-design-approach.md
adr-003-authentication-strategy.md
# [Short title of the decision]
**Status**: [Proposed | Accepted | Deprecated | Superseded by ADR-XXX]
**Date**: YYYY-MM-DD
**Deciders**: [names or roles involved]
## Context
[Describe the issue motivating this decision, including forces at play: technical, political, social, project constraints. Be factual — no judgment yet.]
## Decision
[State the decision in active voice: "We will use X because..."]
## Rationale
[Explain why this option was chosen over the alternatives. Link to evidence, benchmarks, or constraints that drove the decision.]
## Alternatives Considered
### Option A — [Name]
- **Pros**: ...
- **Cons**: ...
- **Why rejected**: ...
### Option B — [Name]
- **Pros**: ...
- **Cons**: ...
- **Why rejected**: ...
## Consequences
**Positive**: [What becomes easier or possible]
**Negative**: [What becomes harder, what debt is accepted]
**Risks**: [What could go wrong, and how to mitigate]
Before running the script, read the # heading of every file in docs/development/adrs/ (grep -h '^# ' docs/development/adrs/adr-*.md) and check whether the decision is already covered:
Proposed, or genuinely still open) → edit that file, do not create a new one.Accepted, and this is a reversal → create a new ADR, then set the old one's status to Superseded by ADR-XXX and link forward.## Context.This check applies regardless of which command or agent triggers ADR creation (/devteam:adr, /devteam:learn, software-architect acting on the CLAUDE.md trigger) — each is a separate entry point into the same registry, and none of them can see what another already wrote without this step.
Use the script to auto-number and scaffold the file — it also prints existing ADR titles as a mechanical reminder of the check above:
bash .dev-team-agents/scripts/new-adr.sh "title of the decision"
This creates docs/development/adrs/adr-NNN-title.md with the MADR template pre-filled. Fill in the generated file and change the status from Proposed to Accepted.
Write an ADR when the decision:
Skip ADRs for: library versions, code style rules, trivial configuration.
Proposed → Accepted → (if superseded) Deprecated / Superseded by ADR-XXX
When superseding an ADR, update the old one's status and link to the new one.
CLAUDE.md or development/architecture.md so they're discoverable