Skip to content

ericrisco/rsc-harness / skills/angular

angular

Verified

Use when building, refactoring, or debugging Angular (v20/21+): standalone components, signals, zoneless change detection, @if/@for/@defer control flow, inject() DI, resource()/httpResource(), RxJS interop, NgRx SignalStore, ng CLI. NOT React (that is react), NOT Next.js (that is nextjs), NOT a TypeScript language question (that is typescript).

FileKindSize
SKILL.mdskill md13.5 KB
evals/README.mdmarkdown72 B
evals/cases.yamlconfig2.0 KB
references/migration.mdmarkdown4.0 KB
references/signals-rxjs.mdmarkdown4.0 KB
scripts/verify.shexecutablescript4.2 KB

evals/cases.yaml

View on GitHub
skill: angular

should_trigger:
  - prompt: "Migrate this Angular app from NgModules to standalone components."
    why: "Standalone migration is central modern Angular work."
  - prompt: "Why is my Angular view not updating in zoneless mode?"
    why: "Zoneless change detection and signals are Angular-specific."
  - prompt: "Replace *ngFor with @for and track expressions."
    why: "Built-in control flow migration belongs to Angular."
  - prompt: "Use input() signals instead of decorator @Input in this component."
    why: "Signal inputs are Angular-specific."
  - prompt: "Monta una app Angular con componente standalone y signals."
    why: "Spanish Angular standalone/signals request triggers this skill."

should_not_trigger:
  - prompt: "Fix a React hook state bug."
    route_to: "react"
    why: "React hooks are not Angular."
  - prompt: "Implement a Next.js server component."
    route_to: "nextjs"
    why: "Next.js App Router/RSC is a separate stack."
  - prompt: "Explain TypeScript conditional types."
    route_to: "typescript"
    why: "Pure TypeScript without Angular belongs to TypeScript."
  - prompt: "Build a NestJS backend module."
    route_to: "nestjs"
    why: "NestJS is backend DI; Angular is frontend framework."

capability:
  - scenario: "A brownfield Angular app uses NgModules, decorator inputs and Zone.js; the user wants a safe modern migration."
    must_include:
      - "Detects Angular version and brownfield vs greenfield before changing architecture."
      - "Migrates incrementally to standalone components rather than rewriting everything."
      - "Uses signals/input() and built-in @if/@for/@defer control flow where appropriate."
      - "Explains zoneless change detection and avoids detectChanges() as a default patch."
      - "Keeps providers in app.config.ts/provide* APIs for modern bootstrap."
      - "Uses RxJS interop deliberately with toSignal/toObservable when needed."
      - "Routes pure TypeScript or backend NestJS questions to those skills."
brainstormingobra/superpowersYou MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).Stars: 322kUpdated Claude CodeCodexVerifiedInstall
brand-guidelinesanthropics/skillsApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
frontend-designanthropics/skillsGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
mcp-builderanthropics/skillsGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).Stars: 198kUpdated Claude CodeCodexVerifiedInstall