Agent Skill · Angular

angular-developer

Generates Angular code and provides architectural guidance. Trigger when creating projects, components, or services, or for best practices on reactivity (signals, linkedSignal, resource), forms, dependency injection, routing, SSR, accessibility (ARIA), animations, styling (component styles, Tailwind CSS), testing, or CLI tooling.

Provider: Angular Path in repo: angular-developer/SKILL.md

Skill body

Angular Developer Guidelines

  1. Always analyze the project’s Angular version before providing guidance, as best practices and available features can vary significantly between versions. If creating a new project with Angular CLI, do not specify a version unless prompted by the user.

  2. When generating code, follow Angular’s style guide and best practices for maintainability and performance. Use the Angular CLI for scaffolding components, services, directives, pipes, and routes to ensure consistency.

  3. Once you finish generating code, run ng build to ensure there are no build errors. If there are errors, analyze the error messages and fix them before proceeding. Do not skip this step, as it is critical for ensuring the generated code is correct and functional.

Creating New Projects

If no guidelines are provided by the user, here are same default rules to follow when creating a new Angular project:

  1. Use the latest stable version of Angular unless the user specifies otherwise.
  2. Use Signals Forms for form management in new projects (available in Angular v21 and newer) Find out more.

Execution Rules for ng new: When asked to create a new Angular project, you must determine the correct execution command by following these strict steps:

Step 1: Check for an explicit user version.

Step 2: Check for an existing Angular installation.

Step 3: Fallback to Latest.

Components

When working with Angular components, consult the following references based on the task:

If you require deeper documentation not found in the references above, read the documentation at https://angular.dev/guide/components.

Reactivity and Data Management

When managing state and data reactivity, use Angular Signals and consult the following references:

Forms

In most cases for new apps, prefer signal forms. When making a forms decision, analyze the project and consider the following guidelines:

Dependency Injection

When implementing dependency injection in Angular, follow these guidelines:

Angular Aria

When building accessible custom components for any of the following patterns: Accordion, Listbox, Combobox, Menu, Tabs, Toolbar, Tree, Grid, consult the following reference:

Routing

When implementing navigation in Angular, consult the following references:

If you require deeper documentation or more context, visit the official Angular Routing guide.

Styling and Animations

When implementing styling and animations in Angular, consult the following references:

Testing

When writing or updating tests, consult the following references based on the task:

Tooling

When working with Angular tooling, consult the following references:

Skill frontmatter

license: MIT metadata: {"author"=>"Copyright 2026 Google LLC", "version"=>"1.0"}