promote-adr-draft
CommunityPromote approved ADR drafts with exact numbering.
Product & Management#versioning#documentation#adr#governance#idempotency#slug generation#enterprise delivery
Authorkapilvirenahuja
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Promoting an approved ADR draft into the official docs archive can be error-prone and inconsistent when numbering, slugs, and provenance tracking must be done reliably.
Core Features & Use Cases
- Deterministic ADR promotion: Promotes exactly one approved Tier 1 proposal draft into docs/adr/ as the next sequential ADR file.
- Idempotent safety checks: Detects whether the proposal was already promoted by searching existing ADR frontmatter sourced_from to prevent duplicates.
- Robust slug and naming rules: Derives a sanitized slug from proposal_title or the draft’s first H1, then writes {NNNN}-{slug}.md while refusing filename collisions.
- Provenance-first frontmatter: Writes new ADR frontmatter capturing adr_number, sourced_from, promoted_at, and source_path, while preserving draft body verbatim.
Quick Start
Call promote-adr-draft with proposal_id and adr_draft_path to create the next numbered ADR in docs/adr/ without duplicating an existing one.
Dependency Matrix
Required Modules
None requiredComponents
Standard packageđź’» Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: promote-adr-draft Download link: https://github.com/kapilvirenahuja/garura/archive/main.zip#promote-adr-draft Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.