c3-ref is a specialized plugin for Claude Code designed to institutionalize software patterns through the Context-Container-Component (C3) architecture. It enables developers to define, document, and enforce system-wide conventions—such as error handling, authentication flows, and data fetching—ensuring consistency across all components. By treating architectural "refs" as authoritative constraints, the skill automates the discovery of existing pattern usage, manages impact analysis during updates, and maintains a clear audit trail via automatically generated Architecture Decision Records (ADRs). This ensures that every design evolution is documented, compliant, and traceable throughout the codebase.
主な機能
01Impact analysis for modifying existing system-wide architectural rules
02Bidirectional linking between pattern documentation and citing components
03Automated pattern discovery and usage tracking via codebase scanning
04Automated Architecture Decision Record (ADR) generation for pattern adoption
05Enforcement of authoritative architectural constraints across project layers
067 GitHub stars