What does this skill do?

The Angular Skill Development tool generates high-quality Angular code and provides architectural guidance for projects, components, and services. It covers reactivity with Signals, forms, dependency injection, routing, SSR, accessibility, and testing, always following the framework's official style guide.

Project Scaffolding
Create new Angular projects, libraries, or applications using the CLI and the latest stable version.
Reactivity with Signals
Implement reactive state using `signal`, `computed`, and `linkedSignal`, while avoiding common anti-patterns.
Guards and Routing
Configure routing, lazy loading, guards, and resolvers following the framework's best practices.
Testing Angular
Write and debug Angular-specific unit and E2E tests with the correct configuration.

Usage examples

🆕 New project
Create a new Angular project named "my-store" using the latest stable version of the CLI.
📡 Status with Signals
Create a shopping cart component using Signals that calculates the total number of items using `computed`.
🛡️ Highway Patrol
Create an AuthGuard in Angular that protects routes and redirects to the login page if there is no session.
🧪 Unit test
Write a unit test for an Angular component that uses a service with dependency injection.

Features

Generation with Angular CLI Use the CLI to scaffold components, services, directives, pipes, guards, and resolvers.
Modern Reactivity with Signals Provides guidance on using `signal`, `computed`, `linkedSignal`, and `resource`, while avoiding anti-patterns such as using `effect` for derived state.
Verification with ng build Run `ng build` after generating the code to ensure there are no errors before deploying it.
Form Management Prefer Signal Forms for new apps and adhere to the existing strategy for legacy projects.
Official Style Guide All code follows the official Angular style guide, prioritizing performance and maintainability.

Frequently asked questions

It is not required. The skill checks whether it is installed using `ng version`, and if not, it uses `npx @angular/cli@latest` to get the latest version.
Review the project version before generating code. If it is a new project, use the latest stable version unless otherwise specified.
Prioritize Signals for new state (signal, computed, linkedSignal). In existing projects, adhere to the existing form and reactivity strategy.
Yes. The generated code belongs to you and follows the official style guide, but you can adapt it to the specific needs of your project.
Angular Development — Code and Architecture with Claude AI

¿Prefieres escuchar el contenido? Genera la narración de audio con un clic.