angular
Angular has its own patterns, and generic advice gets them wrong.
Angular engineering guidance for meaningful component, form, data-access, state-management, testing, or architecture work. Use when implementing, refactoring, reviewing, or designing Angular features; inspect the repository and affected feature first, then load only the relevant specialist reference. Do not load specialist references for trivial, local edits that do not need Angular design judgement.
Optional skill
A run uses this skill only in one situation. When you need it: Angular repositories only.
References, loaded only when a task needs them:
Skill instructions
The agent loads the instructions below when a task needs this skill, from skills/angular/SKILL.md.
Full skill instructions
Provide Angular-specific engineering judgement, not a global style guide. The task and product behavior come first, followed by documented project principles, intentional local patterns and closest analogues, and broader repository evidence. Use this skill to interpret those constraints rather than to override them.
Before Deciding
For meaningful Angular work:
- Inspect the Angular version, installed packages, workspace configuration, validation scripts, and relevant repository instructions.
- Inspect the affected feature and its closest analogue. Look for the existing component, forms, data, state, dependency-injection, template, and test approaches rather than inferring policy from framework age alone.
- Distinguish an intentional local pattern from a repository-wide majority, and both from accidental legacy code. Use
repo-contextwhen a repository- wide map is needed, then verify its observations locally. - Define ownership before selecting an API: who owns the state, request, validation, side effect, or public contract, and what lifecycle should it have?
Use the narrowest change that preserves the feature's behavior. Do not introduce a newer Angular API, abstraction, migration, or folder taxonomy just because it is available or fashionable. Confirm compatibility with the installed Angular and library versions.
Specialist References
Read only the references relevant to the task. Read more than one when the feature crosses concerns.
| Concern | Read when |
|---|---|
| Components | Designing or refactoring component boundaries, APIs, templates, or local reactive state. |
| Forms | Modelling fields, validation, editing, submission, or form migration. |
| Data access | Choosing or implementing server requests, loading/error state, caching, or concurrency. |
| State management | Deciding whether state should be shared, derived, normalized, or held in a store. |
| Testing | Writing or reshaping Angular component, service, directive, pipe, or state tests. |
| Architecture | Changing feature boundaries, dependency direction, public APIs, lazy boundaries, or abstractions. |
references/components.mdreferences/forms.mdreferences/data-access.mdreferences/state-management.mdreferences/testing.mdreferences/architecture.md
Guardrails
Prefer reasoning that explains a trade-off over unconditional prescriptions. Do not use this skill to replace compiler, formatter, linter, test-runner, or architecture tooling. Mechanical naming, syntax, import-boundary, formatting, and configuration rules belong in repository checks when they matter.
For a typo, isolated copy change, or similarly trivial edit, follow the local file and do not load specialist references. For implementation that affects ownership, lifecycle, boundaries, or observable behavior, load the smallest relevant set and validate against the repository's existing checks.