| name | angular-decomposition-governance |
| description | Enforce optimal Angular component decomposition in Nx workspaces. |
| tags | ["governance","angular"] |
Angular Decomposition Governance
What this skill does
- Classify components: page, container, presentational, ui-primitive, form-control
- Detect anti-patterns: mixed responsibilities, large Inputs/Outputs, prop drilling, unnecessary CVA
- Produce a deterministic refactoring plan and target structure
Output contract
Return sections in this order:
- Classification table
- Issues by severity
- Score 0-100
- Refactoring actions
- Target component tree
Allowed actions:
- extract presentational component
- introduce container or facade
- merge components
- move to correct Nx library
- replace CVA with simple component
- convert to ViewModel input