How this skill is triggered — by the user, by Claude, or both
Slash command
/katachi:decisionThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Document an architecture decision (ADR) or design pattern (DES).
Document an architecture decision (ADR) or design pattern (DES).
$ARGUMENTS - Optional: topic to document or existing decision ID to update
You must load the following skills and read the following files before proceeding.
katachi:framework-core - Workflow principles and decision type guidancedocs/feature-specs/README.md - Feature capability indexdocs/feature-designs/README.md - Feature design indexdocs/architecture/README.md - Architecture decisions (ADRs)docs/design/README.md - Design patterns (DES)${CLAUDE_PLUGIN_ROOT}/skills/framework-core/references/code-examples.md - Code snippet guidance (especially for DES)${CLAUDE_PLUGIN_ROOT}/skills/framework-core/references/technical-diagrams.md - Technical diagram guidance (if diagrams help)Ask user what they want to document:
"What kind of decision are you documenting?
A) Architecture Decision (ADR)
- Hard-to-change technical choices
- Technology selections, patterns, approaches
- One-time decisions with significant consequences
B) Design Pattern (DES)
- Repeatable patterns across the codebase
- Conventions, coding patterns, cross-cutting concerns
- Patterns that should be consistent
Which type fits your decision?"
Ask about the decision:
For DES, also ask:
If user is uncertain about alternatives or consequences:
Create complete document following appropriate template.
For ADR:
For DES:
Dispatch decision-reviewer to validate the classification:
Task(
subagent_type="katachi:decision-reviewer",
prompt=f"""
Validate this decision document classification.
## Decision Type
{adr_or_des}
## Draft Document
{draft_content}
## User's Context
{user_context}
## Existing ADR Index
{adr_index}
## Existing DES Index
{des_index}
"""
)
Apply feedback:
Show draft document to user. Highlight any uncertainties or validation feedback. Ask: "What needs adjustment?"
Apply user corrections. Repeat until approved.
Determine next available ID:
docs/architecture/docs/design/Add to appropriate README index:
For ADR in docs/architecture/README.md:
For DES in docs/design/README.md:
Write to appropriate location:
docs/architecture/ADR-NNN-title.mddocs/design/DES-NNN-pattern-name.mdAsk:
"Which features are affected by this decision?
I'll update their design documents to reference this [ADR/DES]."
List affected features and update their designs to include decision references:
This is a collaborative process:
npx claudepluginhub asermax/claude-plugins --plugin katachiDocument architectural decisions using ADR format. Use when making significant architectural choices that affect future development.
Writes lightweight architecture design docs for ambiguous or consequential decisions. Grounds in existing code, explores tradeoffs and alternatives, and stops for human review before implementation.
Creates Architecture Decision Records in Nygard format to document technical decisions, context, and consequences. Use when making choices about architecture, technology selection, or development patterns.