From bdk
Create Architecture Decision Records (ADRs) based on MADR template. Use when the user asks to "create an ADR", "document a decision", "write an ADR", or provides decision context that needs to be formalized.
npx claudepluginhub broneq/bdk --plugin bdkThis skill uses the workspace's default tool permissions.
> Relies on BDK foundation (STARTUP_INSTRUCTIONS.md) for project context and MCP tool preference.
Mandates invoking relevant skills via tools before any response in coding sessions. Covers access, priorities, and adaptations for Claude Code, Copilot CLI, Gemini CLI.
Share bugs, ideas, or general feedback.
Relies on BDK foundation (STARTUP_INSTRUCTIONS.md) for project context and MCP tool preference.
Generate ADR following MADR format.
$ARGUMENTS
Extract from free-form description:
Use AskUserQuestion to fill gaps — only ask what's genuinely unclear.
Always ask:
Never ask — user adds manually after generation:
{TBD} placeholder in frontmatter)Scan docs/adr/ for existing ADR files matching pattern NNNN-*.md. Use next sequential number, zero-padded to 4 digits.
Write to docs/adr/NNNN-{slugified-title}.md following MADR format:
---
status: {status}
date: {YYYY-MM-DD}
decision-makers: {TBD}
consulted: {TBD}
informed: {TBD}
---
# ADR-NNNN: {Title}
## Context and Problem Statement
{2-3 sentences describing the problem}
## Decision Drivers
- {driver 1}
- {driver 2}
## Considered Options
1. **{Option A}** — {one-line summary}
2. **{Option B}** — {one-line summary}
## Decision Outcome
**Chosen option: {Option}**, because {justification}.
### Consequences
- ✅ {positive consequence}
- ❌ {negative consequence}
- 🟡 {neutral consequence}
### Implementation Requirements
- [ ] {requirement 1}
## Pros and Cons of the Options
### {Option A}
{description}
- ✅ {pro}
- ❌ {con}
### {Option B}
...
## More Information
{additional context, links, follow-up decisions}
Formatting rules:
✅ for pros, ❌ for cons, 🟡 for neutralOnly create diagrams when they add genuine visual value:
Skip for trivially simple or abstract decisions.
If creating diagrams:
```dot), preceded by ### header — compiler uses header as filename/bdk:graphviz-docs-compiler passing docs/adr/ as target directory with --mode both to extract .dot files and compile to SVG references