From design-workflow
Create an Architecture Decision Record (ADR) documenting a significant architectural decision
npx claudepluginhub cjuega/ai-plugins --plugin design-workflowThis skill uses the workspace's default tool permissions.
Create a new ADR to document the architectural decision described by the user: **$ARGUMENTS**
Generates Architecture Decision Records (ADRs) capturing context, rationale, alternatives, and consequences in numbered, status-tracked Markdown format.
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.
Generates structured Markdown ADRs for architectural decisions, covering context, alternatives, consequences, and implementation. Saves sequentially to /docs/adr/.
Share bugs, ideas, or general feedback.
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).