module-decomposition
CommunityRefactor large modules without breaking behavior.
Software Engineering#refactoring#TypeScript#architecture planning#module decomposition#frontend runtime#dependency topology#no-loss pruning
Authoryoyooyooo
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Helps you safely decompose oversized or overly entangled modules into mutually exclusive submodules without changing external semantics, reducing coupling and conflict surface during planning or implementation.
Core Features & Use Cases
- 无损修剪不变量保障: Preserves exported semantics and enforces a one-way import topology, treating cycles as boundary-design failures.
- Two decomposition shapes: Supports flat tiling for a single主体 and directory-based organization for subsystem-style decomposition, preventing directory drift.
- Agent-friendly handoff protocol: Produces a standardized Decomposition Brief (mutually exclusive submodule list, naming/landing, dependency topology, migration steps, validation strategy) that can be pasted into any workflow artifact.
Quick Start
Ask an AI to “scan the target TypeScript codebase for files ≥ 1000 LOC, then produce a Decomposition Brief that defines mutually exclusive submodules, their allowed dependency direction, and a step-by-step no-loss pruning migration plan for each candidate.”
Dependency Matrix
Required Modules
None requiredComponents
scriptsreferences
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: module-decomposition Download link: https://github.com/yoyooyooo/logix/archive/main.zip#module-decomposition Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.