mmaideveloper/aiarchitecttoolkit / skills/generate-adr
generate-adr
VerifiedCreate, update, review, reject, deprecate, or supersede source-backed Architecture Decision Records (ADRs), compare viable options, and connect decisions to use cases, ADDs, C4 views, risks, compliance evidence, and implementation. Use for any significant architecture choice or ADR reference; use the separate conformance-review skill when comparing code with accepted decisions.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 2.1 KB |
| agents/openai.yaml | config | 217 B |
| assets/adr-template.md | markdown | 1.7 KB |
| references/adr-quality.md | markdown | 640 B |
SKILL.md
View on GitHub---
name: generate-adr
description: Create, update, review, reject, deprecate, or supersede source-backed Architecture Decision Records (ADRs), compare viable options, and connect decisions to use cases, ADDs, C4 views, risks, compliance evidence, and implementation. Use for any significant architecture choice or ADR reference; use the separate conformance-review skill when comparing code with accepted decisions.
---
# Generate ADR
## Workflow
1. Read `AGENTS.md`, existing decisions, linked use cases/ADDs/C4 views, supplied evidence, and relevant code.
2. Determine whether to create, update, review, reject, deprecate, or supersede an ADR.
3. For a new record, select the next unused `ADR-NNN` under `architecture/decisions/` and copy [assets/adr-template.md](assets/adr-template.md).
4. Apply [references/adr-quality.md](references/adr-quality.md). Compare viable options using the same decision drivers; do not invent weak alternatives.
5. Record the decision, positive and negative consequences, risks, compliance effects, follow-ups, and reciprocal artifact links.
6. Use `Proposed` until an authoritative decision source supports another state.
7. Treat accepted ADR content as immutable history. Create a new ADR to change the decision and update reciprocal supersession links.
8. Save as `architecture/decisions/ADR-NNN-<slug>.md` unless an established layout exists.
## Rules
- Keep one primary, independently changeable decision per ADR.
- Phrase the title as the decision outcome.
- Never claim approval without evidence.
- Use `To classify` rather than inferring personal/health-data or AI-risk classification.
- Exclude personal/health records, credentials, secrets, connection strings, and sensitive endpoints.
- Update affected target-state C4/ADD artifacts after acceptance; proposed decisions may be shown only as proposals.
- When asked to review code, use `$review-architecture-conformance` and report deviations without rewriting accepted history.
## Output
Return path, lifecycle action/status, selected option, unresolved questions, evidence/approval gaps, affected artifacts, and required follow-ups.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis. | Stars: 471k | Updated | Claude CodeCodex | Verified | Install |
| diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness. | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |