ADR to Guardrail
Converts Architectural Decision Records into persistent, actionable guardrails to enforce coding constraints automatically.
ADR to Guardrail bridges the gap between architectural documentation and real-world AI coding by translating Architectural Decision Records (ADRs) into structured enforcement signs within GUARDRAILS.md. By transforming passive decision records into concrete trigger, instruction, and reason triples with strict ALWAYS/NEVER rules, this skill ensures that every Claude Code session automatically respects established project boundaries, prevents architectural drift, and maintains persistent governance over critical codebases.
Key Features
01Discovers ADR files automatically across standard project directory paths
021 GitHub stars
03Extracts structured trigger, instruction, and reason triples with full provenance
04Formats and numbers sequential guardrail signs in GUARDRAILS.md
05Generates clear reporting on encoded constraints and excluded implementation details
06Enforces strict architectural rules and failure-mode awareness across sessions
Use Cases
01Hardening architectural decisions into persistent AI coding boundaries
02Automating software architecture governance directly from markdown ADRs
03Enforcing critical security, state management, and deployment conventions across teams