From accelerator
Interactively create an architecture decision record (ADR). Use when the user wants to document an architectural decision, technology choice, or significant design decision. Guides through context gathering, options analysis, and consequence documentation.
npx claudepluginhub atomicinnovation/accelerator --plugin accelerator[topic or description] [--supersedes ADR-NNNN]This skill is limited to using the following tools:
!`${CLAUDE_PLUGIN_ROOT}/scripts/config-read-context.sh`
Generates Architecture Decision Records (ADRs) capturing context, rationale, alternatives, and consequences in numbered, status-tracked Markdown format.
Creates new Architectural Decision Records (ADRs) for documenting specific architectural decisions, technology choices, patterns, or approaches. Use for requests like 'Create ADR for [topic]' or 'Document decision about [topic]' (140 characters).
Writes complete Architecture Decision Records (ADRs) capturing decisions, context, alternatives, and trade-offs from code or conversation. Activates on 'write an ADR' or decision documentation requests.
Share bugs, ideas, or general feedback.
!${CLAUDE_PLUGIN_ROOT}/scripts/config-read-context.sh
!${CLAUDE_PLUGIN_ROOT}/scripts/config-read-skill-context.sh create-adr
!${CLAUDE_PLUGIN_ROOT}/scripts/config-read-agents.sh
If no "Agent Names" section appears above, use these defaults: accelerator:reviewer, accelerator:codebase-locator, accelerator:codebase-analyser, accelerator:codebase-pattern-finder, accelerator:documents-locator, accelerator:documents-analyser, accelerator:web-search-researcher.
Decisions directory: !${CLAUDE_PLUGIN_ROOT}/scripts/config-read-path.sh decisions meta/decisions
You are tasked with guiding the user through creating an architecture decision record (ADR) — a concise document capturing a significant architectural decision, its context, the options considered, and the consequences.
When this command is invoked:
--supersedes ADR-NNNN was provided, note the supersession targetI'll help you create an architecture decision record. Please provide:
1. The topic or decision to document (e.g., "use PostgreSQL for user data")
2. Any relevant context or constraints
You can also specify if this supersedes an existing ADR:
`/accelerator:create-adr use Redis for caching --supersedes ADR-0003`
Then wait for the user's input.
${CLAUDE_PLUGIN_ROOT}/skills/decisions/scripts/adr-next-number.sh
--supersedes ADR-NNNN was specified:
{decisions directory}/ADR-NNNN-*.md${CLAUDE_PLUGIN_ROOT}/skills/decisions/scripts/adr-read-status.sh <resolved-path>
accepted status (only accepted ADRs can be
superseded). This is an early-fail check to avoid wasted effort — the
status will be re-verified before writing in Step 4.accepted, inform the user and ask how to proceedRead any directly mentioned files fully
Present gathered context and ask clarifying questions:
Based on my research, here's what I found relevant to this decision:
**Related documents:**
- [list of relevant meta documents]
**Related code:**
- [list of relevant code areas]
**Existing ADRs on related topics:**
- [list of related ADRs, if any]
Before I draft the ADR, I'd like to understand:
1. What forces or constraints are driving this decision?
2. What alternatives have you considered?
3. Are there specific tradeoffs you want to highlight?
If context gathering finds nothing relevant (e.g., first ADR in a new project), skip the context sections and present:
No existing documents or ADRs found related to this topic. I'll draft the ADR
based on the information you provide.
Before I draft, I'd like to understand:
1. What forces or constraints are driving this decision?
2. What alternatives have you considered?
3. Are there specific tradeoffs you want to highlight?
Wait for user input before proceeding.
${CLAUDE_PLUGIN_ROOT}/skills/research/research-codebase/scripts/research-metadata.sh
Here's my draft ADR. Please review and let me know if you'd like any changes
before I write it to disk:
[draft content]
Wait for user approval or revision requests before writing.
Create the configured decisions directory if it doesn't exist
Write the ADR to:
{decisions directory}/ADR-NNNN-description.md
where NNNN is the number from Step 1 and description is a kebab-case summary
If this supersedes an existing ADR:
acceptedstatus: accepted to status: supersededsuperseded_by: ADR-MMMM (where MMMM is the new ADR number)Present the result:
ADR created: `{decisions directory}/ADR-NNNN-description.md`
Status: proposed
[If supersession]: Updated ADR-XXXX status to "superseded"
Next steps:
- Review and refine while in "proposed" status
- When ready, use `/accelerator:review-adr` to accept or reject
Use this exact template structure when generating ADRs:
!${CLAUDE_PLUGIN_ROOT}/scripts/config-read-template.sh adr
When drafting ADRs, follow these principles:
proposedADR-NNNN-description.md (e.g., ADR-0001-use-jujutsu.md)status: proposed) and the body (**Status**: Proposed). The frontmatter
is the authoritative source of truth — adr-read-status.sh reads only
frontmatter. The body line is for human readability. When updating status,
ALWAYS update both locations.!${CLAUDE_PLUGIN_ROOT}/scripts/config-read-skill-instructions.sh create-adr