From kdoc
Create a new Architecture Decision Record by reading the ADR template, determining the next ADR number from existing files, and writing a schema-compliant ADR. Use when the user asks to create ADRs, document architecture decisions, or record a technical decision.
How this skill is triggered — by the user, by Claude, or both
Slash command
/kdoc:adr-createThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Use this skill to create a new ADR using only `Read`, `Write`, `Glob`, `Edit`, and `Grep`.
Use this skill to create a new ADR using only Read, Write, Glob, Edit, and Grep.
core/templates/adr.md.core/schema/frontmatter-schemas.json and use the adr definition as the contract for required fields, allowed statuses, and ID format.Knowledge/ADR/ADR-*.md to determine the next four-digit ADR number.Knowledge/ADR/ADR-{NNNN}-{slug}.md.adr frontmatter fields from core/schema/frontmatter-schemas.json.id matches the filename number.kdoc_validate on the new file as an extra check. The skill must still work without MCP.kdoc:adr-validatekdoc:governance-checkAfter creating the ADR:
~/.ai-sessions/spool/ exists.kdoc.artifact_created event to ~/.ai-sessions/spool/events.jsonl.event_data.path and adr in event_data.type.Example:
echo '{"event_type":"kdoc.artifact_created","event_data":{"type":"adr","path":"Knowledge/ADR/ADR-0001-example.md"},"source":"skill:kdoc","created_at":"2026-03-24T12:00:00.000Z"}' >> ~/.ai-sessions/spool/events.jsonl
npx claudepluginhub mariogusmao/mg-plugins --plugin kdocCreates Architecture Decision Records (ADRs) with title, status, and MADR/basic/extended templates. Auto-numbers sequentially, prompts for context/options/rationale, writes to docs/decisions/ or docs/adr/.
Creates a numbered MADR ADR in `docs/adr/` documenting load-bearing architectural decisions (database, framework, auth model, integration choice). Prompts for context, decision, and alternatives, then updates the index.