angular-error-handling

angular-error-handling is a skill for Claude Code from AgenticPawan/FullStack-Pilot. It costs 94 tokens per session (1,281 once invoked), scanned A, original, MIT.

An Angular code-review guide for handling errors across an application. Angular is a framework for building web interfaces, while .NET ProblemDetails is a standard format for describing server errors.

In plain words
What is it for?
It checks for a shared handler for unexpected errors, consistent HTTP error parsing, reusable notifications, and fallback screens for recoverable failures.
Why use it?
It helps prevent errors from disappearing into the browser console or being handled differently in every component.

Skill for Claude Code

Written for Claude Code: when-to-use in frontmatter.

Part of the pilot-angular plugin — 33 skills, 3 agents shipped together

Good fit It checks for a shared handler for unexpected errors, consistent HTTP error parsing, reusable notifications, and fallback screens for recoverable failures.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/agenticpawan/fullstack-pilot/angular-error-handling
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add AgenticPawan/FullStack-Pilot --skill angular-error-handling
Clone the repo
git clone --depth 1 https://github.com/AgenticPawan/FullStack-Pilot

Made for: Claude Code.

Or install pilot-angular, the plugin that ships this one along with the rest of its 33 skills, 3 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for angular-error-handling

README.md
[![agentmods](https://agentmods.dev/badge/skills/agenticpawan/fullstack-pilot/angular-error-handling/github.svg)](https://agentmods.dev/skills/agenticpawan/fullstack-pilot/angular-error-handling)
Your own site
<a href="https://agentmods.dev/skills/agenticpawan/fullstack-pilot/angular-error-handling"><img src="https://agentmods.dev/badge/skills/agenticpawan/fullstack-pilot/angular-error-handling/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for angular-error-handling

Your own site · 80×15
<a href="https://agentmods.dev/skills/agenticpawan/fullstack-pilot/angular-error-handling"><img src="https://agentmods.dev/badge/skills/agenticpawan/fullstack-pilot/angular-error-handling.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 94 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,281 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00094 $0.01281
Opus 5.5 $0.00038 $0.00512
Sonnet 5.5 $0.00019 $0.00256
Haiku 4.5 $0.00009 $0.00128

Measured 3mo ago against content hash c9dfda880ec8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

angular-error-handling scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/pilot-angular/skills/angular-error-handling/SKILL.md · 163 lines

How it starts

The opening of the file, as written. The whole thing — 163 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Standard IDs

ID Severity What it checks
AEH-001 P1 No global ErrorHandler registered for uncaught exceptions
AEH-002 P2 Per-component ad-hoc catchError with no shared error-boundary/notification pattern
AEH-003 P1 HTTP error responses not parsed against the .NET ProblemDetails shape
AEH-004 P2 No user-facing fallback UI distinguishing a recoverable error from a full crash

Check A — No global ErrorHandler (AEH-001)

Detection

Check app.config.ts/AppModule providers for a custom ErrorHandler implementation. Without one, an uncaught exception anywhere in the component tree (a template expression throwing, an unguarded array access) surfaces only in the browser console — the user sees a frozen or partially-rendered page with no indication anything went wrong.

BAD — no global ErrorHandler, uncaught exceptions vanish into the console

export const appConfig: ApplicationConfig = {
  providers: [provideHttpClient(), provideRouter(routes)],
  // No ErrorHandler override — Angular's default just console.errors and moves on.
};

GOOD — a global ErrorHandler that logs and surfaces a recoverable notification

@Injectable()
export class GlobalErrorHandler implements ErrorHandler {
  private readonly notifications = inject(NotificationService);
  private readonly telemetry = inject(TelemetryService);

  handleError(error: unknown): void {
    this.telemetry.trackException(error); // send to Application Insights JS SDK
    this.notifications.showError('Something went wrong. Please try again.');
  }
}

export const appConfig: ApplicationConfig = {
  providers: [{ provide: ErrorHandler, useClass: GlobalErrorHandler }],
};

Check B — Ad-hoc catchError with no shared pattern (AEH-002)

Detection

Grep components/services for repeated catchError(err => { /* custom toast logic */ }) blocks that each reimplement how an HTTP failure is surfaced to the user, instead of one shared error-normalization interceptor/service reused everywhere (this builds on angular-http-resilience's error-normalization guidance, applied consistently at the UI layer, not just the data layer).

Read the full file on GitHub · 163 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 163 lines · 94 tokens per session scan A c9dfda880ec8

Subscribe to this mod's changes

angular-error-handling is a skill published in the GitHub repository AgenticPawan/FullStack-Pilot (2 stars, last pushed 4mo ago), licensed MIT. It adds 94 tokens to every session and 1,281 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

angular-error-handling compared with skills from other repositories

angular-error-handling next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
angular-error-handlingAgenticPawan/FullStack-PilotSkill24mo agoMITA94Claude Code
agent-dependenciesNVIDIA/elementsSkill122yesterdayApache-2.0A73Claude Code, Codex
release-habit-hookshabit-hooks/habit-hooksSkill28511d agoMITA56Claude Code, Codex
agent-debug-ciNVIDIA/elementsSkill122yesterdayApache-2.0A80Claude Code, Codex
audit-ciNVIDIA/elementsSkill122yesterdayApache-2.0A78Claude Code, Codex
doubt-driven-developmentjcarlosrodicio/opencode-agent-orchestration-kitSkill163yesterdayApache-2.0A67Claude Code, Codex
oak-adversarial-reviewjcarlosrodicio/opencode-agent-orchestration-kitSkill163yesterdayApache-2.0A68Claude Code, Codex