decomplect

majiayu000 的头像作者 majiayu000

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

📖 中文导读:设计质量的架构代码分析。评估简单性(Rich Hickey)、功能核心/命令外壳(Gary Bernhardt)和耦合(Constantine & Yourdon)。用于设计审查或架构评估。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。

name: decomplect description: 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.

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)