From arch-guard
This skill should be used when the user asks "create ADR", "document design decision", "adr", "record architecture decision", "why did we decide this", or wants to create an Architecture Decision Record documenting a design choice with context, rationale, alternatives, and consequences.
How this skill is triggered — by the user, by Claude, or both
Slash command
/arch-guard:adrThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Creates an ADR documenting a design decision using the Michael Nygard template format.
Creates an ADR documenting a design decision using the Michael Nygard template format.
/adr "Why we chose PostgreSQL JSONB for state storage"
/adr "Switching from REST to gRPC for inter-service communication"
Read arch-guard.json to determine the ADR directory path from config.docs.adr_dir. Default: docs/adr/.
arch-guard.json for config.docs.adr_dir (default: docs/adr/)ls {adr_dir}/ADR-*.md 2>/dev/null | sort | tail -1
Auto-assign the next number. Start at ADR-001 if none exist.
If config.docs.architecture is set, read the referenced architecture document for relevant context.
Also check existing ADRs for related decisions.
Create {adr_dir}/ADR-{number}-{slug}.md:
# ADR-{number}: {title}
- **Status**: Accepted | Proposed | Deprecated | Superseded by ADR-XXX
- **Date**: {today's date}
- **Deciders**: {ask the user}
## Context
{Background for this decision. What problem are we solving?}
## Decision
{What was decided. Clear and concise.}
## Rationale
{Why this decision was made. Compare with alternatives.}
### Alternatives Considered
| Alternative | Pros | Cons | Rejection Reason |
|------------|------|------|-----------------|
| ... | ... | ... | ... |
## Consequences
{Impact of this decision. Both positive and negative.}
## Related
- arch-guard.json layer rules: {relevant layers}
- Architecture docs: {relevant sections}
- Related ADRs: {if any}
Present the draft and ask for corrections or additions.
After confirmation, write the file and report:
## ADR Created
- File: {adr_dir}/ADR-{number}-{slug}.md
- Status: {status}
- Related: {related docs}
### Next Steps
- /arch-check — verify the decision doesn't conflict with existing code
- /scaffold {module} — if the decision requires new project structure
Provides behavioral guidelines to reduce common LLM coding mistakes, focusing on simplicity, surgical changes, assumption surfacing, and verifiable success criteria.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
npx claudepluginhub jaebit/claudemate --plugin arch-guard