From uitkit
Drafts an Architecture Decision Record for a specific technical decision. Reads existing ADR conventions in the project and outputs a file following standard ADR format.
How this command is triggered — by the user, by Claude, or both
Slash command
/uitkit:adr-write [decision topic]docs/The summary Claude sees in its command listing — used to decide when to auto-load this command
Draft an Architecture Decision Record (ADR) for: $ARGUMENTS Before writing: 1. Check for an existing `docs/decisions/`, `docs/adr/`, or `adr/` directory to determine the numbering convention and file naming scheme in use. Match it exactly. 2. If an ADR template already exists in the repo, use it. Otherwise use the format below. 3. Read relevant source files to ground the "Context" and "Consequences" sections in actual code, not hypotheticals. ADR format: # ADR-NNN: [Title — noun phrase describing the decision, not the problem] ## Status Proposed | Accepted | Deprecated | Supersede...
Draft an Architecture Decision Record (ADR) for: $ARGUMENTS
Before writing:
docs/decisions/, docs/adr/, or adr/ directory to determine
the numbering convention and file naming scheme in use. Match it exactly.ADR format:
Proposed | Accepted | Deprecated | Superseded by ADR-NNN
YYYY-MM-DD
What situation, constraint, or requirement forced this decision? Include: scale, team size, existing system constraints, external requirements. Keep to facts — no advocacy here.
State the decision in one sentence starting with "We will…". Then explain the mechanism: what will be built, changed, or adopted, and how.
For each alternative considered:
Positive:
Negative:
Risks:
Links to relevant PRs, issues, benchmarks, or external docs that informed the decision.
Writing rules:
npx claudepluginhub uitbreidenos/uitkit/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/.
/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.
/adrInteractively creates Architecture Decision Records (ADRs) through guided conversation, documenting context, options, rationale per template, and updates architecture overview.
/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.