angular-developer

Generates Angular code and provides architectural guidance for components, signals, forms, routing, and testing.

Updated Jul 16, 2026
One-click install
npx skills add https://github.com/Carl-Fabri/TestAngularSpecDriven --skill angular-developer-carl-fabri
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: angular-developer
Source: https://github.com/Carl-Fabri/TestAngularSpecDriven/tree/main/.agents/skills/angular-developer
Command: npx skills add https://github.com/Carl-Fabri/TestAngularSpecDriven --skill angular-developer-carl-fabri

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Building modern Angular applications requires keeping up with rapidly evolving APIs like signals, signal forms, and standalone components. This Skill provides version-aware guidance and code generation so you avoid deprecated patterns and follow current Angular best practices. ## Core Features & Use Cases - Project Scaffolding: Creates new Angular projects with the correct CLI command based on requested versions and local installations, then verifies with ng build. - Modern Reactivity Guidance: Implements signals, computed, linkedSignal, resource, and effects correctly, avoiding common anti-patterns like state propagation in effects. - Comprehensive Coverage: Provides reference documentation for components, dependency injection, routing, forms (signal, template-driven, reactive), Angular Aria accessibility, styling, animations, testing, and CLI tooling. - Use Case: Ask the AI to create a new Angular v21 project with a signal-based form and lazy-loaded routes, and it will scaffold the project, generate components via the CLI, and verify the build passes. ## Quick Start Create a new Angular project called my-app with a signal-based contact form and verify it builds successfully.

Frequently Asked Questions about angular-developer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a new Angular project with the CLI?

Run ng new <project-name> if the Angular CLI is installed locally, or npx @angular/cli@latest new <project-name> to fetch the latest version. For a specific version like Angular 15, use npx @angular/cli@15 new <project-name>.

How do I use signals for state management in Angular?

Use signal() for writable state, computed() for strictly derived values, and linkedSignal() when derived state must remain user-editable. Avoid using effect() to sync state between signals, as that causes errors and infinite loops.

Should I use signal forms or reactive forms in Angular?

For Angular v21 and newer, prefer signal forms for new form implementations. For older applications or existing forms, continue using the form strategy already established in the project, whether template-driven or reactive forms.

Does Angular support lazy loading routes?

Yes, use loadComponent to lazy-load a single component or loadChildren to lazy-load a set of routes. Loader functions run in an injection context, so you can call inject() to make context-aware loading decisions.

When should I use effect versus computed in Angular?

Use computed() for state derived from other signals and effect() only for syncing signals to imperative APIs like logging, localStorage, or third-party DOM libraries. Never call set() or update() inside an effect to propagate state.

How do I test Angular components with harnesses?

Use TestbedHarnessEnvironment.loader(fixture) to get a HarnessLoader, then call loader.getHarness() with a harness class like MatButtonHarness. Harness APIs like click() and getText() handle async operations and change detection automatically.