angular-developer

A reference guide for building Angular directives in a signals-first, headless component library, with reusable interface behavior kept separate from visual design.

In plain words
What is it for?
Use it while developing or reviewing Radix NG primitives, especially when working with signals, inputs, outputs, lifecycle behavior, and library build or test commands.
Why use it?
It helps developers choose appropriate Angular patterns and follow the library’s rules for reactivity, dependency injection, testing, and project tooling.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/radix-ng/primitives/angular-developer
Any agent
npx skills add radix-ng/primitives --skill angular-developer
Clone the repo
git clone --depth 1 https://github.com/radix-ng/primitives

Made for: Claude Code, Codex.

Per session 114 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,151 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00114 $0.01151
Opus 5 $0.00057 $0.00575
Sonnet 5 $0.00023 $0.00230
Haiku 4.5 $0.00011 $0.00115

Measured yesterday against content hash 1ffe41762d7b, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

angular-developer 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 yesterday.

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.

.claude/skills/angular-developer/SKILL.md · 72 lines

How it starts

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

Angular Developer Guidelines (library edition)

This is the Radix NG primitives library — a signals-first, headless set of Angular directives, not an application. Use these references for authoritative Angular framework details; for anything repo-specific (build/test commands, naming, the createContext DI pattern, story conventions, the CDK phase-out, the ngOn*-hook lint rule) CLAUDE.md and .claude/skills/project-knowledge take precedence.

Working rules:

  1. Check the Angular version first (packages/primitives/package.json peers — currently Angular 21). Feature availability and best practice vary across versions.
  2. Tooling is Nx + pnpm, not the Angular CLI. Do not run ng new / ng generate / ng build. Scaffold by hand following the new-primitive checklist in CLAUDE.md, and verify with pnpm primitives:build / pnpm primitives:test.
  3. Prefer signals end to end (input(), output(), model(), computed(), linkedSignal(), effect()), and the constructor / DestroyRef / afterNextRender over ngOn* lifecycle hooks (see the Lifecycle section of CLAUDE.md and patterns.md).

Reactivity and state

The core of this library. Consult:

  • Signals overview: signal, computed, reactive contexts, untracked. Read signals-overview.md
  • linkedSignal: writable state derived from source signals (used widely, e.g. the CVA value source). Read linked-signal.md
  • effect / side effects: third-party DOM, afterRenderEffect, and when NOT to use effects. Read effects.md

Components and directives

Authoring patterns for the directive parts and the few component-based parts:

  • Components fundamentals: anatomy, metadata, control flow (@if/@for/@switch). Read components.md
  • Inputs: signal inputs, transforms, model inputs. Read inputs.md
  • Outputs: signal outputs and custom-event best practices. Read outputs.md
  • Host elements: host bindings and attribute injection (every primitive exposes state via host + data-*). Read host-elements.md

Read the full file on GitHub · 72 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. yesterday First seen · 72 lines · 114 tokens per session scan A 1ffe41762d7b

Subscribe to this mod's changes

angular-developer is a skill published in the GitHub repository radix-ng/primitives (269 stars, last pushed 7d ago), licensed MIT. It adds 114 tokens to every session and 1,151 once invoked, about $0.0006 per session on Opus 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-30.