From common-engineering
This skill should be used when the user asks to "write an ADR", "create an ADR", "document an architecture decision", "write an Architecture Decision Record", "document a technology choice", "compare database options", "document why we chose X over Y", or needs to record a specific architectural or technology decision with alternatives and trade-offs (1-3 pages). Use when capturing a decision that needs to be justified and preserved for future reference.
How this skill is triggered — by the user, by Claude, or both
Slash command
/common-engineering:adrThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Create Architecture Decision Records (1-3 pages) that document specific technology choices, architectural decisions, or framework selections — capturing the decision, alternatives considered, evaluation criteria, and trade-offs for future reference.
Create Architecture Decision Records (1-3 pages) that document specific technology choices, architectural decisions, or framework selections — capturing the decision, alternatives considered, evaluation criteria, and trade-offs for future reference.
Key principle: All information comes from the user. The Read tool is only for reading user-provided context files (existing ADRs, RFCs, tickets) that the user explicitly shares.
Parse what the user already provided. Extract:
Only ask for what's genuinely missing.
Essential questions (use references/question-bank.md patterns, ask only if not already provided):
If user is still deciding (not yet made the decision): Offer research via agent:web-research-specialist to gather comparison data before writing.
Rich context (accept at any point):
Read tool to load for consistencyOnce sufficient context is gathered, generate the complete ADR draft using the template from assets/templates/template.md.
Content generation rules:
template.md exactlyAfter presenting the full draft:
assets/templates/quality-checklist.md — never show to userKey sections (from assets/templates/template.md):
| Section | Purpose |
|---|---|
| Title & Metadata | Decision ID, date, status, authors |
| Context | Current situation, drivers, goals, non-goals |
| Decision | Clear statement of what was decided |
| Alternatives Considered | MANDATORY 2+ alternatives with pros/cons |
| Decision Criteria | Evaluation table or criteria breakdown |
| Trade-offs Analysis | What we gain, what we give up |
| Consequences | Positive, negative, and risk consequences |
| Implementation Plan | How the decision is being carried out |
| Validation | POC results, benchmarks, evidence |
| Related Decisions | Links to other ADRs |
| Reconsideration | Triggers and expiration conditions |
| References | External docs, benchmarks, comparisons |
| Approval | Sign-off section |
Comparison diagrams or architecture context diagrams can strengthen ADRs. When requested:
common-engineering:mermaid skill| Capability | When to Use |
|---|---|
agent:web-research-specialist | Compare technologies, gather benchmark data, research options |
common-engineering:mermaid | Architecture context or comparison diagrams |
document-skills:docx | Export to Word format |
document-skills:pdf | Export to PDF format |
| File | Purpose |
|---|---|
references/writing-guidelines.md | Technical writing best practices |
references/question-bank.md | AskUserQuestion patterns for this skill |
assets/templates/template.md | Document structure (use for output) |
assets/templates/guidance.md | Section-by-section guidance (read, never copy to output) |
assets/templates/quality-checklist.md | Internal validation (never show to user) |
assets/templates/examples.md | Completed examples for quality reference |
npx claudepluginhub irfansofyana/ai-marketplace --plugin common-engineeringCreates a structured Architecture Decision Record (ADR) documenting context, options, decision, consequences, and tradeoffs for any technical choice.
Generates standardized Architecture Decision Records (ADRs) documenting technical decisions, context, evaluated alternatives, rationale, and consequences. Saves sequentially to docs/adr/.
Creates Architecture Decision Records in Nygard format to document technical decisions, context, and consequences. Use when making choices about architecture, technology selection, or development patterns.