What problem does it solve?
This Skill addresses the 'god component' or 'fat viewer' problem where a single UI component becomes unmanageable by owning all data, mutations, and host integrations, making it impossible to reuse subsets of the feature in different contexts.
Core Features & Use Cases
- Module-Graph Splitting: Decouples domain capabilities into independent atoms that can be mounted or omitted by different hosts.
- State Sinking: Ensures domain state, fetch logic, and mutation handlers reside within the atom that requires them, preventing unnecessary state leakage to the assembler.
- Use Case: When building a complex 'Acceptance' feature that needs to appear in a full-featured app, a mobile view, and a public share page, this Skill guides the decomposition so the share page only ships the necessary read-only atoms, reducing bundle size and complexity.
Quick Start
Analyze the current domain component and identify which capabilities can be extracted into independent atoms based on host-specific mounting requirements.