angularlisted
Install: claude install-skill arbazkhan971/godmode
# Angular — Angular Architecture
## Activate When
- User invokes `/godmode:angular`
- User says "build an Angular app", "Angular component", "NgRx", "Angular signals", "RxJS"
- User says "standalone components", "Angular modules", "lazy loading"
- When creating or scaffolding an Angular application
- When `/godmode:plan` or `/godmode:review` identifies Angular work
## Workflow
### Step 1: Project Discovery
```
ANGULAR PROJECT ASSESSMENT:
Angular version: <14-18+>
Architecture: <NgModule | Standalone | Mixed>
State: <NgRx | Signals | Services | NGXS | none>
Routing: <Lazy-loaded modules | Standalone routes | eager>
UI: <Angular Material | PrimeNG | ng-bootstrap | custom>
Testing: <Jasmine+Karma | Jest | Vitest>
Build: <Angular CLI esbuild | Nx | custom>
SSR: <Angular SSR v17+ | Universal | none>
TypeScript strict: <yes | no>
```
If starting fresh, ask: "What are you building? SSR needed? Scale (enterprise vs small)?"
### Step 2: NgModules vs Standalone
```
DECISION:
NgModules: All versions, high boilerplate, module imports, loadChildren, well-established enterprise
Standalone: 14+ (mature 17+), low boilerplate, component imports, loadComponent, better tree-shaking
RULES:
- New projects Angular 17+: default to standalone
- Existing NgModule projects: migrate incrementally with standalone: true
- Mixed is acceptable during migration — establish timeline to complete
```
### Step 3: Component Architecture
Use `OnPush` change detection on all components. Signal-based i