ADRTrail
Enforces a spec-first engineering discipline by documenting architectural decisions and specifications before writing code.
ADRTrail is a specialized workflow skill for Claude Code that prevents the common pitfall of jumping straight to implementation. It mandates a 'decide before you build' approach by guiding developers through three critical stages: locking a technical specification, recording immutable Architecture Decision Records (ADRs) for significant choices, and maintaining a chronological CLAUDE_LOG ledger. This ensures that every architectural trade-off is reasoned, documented, and preserved for future maintainers, making AI-assisted development more transparent and manageable.
主な機能
01Immutable ADR Management: Generates and tracks Architecture Decision Records with versioning for superseded decisions.
02Spec-First Enforcement: Automatically locks technical requirements before allowing code implementation to begin.
03Template-Driven Documentation: Uses standardized templates for specs and ADRs to ensure consistency and professional rigor.
04Session Ledger (CLAUDE_LOG): Maintains an append-only, chronological record of all meaningful actions and calls within a session.
05Smart Activation: Triggers based on architectural keywords or when detecting high-impact changes that require documentation.
060 GitHub stars
ユースケース
01Establishing a durable 'paper trail' in AI-assisted projects to ensure future human developers understand past reasoning.
02Performing complex refactors that change system contracts or introduce significant technical trade-offs.
03Bootstrapping new services or features where architectural boundaries and data models need clear definition.