smithery/zby

decomplect-py

Architectural code analysis for Python design quality. Evaluates simplicity (Rich Hickey), functional core/imperative shell (Gary Bernhardt), and coupling (Constantine & Yourdon). Use for design review or architectural assessment of Python code.

Installation

$ npx skills add smithery/zby --skill decomplect-py

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,785 B
  • docs SUMMARY.md 266 B

History

  1. First recorded snapshot · 0 installs

SKILL.md

Decomplect-Py

Architectural analysis for Python design quality.

Usage

/decomplect-py                # Run all 3 analyzers in parallel
/decomplect-py --simplicity   # Specific analyzer
/decomplect-py --fcis         # Specific analyzer
/decomplect-py --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 Python system design
  • Before major refactoring
  • Assessing architectural quality
  • Checking if code is "Rich Hickey approved"

Supported Languages

  • Python (.py files only)

Python-Specific Patterns

  • dataclasses(frozen=True) and NamedTuple for immutable values
  • Mutable default argument anti-patterns
  • Django/Flask view architecture
  • Circular import detection
  • Module-level state analysis

Reference Documentation

  • [Rich Hickey Principles](reference/rich-hickey.md)
  • [Functional Core/Imperative Shell](reference/fcis.md)
  • [Cohesion & Coupling](reference/coupling.md)

See Also

  • /decomplect - Analysis for TypeScript/Go/Rust
  • /unslopify - Tactical code cleanup