angular-standard
Skill2 starsChanged 5 days agoMITView on GitHub
Standards and workflows for implementing, reviewing, debugging, modernizing, and scaffolding Angular applications. Use when working on Angular components, standalone imports, templates, signals, RxJS, forms, Angular Material, routing, guards, resolvers, HttpClient services, interceptors, styling, accessibility, tests, CLI generators, migrations, or new Angular app setup. Prefer this skill for existing Angular repositories where the agent must detect the Angular version and follow local conventions before applying modern Angular patterns.
In this repository50 other files it gives its agents.
- business-analyst-standardSkill
- execute-browser-verifySkill
- execute-build-testSkill
- execute-debug-evidenceSkill
- execute-implementationSkill
- jira-ba-dev-test-flowSkill
- nestjs-standardSkill
- professional-slidesSkill
- python-standardSkill
- senior-angularSkill
- senior-api-designSkill
- senior-backend-engineerSkill
- senior-business-analystSkill
- senior-cicdSkill
- senior-cloud-serverSkill
- senior-code-reviewSkill
- senior-delivery-orchestratorSkill
- senior-designSkill
- senior-dockerSkill
- senior-dotnetSkill
- senior-flutterSkill
- senior-frontend-engineerSkill
- senior-git-workflowSkill
- senior-goSkill
- senior-java-springSkill
- senior-kubernetesSkill
- senior-manual-testingSkill
- senior-mongodbSkill
- senior-mysqlSkill
- senior-nestjsSkill
- senior-nextjsSkill
- senior-nodejsSkill
- senior-observabilitySkill
- senior-performanceSkill
- senior-postgresqlSkill
- senior-python-backendSkill
- senior-react-nativeSkill
- senior-reactSkill
- senior-redisSkill
- senior-refactoringSkill
- senior-securitySkill
- senior-sql-serverSkill
- senior-tech-leadSkill
- senior-technical-writingSkill
- senior-terraformSkill
- senior-test-automationSkill
- senior-test-engineerSkill
- senior-vueSkill
- solution-architect-standardSkill
- tester-standardSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
16 rules. About 0 are common, 10 are distinctive, and 6 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈10
Distinctive · estimate
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Use this skill to make Angular changes that fit the project in front of you.
- Distinctive: line 13
Prefer Angular CLI generators and migrations for Angular-specific structure changes when available.
- Distinctive: line 17
Keep components focused on presentation and interaction.
- Very specific: line 18
Verify with the narrowest useful commands: ng build, targeted tests, lint/typecheck, and browser checks for visible UI work.
- Distinctive: line 22
Before changing Angular code, identify:
- Distinctive: line 30
Test stack: Karma/Jasmine, Jest, Vitest, Cypress, Playwright, Angular testing harnesses.
- Distinctive: line 34
Read only the reference files needed for the task:
- Distinctive: line 43
Do not load every reference by default.
- Very specific: line 48
Use ng generate for new Angular artifacts when it will preserve project configuration.
- Distinctive: line 49
Update TypeScript, template, stylesheet, and tests as one behavioral change.
- Very specific: line 53
Run ng build when feasible after code generation or template changes.
- Distinctive: line 57
When creating a new Angular app:
- Distinctive: line 59
Use the requested Angular version if the user specifies one.
- Very specific: line 60
If no version is specified, use the available Angular CLI or npx @angular/cli@latest.
- Very specific: line 61
Prefer ng new <name> --interactive=false with flags chosen from requirements, such as --routing, --style=scss, --ssr, --prefix, and …
- Very specific: line 63
Run ng build and fix errors before handing off.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Angular Standard
Use this skill to make Angular changes that fit the project in front of you. First detect the Angular version and local conventions, then choose the smallest modern pattern that is supported by that version.
Operating Rules
- Inspect
package.json,angular.json,tsconfig*.json, and nearby feature files before editing. - Prefer Angular CLI generators and migrations for Angular-specific structure changes when available.
- Match the installed Angular version. Do not use APIs such as signal forms,
resource, or newer standalone defaults unless the project version supports them. - Preserve local architecture: standalone components vs NgModules, Material vs custom UI, RxJS services vs signal stores, external templates vs inline templates, and existing naming conventions.
- For standalone components, every directive, pipe, component, and Angular Material module used by the template must be present in
imports. - Keep components focused on presentation and interaction. Put shared data access, API calls, and state coordination in services or existing stores.
- Verify with the narrowest useful commands:
ng build, targeted tests, lint/typecheck, and browser checks for visible UI work.
Discovery Checklist
Before changing Angular code, identify:
- Angular version, CLI version, package manager, scripts, and builder.
- Project style: standalone components, NgModules, or a mixed migration state.
- Template syntax: built-in control flow (
@if,@for,@switch) vs structural directives (*ngIf,*ngFor). - State/reactivity style: signals, RxJS subjects/observables, NgRx, ComponentStore, custom services.
- Forms style: reactive forms, template-driven forms, signal forms, or library-specific forms.
- UI library: Angular Material, CDK, Tailwind, Bootstrap, custom design system.
- Test stack: Karma/Jasmine, Jest, Vitest, Cypress, Playwright, Angular testing harnesses.
Reference Routing
Read only the reference files needed for the task:
references/cli-projects.md: new apps, CLI generation, migrations, builds, dependency changes.references/components-reactivity.md: components, standalone imports, templates, inputs/outputs, signals, RxJS interop.references/forms-routing.md: reactive/template/signal form decisions, routes, guards, resolvers, router testing.references/services-http-state.md: services, DI, HttpClient, interceptors, API state, error/loading handling.references/material-styling-accessibility.md: Angular Material imports, styling, Tailwind, accessibility, ARIA, animations.references/testing-review.md: unit/component/e2e tests, harnesses, review checklist, modernization safety.
Do not load every reference by default. Load the smallest relevant set, then inspect source files around the requested change.
Implementation Workflow
- Find the closest existing component/service/route/form/test and mirror its style.
- Use
ng generatefor new Angular artifacts when it will preserve project configuration. - Update TypeScript, template, stylesheet, and tests as one behavioral change.
- For templates, ensure all imports are present and every
@forhas a stabletrackexpression when using built-in control flow. - For forms, choose the form style already used in the feature unless creating a new app or the user requests modernization.
- For API calls, use existing API services/interceptors/base URLs rather than creating one-off
HttpClientcalls in components. - Run
ng buildwhen feasible after code generation or template changes. Run targeted tests for logic, routing, forms, and component behavior.
New App Workflow
When creating a new Angular app:
- Use the requested Angular version if the user specifies one.
- If no version is specified, use the available Angular CLI or
npx @angular/cli@latest. - Prefer
ng new <name> --interactive=falsewith flags chosen from requirements, such as--routing,--style=scss,--ssr,--prefix, and--ai-config=agentswhen supported. - Build at least the requested usable feature before starting a dev server.
- Run
ng buildand fix errors before handing off.
Review Workflow
For Angular reviews, prioritize findings in this order:
- Template/runtime errors from missing imports, wrong control flow, nullish access, or version-incompatible APIs.
- Security issues: unsafe HTML, URL injection, auth guards mistaken for server security, leaking tokens.
- Broken data flow: subscriptions that leak, effects used to propagate state, duplicated sources of truth.
- Forms and routing regressions: validators not wired, guards/resolvers returning wrong types, route order mistakes.
- Accessibility and usability gaps in custom controls, dialogs, menus, tables, and forms.
- Missing tests for changed behavior and brittle tests that mock Angular primitives instead of using TestBed/harnesses.
Mention when guidance is version-gated or inferred from the installed packages.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

