返回 Skill 列表
extension
分类: 开发与工程无需 API Key

decomplect

架构代码分析用于设计质量评估。评估简洁性(Rich Hickey)、功能核心/命令式外壳(Gary Bernhardt)和耦合度(Constantine & Yourdon)。可用于设计审查或架构评估。

person作者: jakexiaohubgithub

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

See Also

  • /unslopify - Tactical code cleanup (types, SRP, fail-fast)