angular-api-client-codegen

angular-api-client-codegen is a skill for Claude Code from AgenticPawan/FullStack-Pilot. It costs 113 tokens per session (1,499 once invoked), scanned A, original, MIT.

A review guide for checking how an Angular app uses the API contract from a .NET backend. An API contract describes available requests and data, while OpenAPI or Swagger is a standard format for documenting it.

In plain words
What is it for?
Use it to check whether the frontend generates a typed API client, keeps it current in continuous integration (automated build checks), avoids duplicate HTTP calls, and fails when the API contract changes.
Why use it?
It finds duplicated hand-written TypeScript data definitions and client code that can drift away from the backend, causing missing or undefined data at runtime.

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 Use it to check whether the frontend generates a typed API client, keeps it current in continuous integration (automated build checks), avoids duplicate HTTP calls, and fails when the API contract changes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/agenticpawan/fullstack-pilot/angular-api-client-codegen
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-api-client-codegen
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-api-client-codegen

README.md
[![agentmods](https://agentmods.dev/badge/skills/agenticpawan/fullstack-pilot/angular-api-client-codegen/github.svg)](https://agentmods.dev/skills/agenticpawan/fullstack-pilot/angular-api-client-codegen)
Your own site
<a href="https://agentmods.dev/skills/agenticpawan/fullstack-pilot/angular-api-client-codegen"><img src="https://agentmods.dev/badge/skills/agenticpawan/fullstack-pilot/angular-api-client-codegen/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-api-client-codegen

Your own site · 80×15
<a href="https://agentmods.dev/skills/agenticpawan/fullstack-pilot/angular-api-client-codegen"><img src="https://agentmods.dev/badge/skills/agenticpawan/fullstack-pilot/angular-api-client-codegen.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 113 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,499 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.00113 $0.01499
Opus 5.5 $0.00045 $0.00600
Sonnet 5.5 $0.00023 $0.00300
Haiku 4.5 $0.00011 $0.00150

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

Security

Grade A, and why

angular-api-client-codegen 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 1mo 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-api-client-codegen/SKILL.md · 157 lines

How it starts

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

Standard IDs

ID Severity What it checks
ACG-001 P1 Hand-typed TS interfaces re-declared per feature instead of a generated client from the OpenAPI spec
ACG-002 P1 Generated client checked in but not regenerated in CI — drifts silently from the live API
ACG-003 P2 Hand-written HttpClient calls duplicate endpoints the generated client already exposes
ACG-004 P2 No CI step fails the build when the OpenAPI spec changes without the client being regenerated

Check A — Hand-typed interfaces instead of a generated client (ACG-001)

Detection

Grep feature directories for TypeScript interfaces that mirror a C# DTO field-for-field (interface OrderDto { id: string; customerName: string; total: number }) declared by hand in more than one place. Every backend DTO is a generation target from the OpenAPI spec that dotnet-dto-mapping already produces — hand-typing it a second time on the frontend means the two copies drift the moment either side adds a field, and nothing catches it until a runtime undefined.

BAD — TS interface hand-typed to match the backend DTO, redeclared per feature

// features/orders/models/order.model.ts
export interface Order {
  id: string;
  customerName: string;
  total: number;
}
// features/order-history/models/order-summary.model.ts — a second, slightly different hand-typed copy
export interface OrderSummary {
  id: string;
  customer: string;   // renamed by hand, now inconsistent with the actual DTO field name
  total: number;
}

GOOD — generated client is the single source of truth for request/response types

// nswag.json generates this file — never hand-edited
import { OrderDto, OrdersClient } from '@myorg/api-client';

@Injectable({ providedIn: 'root' })
export class OrderService {
  private readonly client = inject(OrdersClient);

  getOrder(id: string): Observable<OrderDto> {
    return this.client.getOrder(id); // OrderDto's shape always matches the live C# contract
  }
}

Read the full file on GitHub · 157 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. 1mo ago First seen · 157 lines · 113 tokens per session scan A a0be88df2793

Subscribe to this mod's changes

angular-api-client-codegen is a skill published in the GitHub repository AgenticPawan/FullStack-Pilot (2 stars, last pushed 2mo ago), licensed MIT. It adds 113 tokens to every session and 1,499 once invoked, about $0.0005 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

Other skills, from other repositories

azure-eventhub-dotnet

Azure Event Hubs SDK for .NET. Use for high-throughput event streaming: sending events (EventHubProducerClient, EventHubBufferedProducerClient), receiving events (EventProcessorClient with checkpointing), partition management, and real-time data ingestion. Triggers: "Event Hubs", "event streaming"…

microsoft/skills · 94 tokens

azure-servicebus-dotnet

Azure Service Bus SDK for .NET. Enterprise messaging with queues, topics, subscriptions, and sessions. Use for reliable message delivery, pub/sub patterns, dead letter handling, and background processing. Triggers: "Service Bus", "ServiceBusClient", "ServiceBusSender", "ServiceBusReceiver", "ServiceBusProcessor"…

microsoft/skills · 86 tokens

azure-ai-voicelive-dotnet

Azure AI Voice Live SDK for .NET. Build real-time voice AI applications with bidirectional WebSocket communication. Use for voice assistants, conversational AI, real-time speech-to-speech, and voice-enabled chatbots. Triggers: "voice live", "real-time voice", "VoiceLiveClient", "VoiceLiveSession", "voice assistant…

microsoft/skills · 92 tokens

azure-mgmt-botservice-dotnet

Azure Resource Manager SDK for Bot Service in .NET. Management plane operations for creating and managing Azure Bot resources, channels (Teams, DirectLine, Slack), and connection settings. Triggers: "Bot Service", "BotResource", "Azure Bot", "DirectLine channel", "Teams channel", "bot management .NET", "create bot".

microsoft/skills · 78 tokens

azure-search-documents-dotnet

Azure AI Search SDK for .NET (Azure.Search.Documents). Use for building search applications with full-text, vector, semantic, and hybrid search. Covers SearchClient (queries, document CRUD), SearchIndexClient (index management), and SearchIndexerClient (indexers, skillsets). Triggers: "Azure Search .NET"…

microsoft/skills · 102 tokens

azure-communication-sms-java

Send SMS messages with Azure Communication Services SMS Java SDK. Use when implementing SMS notifications, alerts, OTP delivery, bulk messaging, or delivery reports.

microsoft/skills · 36 tokens