adr-template
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "adr-template" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-51db5249493e3c8f57673412e67941a88516ecfdb241b14e4017bea1e44de66e. Verify the upstream source and version against https://github.com/dykyi-roman/awesome-claude-code before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
github.com
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Generate Architecture Decision Records (ADRs) for PHP projects. Produce structured decision documents that include context, the decision, and consequences to record why an architectural choice was made and its impact.
Introduction source: third_party · dykyi-roman · 1 Reference
SkillPi interpretation
- Tasks
- Use when recording significant architectural or design decisions that affect the system. Covers decision framing, context documentation, options analysis with tradeoff evaluation, consequence mapping, and review trigger definition. Do not use for documentation strategy planning (use documentation-plan) or release changelog creation (use changelog-design).
- Inputs and outputs
- The architectural question or decision being made Current system context and constraints Stakeholder concerns and priorities Related previous decisions (existing ADRs)
- Limits and differences
- Reads existing ADRs, system context, and stakeholder input to produce a structured decision record. Does not implement the chosen option or modify system architecture.
- Testing
- Not tested
Browse files
Frontmatter
name: adr-template
department: "chronicler"
description: "Use when recording significant architectural or design decisions that affect the system. Covers decision framing, context documentation, options analysis with tradeoff evaluation, consequence mapping, and review trigger definition. Do not use for documentation strategy planning (use documentation-plan) or release changelog creation (use changelog-design)."
version: 1
triggers:
- "ADR"
- "decision"
- "architecture decision"
- "rationale"
- "decision record"
- "design decision"
- "tradeoff"ADR Template
Purpose
Create Architecture Decision Records that capture the context, options considered, decision rationale, and consequences of significant technical choices. Produces structured ADR documents that serve as the institutional memory of the project.
Scope Constraints
Reads existing ADRs, system context, and stakeholder input to produce a structured decision record. Does not implement the chosen option or modify system architecture.
Inputs
- The architectural question or decision being made
- Current system context and constraints
- Stakeholder concerns and priorities
- Related previous decisions (existing ADRs)
Input Sanitization
No user-provided values are used in commands or file paths. All inputs are treated as read-only analysis targets.
Procedure
Progress Checklist
- [ ] Step 1: Identify the decision to record
- [ ] Step 2: Describe context
- [ ] Step 3: Enumerate options considered
- [ ] Step 4: Evaluate each option
- [ ] Step 5: Document the decision
- [ ] Step 6: Specify consequences
- [ ] Step 7: Define review triggers
Step 1: Identify the Decision to Record
Clearly frame the architectural question:
- What specific question was (or needs to be) resolved?
- Why is this decision significant enough to record? (Costly to change, cross-cutting impact, team disagreement)
- What is the scope of this decision? (Single service, full system, team process)
- Assign a sequential ADR number and descriptive title
Step 2: Describe Context
Document the forces at play:
- What is the current state of the system relevant to this decision?
- What constraints exist? (Technical: language, framework, infrastructure. Business: timeline, budget, team size)
- What requirements drive this decision? (Functional, non-functional, compliance)
- What assumptions are being made?
- Reference related ADRs that provide context or are affected by this decision
Step 3: Enumerate Options Considered
List at least 2-3 alternatives, including "do nothing":
- Option A: [Name] — Brief description of the approach
- Option B: [Name] — Brief description of the approach
- Option C: Do nothing / Status quo — What happens if no change is made
- For each option, provide enough detail for a reader to understand the approach without external context
Step 4: Evaluate Each Option
Analyze tradeoffs systematically:
- Pros: What does this option do well? Alignment with principles, simplicity, performance
- Cons: What are the downsides? Complexity, risk, learning curve, migration effort
- Risks: What could go wrong? Scaling issues, vendor lock-in, maintenance burden
- Effort: Rough implementation effort (T-shirt size: S/M/L/XL)
- Alignment: How well does this option align with architectural principles and team capabilities?
Step 5: Document the Decision
State the chosen option and core rationale:
- Which option was selected?
- What was the primary reason for choosing it? (Not "it's the best" — the specific tradeoff that tipped the balance)
- Was this decision unanimous or contentious? Note dissenting opinions if applicable
- What conditions would make this the wrong decision? (Helps future readers know when to revisit)
Step 6: Specify Consequences
Detail what follows from this decision:
- What becomes easier: Capabilities enabled, patterns simplified, workflows improved
- What becomes harder: Constraints introduced, options foreclosed, complexity added
- New constraints: What must all future development respect because of this decision?
- Technical debt accepted: What shortcuts or imperfections are knowingly accepted?
- Follow-up work: What tasks, migrations, or changes are needed to implement this decision?
Step 7: Define Review Triggers
Specify when this decision should be revisited:
- Scale thresholds: "Revisit if traffic exceeds X or data grows beyond Y"
- Technology changes: "Revisit if [framework/service] releases [capability]"
- Team changes: "Revisit if team grows beyond N engineers or splits into multiple teams"
- Time-based: "Review after 12 months regardless of other triggers"
- Pain indicators: "Revisit if [specific friction point] becomes a recurring issue"
Compaction resilience: If context was lost during a long session, re-read the Inputs section to reconstruct what system is being analyzed, check the Progress Checklist for completed steps, then resume from the earliest incomplete step.
Output Format
# ADR-[NNN]: [Descriptive Title]
**Status**: [Proposed | Accepted | Deprecated | Superseded by ADR-NNN]
**Date**: [YYYY-MM-DD]
**Deciders**: [Who was involved in the decision]
## Context
[What is the situation? What forces are at play? What constraints exist?]
[Reference related ADRs: ADR-NNN, ADR-NNN]
## Decision
We will [chosen approach].
[Core rationale — the specific tradeoff that decided it.]
## Consequences
### What becomes easier
- [Consequence 1]
- [Consequence 2]
### What becomes harder
- [Consequence 1]
- [Consequence 2]
### Technical debt accepted
- [Debt item and why it's acceptable for now]
## Alternatives Considered
### Option A: [Name]
[Description]
- **Pros**: [list]
- **Cons**: [list]
- **Why not**: [specific reason this was rejected]
### Option B: [Name]
[Description]
- **Pros**: [list]
- **Cons**: [list]
- **Why not**: [specific reason this was rejected]
### Option C: Do Nothing
[What happens if we don't act]
- **Pros**: No effort, no risk of change
- **Cons**: [specific problems that persist or worsen]
- **Why not**: [why inaction is unacceptable]
## Review Triggers
- [ ] [Scale threshold]: Revisit if [condition]
- [ ] [Technology change]: Revisit if [condition]
- [ ] [Team change]: Revisit if [condition]
- [ ] [Time-based]: Review by [date]
Handoff
- Hand off to documentation-plan if the ADR reveals gaps in project documentation strategy or onboarding materials.
- Hand off to changelog-design if the decision introduces breaking changes that require consumer communication and migration guides.
Quality Checks
- [ ] Decision is framed as a clear architectural question with defined scope
- [ ] Context captures constraints, assumptions, and related decisions
- [ ] At least 3 options are evaluated including "do nothing"
- [ ] Each option has pros, cons, risks, and effort assessed
- [ ] Decision rationale explains the specific tradeoff, not just "it's better"
- [ ] Consequences cover both what becomes easier and harder
- [ ] Review triggers define concrete conditions for revisiting the decision
- [ ] ADR is self-contained — a reader can understand it without external context
Evolution Notes
<!-- Observations appended after each use -->
Current listing version
1
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 为技术团队提供高价值的架构决策记录生成能力,解决结构化文档化痛点
- 覆盖完整的 ADR 生命周期,从上下文分析到后果映射和审查触发器定义
Highlights
- 触发词精准覆盖 ADR 相关场景,边界清晰,有效区分于其他文档类 Skill
Highlights
- 步骤划分清晰,包含端到端示例和完整输出模板
- frontmatter 完整,结构规范,易于理解和执行
Areas to improve
-
Description in the wrong location Reported severity: Minor
顶层 frontmatter 中 description 字段为空,但 skill_body 内部有实质描述内容
Recommendation: 将 description 内容移至顶层 frontmatter 的 description 字段中,保持规范一致性
Highlights
- 工具来源明确,无外部依赖,执行流程可靠
- 包含 Compaction resilience 提示,增强会话中断后的恢复能力
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.