From adr
Create a new Architecture Decision Record using the standard MADR template
How this command is triggered — by the user, by Claude, or both
Slash command
/adr:create [decision topic]This command is limited to the following tools:
The summary Claude sees in its command listing — used to decide when to auto-load this command
# Task: Create New ADR Create a new Architecture Decision Record (ADR) in the project's `docs/adr/` directory. ## Step 1: Detect ADR Directory and Next Number If no ADRs exist, start with `0001`. Otherwise, increment the highest number. ## Step 2: Gather Context Ask the user for: 1. **Title**: Short description of the decision (will become filename and heading) 2. **Context**: What is the situation? What problem needs solving? 3. **Options**: What alternatives were considered? (minimum 2-3) 4. **Decision**: Which option was chosen and why? ## Step 3: Create the ADR Use this templat...
Create a new Architecture Decision Record (ADR) in the project's docs/adr/ directory.
# Find existing ADRs and determine next number
find . -path "*/docs/adr/[0-9][0-9][0-9][0-9]-*.md" -type f 2>/dev/null | sort | tail -1
If no ADRs exist, start with 0001. Otherwise, increment the highest number.
Ask the user for:
Use this template structure:
# [short title of solved problem and solution]
- Status: [proposed | rejected | accepted | deprecated | superseded by [ADR-0005](0005-example.md)]
- Deciders: [list everyone involved in the decision]
- Date: [YYYY-MM-DD when the decision was last updated]
Technical Story: [description | ticket/issue URL] <!-- optional -->
## Context and Problem Statement
[Describe the context and problem statement, e.g., in free form using two to
three sentences. You may want to articulate the problem in form of a question.]
## Decision Drivers <!-- optional -->
- [driver 1, e.g., a force, facing concern, ...]
- [driver 2, e.g., a force, facing concern, ...]
- ...
## Considered Options
- [option 1]
- [option 2]
- [option 3]
- ...
## Decision Outcome
Chosen option: "[option 1]", because [justification. e.g., only option, which
meets k.o. criterion decision driver | which resolves force force | ... | comes
out best (see below)].
### Positive Consequences <!-- optional -->
- [e.g., improvement of quality attribute satisfaction, follow-up decisions
required, ...]
- ...
### Negative Consequences <!-- optional -->
- [e.g., compromising quality attribute, follow-up decisions required, ...]
- ...
## Pros and Cons of the Options <!-- optional -->
### [option 1]
[example | description | pointer to more information | ...] <!-- optional -->
- Good, because [argument a]
- Good, because [argument b]
- Bad, because [argument c]
- ...
### [option 2]
[example | description | pointer to more information | ...] <!-- optional -->
- Good, because [argument a]
- Good, because [argument b]
- Bad, because [argument c]
- ...
### [option 3]
[example | description | pointer to more information | ...] <!-- optional -->
- Good, because [argument a]
- Good, because [argument b]
- Bad, because [argument c]
- ...
## Links <!-- optional -->
- [Link type] [Link to ADR]
- <!-- example: Refined by [ADR-0005](0005-example.md) -->
- ...
NNNN-title-with-dashes.md0001-use-react-for-frontend.mdWrite to: docs/adr/NNNN-<title>.md
If docs/adr/ doesn't exist, create it first.
The ADR plugin hooks will automatically:
npx claudepluginhub dariuszparys/claude-code-toolkit --plugin adr/write-adrInteractively creates an Architecture Decision Record (ADR) in docs/adr/ using Michael Nygard format, gathering context, options, decision, consequences, and status; auto-numbers sequentially.
/adrGenerates a new Architecture Decision Record (ADR) documenting a technical decision, numbers it sequentially from existing ADRs, researches codebase context, and creates the Markdown file in docs/adr/.
/generateGenerates final ADR document from prior analysis: prompts for decision details, analyzes consequences, writes MADR-formatted file to docs/adr/ or specified path, cleans session.
/createCreates a new beads issue interactively or via title, type (bug/feature/task/epic/chore/decision), and priority args. Uses beads MCP create tool, shows ID/details, offers linking.
/createProduces SEO/GEO content end-to-end: brief, draft, series, refresh, and CMS-neutral publish package from one entry point.