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
TypeScript GitHub Copilot Instructions
GitHub CopilotTypeScript
GitHub Copilot custom instructions for TypeScript: strict types, modern patterns, and team conventions.
Code Style
typescript · copilotCopy Ready
React GitHub Copilot Instructions
GitHub CopilotReact
GitHub Copilot instructions for React: hooks, patterns, and best practices for modern React apps.
Code Style
react · copilotCopy Ready
Next.js GitHub Copilot Instructions
GitHub CopilotNext.js
GitHub Copilot custom instructions for Next.js App Router projects.
Architecture
nextjs · copilotCopy Ready
Java GitHub Copilot Instructions
GitHub CopilotJava
GitHub Copilot instructions for Java 21: virtual threads, records, sealed types, and modern Spring Boot patterns.
Code Style
java · springCopy Ready