angular-spa
Comprehensive workflow management for Angular and Nx repository development.
Install
mkdir -p .claude/skills/angular-spa && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/18606" && unzip -o skill.zip -d .claude/skills/angular-spa && rm skill.zipInstalls to .claude/skills/angular-spa
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Govern implementation, refactoring, bug-fix, audit, review, testing, and migration work in this repository’s Angular/Nx SPA. Use for every task that reads or changes Angular, TypeScript, templates, CSS, NgModules, routes, NGXS, RxJS, HTTP/data access, tests, Nx configuration, or Angular/Nx governance.Key capabilities
- →Govern implementation work in Angular/Nx SPA
- →Refactor Angular components and code
- →Fix bugs in Angular/Nx monorepo
- →Perform architecture audits for Angular applications
- →Review pull requests for Angular/Nx changes
- →Manage migration work in Angular/Nx SPA
How it works
This skill governs Angular/Nx SPA development by enforcing repository standards and configurations before and during implementation.
Inputs & outputs
When to use angular-spa
- →Refactor Angular components
- →Fix bugs in Angular/Nx monorepo
- →Perform code reviews for Angular
- →Run workspace migrations
About this skill
Angular/Nx SPA Skill
Required workflow
- Read
AGENTS.md, applicable scopedAGENTS.mdfiles, and this skill before editing. - Inspect
package.json,project.json,nx.json, and relevant compiler/lint configuration to establish installed Angular/Nx versions, project type, available targets, and constraints. Do not apply a newer Angular convention merely because it exists. - Identify task type and read the supporting standards below that apply. Read all applicable files before implementation, not after it.
- Inspect nearby implementation, tests, registrations, and equivalent patterns. Preserve observable behavior unless explicitly changing it.
- Capture
git status --short; never overwrite unrelated dirty work. - Identify focused and broader validation before modifying files.
- Implement the smallest coherent change, then treat it as a draft: execute the self-review, correct issues, and rerun validation.
Current repository constraints
- Angular and Nx versions must be read from
package.jsonfor every task. This skill was calibrated against Angular 21.2 and Nx 22.7, but it is not a license to migrate. - Preserve the current NgModule bootstrap, module routing, and NGXS architecture unless explicitly authorized otherwise.
- This is currently one
type:appNx project, not a library workspace. The Nx taxonomy below is a guardrail for future authorized restructuring, not permission to create libraries or tags. - Use Jasmine, Karma, Angular TestBed, strict TypeScript, strict templates, Angular Material/CDK, RxJS, NGXS, dynamic-mapper, Sentry, and OpenTelemetry consistently with nearby code.
Read the applicable supporting standards
- Always: architecture, TypeScript, and review and validation.
- Components, directives, pipes, templates, forms, or styles: components and templates.
- NGXS, signals, RxJS, APIs, providers, mappings, or errors: state, RxJS, and data access.
- Tests or changed behavior: testing.
- User input, DOM, auth/permissions, telemetry, charts, performance, or user-facing UI: security, accessibility, and performance.
Non-negotiable decisions
- Order decisions by correctness, security, data integrity, behavior preservation, simplicity, readability, maintainability, testability, accessibility, then measured performance.
- Apply KISS, YAGNI, DRY, SOLID, high cohesion, low coupling, composition over inheritance, and the Law of Demeter pragmatically. Introduce an abstraction only for an observed present problem.
- Keep clear ownership. Do not use
sharedas a dumping ground, deep-import another library’s internals, introduce a competing state library, injectHttpClientinto a component, or bypass established mapping/error/telemetry boundaries. - Keep the scope narrow. Do not perform standalone, zoneless, signals, state-library, or folder migrations without explicit authorization.
- Never hide a problem with
any,@ts-ignore,@ts-expect-error, a broad lint disable,--force,--legacy-peer-deps, test deletion/skipping, weakened strict settings, commented-out old code, or a placeholder. - Quantitative limits are design signals, not targets to game. Record a narrow exception with exact path, threshold, reason, why decomposition is worse, and removal/review condition.
Task-type rules
| Task | Required outcome |
|---|---|
| Implementation | Change only authorized scope; cover meaningful changed behavior. |
| Bug fix | Reproduce or explain root cause; add a regression test when practical; avoid symptom-only fixes. |
| Refactoring | Preserve observable behavior; add characterization coverage when it is inadequately protected. |
| Architecture audit | Produce evidence and a remediation plan before broad changes; do not modernize application code without authorization. |
| PR review | Inspect the complete diff against the correct base; report severity and evidence; do not edit unless asked. |
| Standards-only | Modify only governance files; validate links and scope; do not change runtime behavior. |
Use the pre-change checklist and self-review checklist. Use prompt templates as task starters, never as authority over this skill.
When not to use it
- →When the task is not related to Angular/Nx SPA development.
- →When the task involves standalone, zoneless, or signals migrations without explicit authorization.
- →When the task requires creating new libraries or tags in a `type:app` Nx project.
Limitations
- →This skill does not license migration to newer Angular conventions.
- →This skill does not permit creating libraries or tags in a `type:app` Nx project.
- →This skill does not authorize standalone, zoneless, signals, state-library, or folder migrations without explicit authorization.
How it compares
This skill provides a structured, standards-driven approach to Angular/Nx development, unlike an unguided implementation.
Compared to similar skills
angular-spa side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| angular-spa (this skill) | 0 | 16d | No flags | Advanced |
| dependency-upgrade | 26 | 4mo | Review | Intermediate |
| angular-best-practices | 21 | 2mo | No flags | Advanced |
| typescript | 28 | 1mo | No flags | Beginner |
Try saying
Example prompts that trigger this skill in your AI assistant.
You might also like
dependency-upgrade
wshobson
Manage major dependency version upgrades with compatibility analysis, staged rollout, and comprehensive testing. Use when upgrading framework versions, updating major dependencies, or managing breaking changes in libraries.
angular-best-practices
sickn33
Angular performance optimization and best practices guide. Use when writing, reviewing, or refactoring Angular code for optimal performance, bundle size, and rendering efficiency.
typescript
lobehub
TypeScript code style and optimization guidelines. Use when writing TypeScript code (.ts, .tsx, .mts files), reviewing code quality, or implementing type-safe patterns. Triggers on TypeScript development, type safety questions, or code style discussions.
typescript-skills
llama-farm
Shared TypeScript best practices for Designer and Electron subsystems.
lint-and-validate
davila7
Automatic quality control, linting, and static analysis procedures. Use after every code modification to ensure syntax correctness and project standards. Triggers onKeywords: lint, format, check, validate, types, static analysis.
agent-implementer-sparc-coder
ruvnet
Agent skill for implementer-sparc-coder - invoke with $agent-implementer-sparc-coder