agentsclimarketplace

Create adr

Skill broneq/bdk/skills/create-adr

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.From its SKILL.md

Install
npx -y skills add broneq/bdk --skill create-adr

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

3.2 KB, 733 tokens by cl100k_base, as published. Nobody here has run it

Create ADR

Relies on BDK foundation (STARTUP_INSTRUCTIONS.md) for project context and MCP tool preference.

<!-- INJECT: architecture -->

Generate ADR following MADR format.

Input

$ARGUMENTS

Process

1. Analyze Input

Extract from free-form description:

  • Problem statement and context
  • Considered options
  • Constraints and decision drivers
  • Stated preference or chosen option

2. Ask Targeted Questions

Use AskUserQuestion to fill gaps — only ask what's genuinely unclear.

Always ask:

  • ADR status (proposed/accepted/rejected/deprecated)

Never ask — user adds manually after generation:

  • Decision-makers, consulted, informed (use {TBD} placeholder in frontmatter)

3. Determine Next ADR Number

Scan docs/adr/ for existing ADR files matching pattern NNNN-*.md. Use next sequential number, zero-padded to 4 digits.

4. Generate ADR Document

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:

  • Use for pros, for cons, 🟡 for neutral
  • Never use "Good, because" / "Bad, because" — use symbols directly

5. Generate Diagrams (Optional)

Only create diagrams when they add genuine visual value:

  • Architecture options with different component layouts
  • Options with different data flows or system interactions

Skip for trivially simple or abstract decisions.

If creating diagrams:

  • Embed Graphviz diagrams directly in ADR as fenced code blocks (```dot), preceded by ### header — compiler uses header as filename
  • After writing ADR file, invoke /bdk:graphviz-docs-compiler passing docs/adr/ as target directory with --mode both to extract .dot files and compile to SVG
  • Compiler rewrites code blocks in-place with ![Description](images/name.svg) references

6. Final Verification

  • Read generated ADR file and verify formatting
  • Show user generated ADR path and summary

Rules

  • Diagrams optional — only generate when they add genuine visual value
  • Don't over-ask — extract maximum info from free-form input before asking
  • No commits — generate files only, user decides when to commit

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 326,537. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.