bedkillerspacex-boop/codex-skill-library/angular-signals-basics
Claude Code and agent skill by bedkillerspacex-boop/codex-skill-library
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Angular Signals basics for owned apps: signal/computed/effect, OnPush interoperability, migrating from RxJS-heavy patterns where appropriate, and avoiding effect anti-patterns. Use when adopting Signals for local state and performance-friendly reactivity — not as a replacement for Angular security review.
Install
npx vskill@latest install bedkillerspacex-boop/codex-skill-library/angular-signals-basicsSKILL.md
The same SKILL.md was published earlier as bedkillerspacex-boop/codex-skill-library/angular-signals-basics.
Angular Signals Basics
Scope And Authorization
- In scope: Angular codebases you maintain.
- Out of scope: Blind rewrites of production without tests; using this skill for XSS (see security skill).
- Prefer incremental migration with feature flags.
- Pair with
code-quality-standardsandtypescript-style-and-eslint.
When To Use
- Introducing
signal,computed,effectin components/services. - Replacing simple
BehaviorSubjectlocal state with Signals. - Improving change detection with Signals + OnPush.
- Debugging infinite
effectloops or impure effects.
Do Not Use As Primary
| Need | Skill instead | |
|---|---|---|
| Angular XSS/CSRF/auth | angular-security-basics | |
| SSR hydration | angular-ssr-hydration | |
| Global state architecture debates | state-management-guidelines | |
| Implementation quality baseline | code-quality-standards |
Domain Focus
| API | Role | |
|---|---|---|
signal(v) | Writable reactive value | |
computed(() => …) | Derived pure value | |
effect(() => …) | Side effects (use sparingly) | |
update / set / mutate | Write patterns (API evolves) | |
| RxJS interop | toSignal / toObservable when needed | |
| Inputs as signals | input() signal inputs (modern Angular) |
Workflow
1. Confirm version and success criteria
- Record Angular version (Signals maturity differs).
- Success: clearer local state; fewer manual subscriptions; tests green; no effect-driven spaghetti.
- Choose pilot component (non-critical).
2. Local state with signals
3. Effects — disciplined use
| Rule | Why | |
|---|---|---|
| Keep effects pure-ish | Avoid writing multiple signals that re-trigger unboundedly | |
| Don’t replace all RxJS | Streams, cancellation, complex async still RxJS-friendly | |
| Prefer computed | Derived state should not be effect+set |
4. Interop with RxJS
- Specify
initialValue/requireSynccarefully. - Unsubscribe concerns handled by interop when used correctly — still avoid leaks in manual subs.
5. Migration strategy
- New code: signals for component-local UI state.
- Shared async domain state: keep established store/Rx patterns until ready.
- Convert one service at a time; keep public API stable.
- Enable strict templates; fix
countvscount()mistakes.
6. Verify
7. Hand off
- Team convention doc: when signal vs RxJS.
- Lint for excessive effects if available.
- Security still via
angular-security-basics.
Good / Bad
| Topic | Good | Bad | |
|---|---|---|---|
| Derived state | computed | effect that sets derived | |
| Async | Explicit load methods / rx | Unbounded fetch in effect | |
| Migration | Incremental pilot | Big-bang rewrite | |
| Templates | Call signals as functions | Forget () and wonder |
Output Checklist
- [ ] Angular version supports planned Signals features
- [ ] Pilot component migrated with tests
- [ ] computed used for derived values
- [ ] effects limited and reviewed
- [ ] RxJS interop boundaries clear
- [ ] Build/test green
- [ ] Team conventions documented
- [ ]
code-quality-standardsapplied
Rules
- Owned codebases only.
- Prefer computed over effect for derived state.
- Do not treat Signals as a security control.
- Migrate incrementally with tests.
- Keep async cancellation and error handling explicit.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingangular-signals-basics/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/bedkillerspacex-boop/codex-skill-library/angular-signals-basics)