From design-workflow
Create an Architecture Decision Record (ADR) documenting a significant architectural decision
How this skill is triggered — by the user, by Claude, or both
Slash command
/design-workflow:adrThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Create a new ADR to document the architectural decision described by the user: **$ARGUMENTS**
Create a new ADR to document the architectural decision described by the user: $ARGUMENTS
Read language configuration from .aidocs/config.yaml (or .aidocs/config.yml):
! cat .aidocs/config.yaml 2>/dev/null || cat .aidocs/config.yml 2>/dev/null || echo "language: en"
Extract the language field (default: en if neither file exists or the field is absent). All content written to .aidocs/ must be in this language.
Review existing ADRs to understand context and avoid duplicates:
! ls .aidocs/adrs/ 2>/dev/null || echo "No ADRs yet"
Determine the filename: use today's date and a kebab-case slug derived from the decision title.
YYYYMMDD-<description-slug>.md20260320-adopt-hexagonal-architecture.mdGather context: read relevant source files, configs, or documentation that inform the decision. Ask the user for clarification if the context or motivation is unclear.
Write the ADR in .aidocs/adrs/ using the template below. Every section is mandatory — do not skip any.
Present the ADR to the user for review before finishing.
# <Title of the decision>
- **Date**: YYYY-MM-DD
- **Status**: Proposed | Accepted | Deprecated | Superseded by [ADR-YYYYMMDD](./YYYYMMDD-slug.md)
## Context
Describe the situation, the forces at play, and why a decision is needed. Include relevant technical constraints, business requirements, and any pressure points.
## Decision
State the decision clearly and concisely. Use active voice: "We will..."
## Consequences
### Positive
- List the benefits and improvements this decision brings.
### Negative
- List the trade-offs, risks, or downsides accepted.
### Neutral
- List any side effects that are neither clearly positive nor negative.
## Alternatives Considered
For each alternative:
### <Alternative name>
- **Description**: Brief explanation of the alternative.
- **Reason for rejection**: Why this option was not chosen.
Superseded by [ADR-YYYYMMDD](./YYYYMMDD-slug.md).npx claudepluginhub cjuega/ai-plugins --plugin design-workflowWrite an Architecture Decision Record — document what was decided, why, what alternatives were considered, and what trade-offs were accepted. Use when asked to "write an ADR", "document this decision", or "why did we choose X".
Generates Architecture Decision Records with context, rationale, alternatives, and status lifecycle. Prevents forgotten design rationale.
Document architectural decisions using ADR format. Use when making significant architectural choices that affect future development.