What problem does it solve?
This Skill prevents Angular projects from becoming unmaintainable by enforcing consistent, shared-vs-local code placement and modern Angular 20+ architecture patterns.
Core Features & Use Cases
- Standalone-first Angular 20+ architecture: Requires standalone components, signal-driven state management, OnPush change detection, and modern template syntax (e.g., @if/@for/@switch, @defer).
- Unbreakable Scope Rule: Forces a strict decision boundary so code used by 2+ features goes in shared/global directories, while code used by only 1 feature stays local with no exceptions.
- Screaming Architecture: Structures folders so feature names describe business functionality, with main components matching feature names for instant readability.
- Practical re-structure guidance: Uses a decision framework to count feature usage, validate against Angular best practices, and document placement decisions.
Quick Start
Apply the scope rule when you add a new component or service by counting exactly how many features consume it, then place it in shared/global only when it is used by 2+ features and keep it local otherwise.