Command Palette

Search for a command to run...

Назад к скиллам
скилл № 90612

adr-drafting

This skill should be used when a decision is ready to become an ADR and the user wants co-thinking rather than template filler. PROACTIVELY activate on "draft…

БесплатноБез исполняемых скриптов
JosiahSiegelот JosiahSiegel★ 67 звёзд на GitHub

Установить adr-drafting в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

adr-drafting

Co-drafts an ADR through structured dialogue. The architect never sees a first draft — only the self-critiqued revision.

Inputs

  • Required: docs/architecture/discovery-brief.md with all five MUSTs CONFIRMED. If missing or shallow, this skill refuses and routes to adr-discovery.
  • Optional: docs/architecture/open-questions.md. PARKED MUSTs must be cited in the resulting ADR's Consequences.

Core operating rule

Never emit more than one question or one step per message. If a turn contains two ?, two numbered actions, or runs more than a short paragraph, shorten and ask the most important question first.

Style

  • Direct. No "Great question!", "Excellent point!", or "Solid approach!".
  • Bullet-driven, not narrative.
  • Names specific tech, specific files, specific components — never vague nouns.
  • Pushes back on weak reasoning by quoting the architect's words and naming the rule broken.

Vocabulary (define on first use)

  • Component — a runnable / deployable unit (C4 Container), not a code class.
  • System — one bounded product per ADR.
  • Architectural characteristic — the non-functional quality under pressure.
  • Tension — two ADRs that conflict without one superseding the other; must be acknowledged, not hidden.
  • RFC — review-gated ADR with a feedback deadline; use when the decision is not yet committed.
  • Fitness function — automated check (lint rule, arch test, CI assertion, dashboard threshold) that the decision still holds.

The seven phases

Phase 1 — Understand

Read discovery-brief.md. Do not re-ask anything in it. Ask only for the MUSTs not already confirmed:

MUST Default question
Purpose of the decision "In one sentence: what decision are we recording?"
Architectural characteristic under pressure "Which quality is forcing this — latency, cost, availability, security, maintainability, something else? Name the number or condition."
Components touched "Which of the components in the brief does this decision affect? (≤5)"
Prior ADR in play "Does this supersede / amend / relate-to / tension any existing ADR?"
Decider "Who is accountable for this decision? Named human(s)."

Gate: If 2+ MUSTs come back shallow ("the team," "for performance," "future flexibility"), stop and route to adr-discovery. Do not advance.

Phase 2 — Context

Walk each ADR returned by Phase 1's "prior ADR" question, one at a time. For each, classify in dialogue:

  • supersedes — this decision replaces it
  • amends — this decision adjusts without replacing
  • relates-to — this decision shares context but stands alone
  • tension — incompatible without one superseding
  • unrelated — drop it

Glob the ADR directory once to confirm the architect didn't miss any.

Phase 3 — Options

The architect lists the options. Not the agent. If they offer one option, ask: "What else is realistic?"

Walk each option across four separate exchanges:

  1. Pro — "What's the single strongest argument for this option?"
  2. Con — "What's the single strongest argument against this option?"
  3. Effort — "Roughly: hours, days, or weeks to implement?"
  4. Risk — "If this option fails, how do you find out and how bad is it?"

Optionally add one missing option the architect didn't name (only if you can name a force they haven't addressed). Then state the strongest counter to their leading choice and wait for their response — don't proceed until they've engaged with it.

Phase 4 — Decide

Four separate exchanges:

  1. Failure modes — "Name 2-3 ways this decision fails in production." Refuse to advance until the architect names them.
  2. Scripted challenge — pick one push-back from references/pushback-patterns.md that matches the leading option, deliver it verbatim, wait.
  3. Confidence — "On a 1-5 scale, how confident is the decider? What would move them to 5?"
  4. Review-by date — "On what date or trigger should this decision be revisited?"

RFC routing: If confidence is low, the architect isn't a single named human, or the decision touches > 5 components, propose status: proposed with rfc-deadline (default: two weeks) instead of accepted. ADRs serving as RFCs are still real ADRs — they just have a deadline before they harden. If the team also wants a numeric score, store it in confidence-score; keep confidence as high, medium, or low.

Phase 5 — Draft

Section by section. Confirm each before moving to the next. Frontmatter is the first section drafted, not the last, and it is mandatory — see "Refusal behaviors" below. Hard limits enforced:

Section Limit Notes
Frontmatter YAML between --- fences Mandatory. title, status, date, deciders required; supersedes / amends / relates-to populated whenever Phase 2 surfaced a related ADR
Title One line, imperative verb phrase 0017. Use Postgres for primary store
Context
Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

  • references/pushback-patterns.md
  • references/rfc-routing.md
  • references/template-fields.md

FAQ

Что делает скилл adr-drafting?

This skill should be used when a decision is ready to become an ADR and the user wants co-thinking rather than template filler. PROACTIVELY activate on "draft the ADR", "write up the decision", "co-think this ADR", "challenge my reasoning", "ADR for X", "MADR for X", "Y-statement for X", "we decided to use X", "co-draft", "ADR drafting", or "scripted push-back." Provides: seven-phase ADR drafting, one-question turns, failure-mode pressure test, and self-critique against the ADR-is-NOT checklist.

Как установить скилл adr-drafting?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл adr-drafting запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить adr-drafting с