GitHub CopilotAngularArchitecture

Angular GitHub Copilot Instructions

GitHub Copilot instructions for Angular 17+: signals, standalone components, and modern Angular patterns.

.github/copilot-instructions.md
- Generate standalone components with signals for reactive state
- Apply OnPush change detection strategy to all new components
- Use Angular Signals API (signal, computed, effect) for all reactive state
- Generate feature modules as lazy-loaded routes; never eager-load feature code
- Use the inject() function in constructors and class fields for DI
- Apply Angular's new control flow syntax (@if, @for, @switch) in templates
- Generate TypeScript-strict Angular code; no implicit any
- Use NgRx with createFeature and createActionGroup for complex state

How to use with GitHub Copilot

Create `.github/copilot-instructions.md` in your repository. GitHub Copilot uses these to customize suggestions across your whole repo.

#angular#signals#copilot#github#coding-rules

Related Rules