philosophy-compliance-workflow
БесплатноБез исполняемых скриптовНе проверенPhilosophy compliance guardian - ensures code aligns with amplihack's ruthless simplicity, brick philosophy, and Zen-like minimalism through systematic review
Об этом скилле
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")
- Dependencies and coupling
- Abstraction layers
- Configuration complexity
Red flags to watch for:
- Multiple responsibilities in one module
- Unclear module boundaries
- Deep inheritance hierarchies
- Generic "framework" code
- Future-proofing for hypothetical needs
Step 3: Philosophy Questions
Ask the 5 core questions for each component:
Necessity: "Do we actually need this right now?"
- Is this solving a real problem today?
- Or is it future-proofing for "maybe someday"?
Simplicity: "What's the simplest way to solve this problem?"
- Can we remove layers?
- Is there a more direct approach?
Modularity: "Can this be a self-contained brick?"
- Does it have ONE clear responsibility?
- Are the connection points (studs) obvious?
Regenerability: "Can AI rebuild this from a specification?"
- Is the contract clear enough?
- Are dependencies well-defined?
Value: "Does the complexity add proportional value?"
- What would break if we simplified this?
- Is the trade-off justified?
Step 4: Identify Violations
Categorize issues by severity:
CRITICAL (Must Fix):
- Multiple responsibilities in one module
- Circular dependencies
- Unclear public contracts
- Non-regeneratable designs
- Tight coupling preventing module replacement
WARNING (Should Fix):
- Premature optimizations
- Excessive configuration options
- Unnecessary abstractions
- Generic "framework" patterns
- Future-proofing without current need
SUGGESTION (Consider):
- Opportunities for simplification
- Alternative approaches with fewer dependencies
- Ways to flatten abstraction layers
- Module boundary improvements
Step 5: Generate Review Report
Create structured review output:
# Philosophy Compliance Review: [Component Name]
## Overall Score: [A/B/C/D/F]
## Summary
[One paragraph overview of findings]
## Strengths (What Aligns)
- [Philosophy-aligned patterns identified]
- [Well-implemented brick designs]
- [Clear simplicity examples]
## Concerns (Warnings)
- [Complexity that should be addressed]
- [Borderline philosophy violations]
- [Opportunities for improvement]
## Violations (Critical Issues)
- [Clear departures from philosophy]
- [Must-fix problems]
- [Blocking issues for philosophy compliance]
## Recommendations
### Immediate Actions (Critical)
1. [Specific fix required with rationale]
2. [Another critical fix]
### Structural Improvements (Important)
1. [Module boundary adjustments]
2. [Decoupling suggestions]
### Simplification Opportunities (Good to Have)
1. [Ways to reduce complexity]
2. [Abstraction removal suggestions]
## Regeneration Assessment
**Can AI rebuild these components from specifications?**
- Module A: [Ready/Needs Work] - [Specific reason]
- Module B: [Ready/Needs Work] - [Specific reason]
**What's blocking regeneration:**
- [List specific issues preventing clear AI regeneration]
## Philosophy Alignment Score
- Ruthles
Установить philosophy-compliance-workflow в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл philosophy-compliance-workflow?
Philosophy compliance guardian - ensures code aligns with amplihack's ruthless simplicity, brick philosophy, and Zen-like minimalism through systematic review
Как установить скилл philosophy-compliance-workflow?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл philosophy-compliance-workflow запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic