Help us improve
Share bugs, ideas, or general feedback.
From aidoc-flow
Generates ADRs from upstream artifacts (BRD/PRD/EARS/BDD), prompts, or IPLANs. Detects existing ADRs for review-and-fix, scopes decisions, validates quality, and runs the audit/fix cycle.
npx claudepluginhub vladm3105/aidoc-flow-framework --plugin aidoc-flowHow this skill is triggered — by the user, by Claude, or both
Slash command
/aidoc-flow:doc-adr-autopilotThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Automated **ADR generation pipeline**. From an upstream artifact
Writes Architectural Decision Records (ADRs) using the MADR template and verifies completeness with Definition of Done (E.C.A.D.R.) criteria. Use when documenting architectural decisions from meetings or PR discussions.
Generates Architectural Decision Records (ADRs) in MADR, Nygard, Alexandrian, or project formats. Researches directory for conventions, gathers context, numbers sequentially, validates, and saves. Use for documenting technical decisions.
Generates Architectural Decision Records (ADRs) by detecting project template conventions, assigning sequential numbers, supporting MADR/Nygard/Alexandrian formats, and saving markdown files. Use for documenting technical decisions.
Share bugs, ideas, or general feedback.
Automated ADR generation pipeline. From an upstream artifact
(BRD §7.2 / PRD §14 / EARS / BDD), a user prompt, or an implementation plan
(IPLAN-*), it analyzes the source, scopes the decision, generates a complete
Context-Decision-Consequences record, validates readiness, maintains
ADR-00_index.md, and drives the audit↔fix cycle to a passing score — for one
ADR or a batch.
Layer: 5. Upstream: BRD → PRD → EARS → BDD (or a prompt/IPLAN). Downstream: a validated ADR + index entry.
| Skill | Role |
|---|---|
../doc-adr/SKILL.md | ADR structure and authoring rules (generation) |
../doc-adr-audit/SKILL.md | quality gate (scoring + findings) |
../doc-adr-fixer/SKILL.md | applies fixes from the audit report |
../doc-naming/SKILL.md | element-ID standards |
../adr-roadmap/SKILL.md | plans the set of ADRs a project needs |
Accepts: a target ADR id/path; an upstream id (BRD-NN/PRD-NN/EARS-NN/
BDD-NN) or topic element id; a free-text prompt; or an IPLAN path. Optional:
score threshold (default 90), max fix iterations (default 3), batch list. With
no explicit input, treat the request as a prompt.
For each target, check whether the ADR already exists (nested folder
docs/05_ADR/ADR-NN_{slug}/):
Determine deliverable_type (code/document/ux/risk/process,
inherited from upstream) and the originating topic (PRD §14, tracing back to
BRD §7.2) from the source content. One ADR records one decision.
ADR-NN; verify the cited upstream artifacts exist.../doc-adr/SKILL.md: Document Control
first (status Proposed/Accepted), all 10 sections, 2–3 alternatives with
cost/fit, internal element IDs ADR.NN.SS.xxxx, cumulative tags
@brd @prd @ears @bdd, the @adr: ADR-NN self-tag, architecture-flow
diagram via ../charts-flow/SKILL.md.../doc-adr-audit/SKILL.md from scratch.../doc-adr-fixer/SKILL.md, then re-audit. On pass, update
docs/05_ADR/ADR-00_index.md; on exhausting iterations, flag for manual
review.@depends: ADR-NN) first.| Situation | Action |
|---|---|
| Cited upstream artifact missing (BRD/PRD/EARS/BDD) | stop; report the missing dependency |
| Source describes more than one decision | split into separate ADRs (one decision each) |
| Max iterations reached below threshold | write reports, flag for manual review, continue batch |
| Source input ambiguous | fall back to prompt mode; record assumptions in the ADR |
| Write/permission error | log, skip the item, continue the batch |
Before applying defaults, read the project adaptation profile
(.aidoc/profile.yaml) and apply it in both the generation and the internal
audit/fix phases. Honor section_toggles, active_layers, audit_threshold
(raise-only — stricter only), and glossary. Ignore any unknown or
out-of-surface key; absent a profile, use framework defaults.
Authority: framework/governance/ADAPTATION.md.
../doc-adr/SKILL.md · Audit: ../doc-adr-audit/SKILL.md · Fix:
../doc-adr-fixer/SKILL.md../adr-roadmap/SKILL.mdframework/layers/05_ADR/ADR-TEMPLATE.yaml,
framework/layers/05_ADR/README.md,
framework/layers/05_ADR/ADR-00_index.TEMPLATE.md