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

/angular-http

@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 HTTP data fetching in Angular v20+ using resource(), httpResource(), and HttpClient. Use for API calls, data loading with signals, request/response handling, and interceptors. Triggers on data fetching, API integration, loading states, error handling, or converting Observable-based HTTP to signal-based patterns.

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

Nothing lands on disk. Nothing to clean up.

Fork this Skill

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

SKILL.md

≈114 tokens for metadata: the name and description. ≈128 when used: this file.

Description uses 5.7% 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 ≈457 characters, or 5.7%.

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 HTTP & Data Fetching

⚠️ 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.

No alerts2mo5 checks · Risk SAFE
  • Gen Agent Trust Hub2mo

    This skill is a placeholder that notifies users of its deprecation and directs them to official Angular repositories. It contains no executable code or instructions that could compromise security.

  • Socket2mo

    No alerts

  • 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
  • http
  • signals
  • httpclient
  • data-fetching
  • interceptors
  • error-handling
  • rxjs
  • async

README badge

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

Implements HTTP data fetching in Angular v20+ using signal-based `httpResource()`, generic `resource()`, and traditional `HttpClient`. Covers reactive request triggering, loading states, error handling, and functional interceptors for authentication and logging.

Generated from the current SKILL.md.

Does this skill cover Angular v20+?
Yes, the skill focuses on Angular v20+ with signal-based resource() and httpResource() patterns, plus traditional HttpClient for backwards compatibility.
Can I use httpResource() with POST, PUT, and PATCH requests?
httpResource() is primarily designed for GET requests with the examples shown. For mutation operations, you would typically use HttpClient directly or create custom resource loaders.
How do I convert existing Observable-based HTTP calls to signals?
Use the toSignal() utility from @angular/core/rxjs-interop to wrap HttpClient observables, or switch to httpResource() for cleaner signal-based state management.
Does this cover error handling and retry logic?
Yes. The skill shows error handling with httpResource's error() signal, error.interceptor examples, and RxJS operators like catchError() and retry() for HttpClient.
What's the difference between httpResource() and resource()?
httpResource() is a wrapper around HttpClient for HTTP-specific operations, while resource() is generic for any async loader function including non-HTTP calls like fetch().

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