Index of every page on this site: llms.txt
All skills
analogjs avatar

/angular-signals

@18996fd
by analogjsanalogjs/angular-skills586 stars
67
Run it yourself

DEPRECATED - this skill is unmaintained. Use the official Angular skills at https://github.com/angular/skills instead. Implement signal-based reactive state management in Angular v20+. Use for creating reactive state with signal(), derived state with computed(), dependent state with linkedSignal(), and side effects with effect(). Triggers on state management questions, converting from BehaviorSubject/Observable patterns to signals, or implementing reactive data flows.

Use this Skill: https://skilld.dev/gh/analogjs/angular-skills/angular-signals

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈122 tokens for metadata: the name and description. ≈125 when used: this file.

Description uses 6.1% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈490 characters, or 6.1%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

Angular Signals

⚠️ Deprecated. This skill is no longer maintained, and its guidance has been removed rather than left to go stale. The Angular team now publishes official skills at angular/skills — install those instead:

npx skills add https://github.com/angular/skills

To remove these: npx skills remove analogjs/angular-skills

The previous contents of this skill remain available in this repository's git history.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

1 warning2mo5 checks · Risk SAFE
  • Gen Agent Trust Hub2mo

    This skill is a deprecation notice that directs users to official Angular resources. It does not contain any malicious code or dangerous instructions.

  • Socket2mo

    1 alert: gptAnomaly

  • Snyk2mo

    Risk: LOW · No issues

  • Runlayer9mo

    2 files scanned · No issues

  • ZeroLeaks7mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at 18996fd. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 months ago.

Steadyupdated 4 months ago
  • TypeScript
  • angular
  • signals
  • state-management
  • reactive
  • computed
  • effect
  • angular-20

README badge

README badge for analogjs/angular-skills/angular-signals

Implement signal-based reactive state management in Angular v20+, using signal() for writable state, computed() for derived state, linkedSignal() for dependent state with auto-reset, and effect() for side effects. Converts existing BehaviorSubject and Observable patterns to Angular's synchronous, fine-grained reactivity primitive.

Generated from the current SKILL.md.

Does this skill work with Angular versions before v20?
No. Signals are a v20+ feature. For earlier Angular versions, you would use RxJS Observables and BehaviorSubject patterns instead.
Can I convert existing BehaviorSubject and Observable code to signals?
Yes. The skill covers conversion patterns and includes toSignal() and toObservable() utilities for interoperability between the two systems.
How do I handle async operations and HTTP calls with signals?
Use toSignal() to convert observables (like HttpClient responses) into signals, optionally providing an initialValue or marking them as allowUndefined until data loads.
What's the difference between computed() and linkedSignal()?
computed() derives a value from signal dependencies and updates automatically. linkedSignal() also resets its value when the source signal changes, useful for dependent state like resetting a selection when options change.

Generated from the current SKILL.md. These answers refresh after source changes.