Agent skill
decomplect
Architectural code analysis for design quality. Evaluates simplicity (Rich Hickey), functional core/imperative shell (Gary Bernhardt), and coupling (Constantine & Yourdon). Use for design review or architectural assessment.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/development/decomplect
SKILL.md
Decomplect
Architectural analysis for design quality.
Usage
/decomplect # Run all 3 analyzers in parallel
/decomplect --simplicity # Specific analyzer
/decomplect --fcis # Specific analyzer
/decomplect --coupling # Specific analyzer
Analyzers
| Analyzer | Question |
|---|---|
| simplicity-analyzer | Is this truly simple or just easy? |
| fcis-analyzer | Is pure logic separated from I/O? |
| coupling-analyzer | Are modules well-separated? |
What It Checks
| Pillar | Focus |
|---|---|
| Simplicity | Values over state, decomplected concerns |
| FCIS | Functional core (pure), imperative shell (I/O) |
| Coupling | High cohesion, low coupling |
When to Use
- Reviewing system design
- Before major refactoring
- Assessing architectural quality
- Checking if code is "Rich Hickey approved"
Supported Languages
- TypeScript / JavaScript
- Go
- Rust
Reference Documentation
- Rich Hickey Principles
- Functional Core/Imperative Shell
- Cohesion & Coupling
See Also
/unslopify- Tactical code cleanup (types, SRP, fail-fast)
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?