Philosophy compliance guardian - ensures code aligns with amplihack's ruthless simplicity, brick philosophy, and Zen-like minimalism through systematic review
View on GitHub.claude/skills/philosophy-compliance-workflow/SKILL.md
January 21, 2026
Select agents to install to:
npx add-skill https://github.com/rysweet/amplihack/blob/main/.claude/skills/philosophy-compliance-workflow/SKILL.md -a claude-code --skill philosophy-compliance-workflowInstallation paths:
.claude/skills/philosophy-compliance-workflow/# Philosophy Compliance Workflow Skill ## Purpose Systematic philosophy compliance review that ensures all code and architecture aligns with amplihack's core principles: ruthless simplicity, brick philosophy, and Zen-like minimalism. This skill validates that implementations serve clear purposes without unnecessary complexity. ## When to Use This Skill **USE FOR:** - Architecture reviews before implementation - Code reviews for philosophy alignment - Refactoring validation (did we actually simplify?) - Module design verification - Pre-merge philosophy checks - Identifying over-engineering and complexity creep **AVOID FOR:** - Functional bug fixes (not philosophy issues) - Performance optimization alone - Documentation updates - Pure syntax/style issues ## Core Philosophy Principles ### The Zen of Simple Code - Each line serves a clear purpose without embellishment - As simple as possible, but no simpler - Complex systems from simple, well-defined components - Handle what's needed now, not hypothetical futures ### The Brick Philosophy - **A brick** = Self-contained module with ONE clear responsibility - **A stud** = Public contract (functions, API, data model) others connect to - **Regeneratable** = Can be rebuilt from spec without breaking connections - **Isolated** = All code, tests, fixtures inside the module's folder ### Ruthless Simplicity - Start with the simplest solution that works - Add complexity only when justified - Question every abstraction - Code you don't write has no bugs ## Review Process ### Step 1: Scope Identification **Identify what to review:** - Single module, multiple modules, or full architecture - Recent changes or complete codebase - Specific complexity concerns or general review **Questions to ask:** - What triggered this review? - What are the main concerns? - What's the expected outcome? ### Step 2: Initial Analysis **Scan the code structure:** - Module organization and boundaries - Public interfaces (the "studs")