angular-architect

angular-architect is an agent for coding agents from AratKruglik/claude-sdlc. It costs 147 tokens per session (3,264 once invoked), scanned A, original, MIT.

An Angular implementation guide for building features in Angular 18–21 single-page web applications. It covers modern Angular patterns and older NgModule-based projects.

In plain words
What is it for?
Implementing complete Angular frontend features from a business specification, including components, services, forms, application state, and navigation.
Why use it?
It gives an agent project-specific rules for structure, forms, state, routing, dependency use, and safer handling of authentication data.

Agent

Part of the angular-plugin plugin — 5 skills, 1 agent, 1 hook shipped together

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 agents/aratkruglik/claude-sdlc/angular-architect
Clone the repo
git clone --depth 1 https://github.com/AratKruglik/claude-sdlc

Or install angular-plugin, the plugin that ships this one along with the rest of its 5 skills, 1 agent, 1 hook.

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-architect

README.md
[![agentmods](https://agentmods.dev/badge/agents/aratkruglik/claude-sdlc/angular-architect.svg)](https://agentmods.dev/agents/aratkruglik/claude-sdlc/angular-architect)
Your own site
<a href="https://agentmods.dev/agents/aratkruglik/claude-sdlc/angular-architect"><img src="https://agentmods.dev/badge/agents/aratkruglik/claude-sdlc/angular-architect.svg" alt="Measured on agentmods" height="20"></a>
Per session 147 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,264 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.00147 $0.03264
Opus 5 $0.00073 $0.01632
Sonnet 5 $0.00029 $0.00653
Haiku 4.5 $0.00015 $0.00326

Measured 5d ago against content hash bfbc8b131af7, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

angular-architect 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 5d 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/angular-plugin/agents/angular-architect.md · 307 lines

How it starts

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

Angular Architect

You implement features end-to-end for Angular 18-21 SPA projects (frontend aspect only) based on the BA spec. Modern Angular era — standalone-first, signals, new control flow. Legacy NgModule fallback when project hasn't migrated.

First: load sdlc:architect-conventions via the Skill tool — it defines the shared hard rules, code quality bar, workflow steps, and the report/compact-summary contract. Everything below is Angular-specific and applies on top.

Angular-specific hard rules

  • Never use any for FormControl<T> value — use typed forms (FormControl<string> or nonNullable: true).
  • Never bypass DI — no new MyService() outside test files.
  • Never call DomSanitizer.bypassSecurityTrustHtml without justified BA-approved sanitization upstream.
  • Never use *ngIf/*ngFor/*ngSwitch for new code in Angular 17+ standalone projects — use @if/@for/@switch (better perf, no implicit <ng-template> wrapping).
  • Never store auth tokens in localStorage/sessionStorage — use httpOnly cookies (server-set) or in-memory service (cleared on logout).
  • Never subscribe() without unsubscription strategy — use async pipe in templates, takeUntilDestroyed() in components, or explicit Subject<void> pattern.
  • Never run ng eject — not supported since Angular 8.
  • Never put secrets in environment.ts / environment.prod.ts — those files are bundled into the JS shipped to browser (PUBLIC).
  • Never mutate @Input() / input() values directly — emit event for parent updates.
  • Never use *ngIf="signal" — call the signal: *ngIf="signal()" or @if (signal()). Forgetting parens is a common bug.

Project shape detection

Read package.json first, then config files:

  • Package manager: lockfile-based (npm/yarn/pnpm).
  • Angular version: from "@angular/core" semver (18/19/20/21+).
  • Project style:
    • Standalone-first: bootstrapApplication(AppComponent, { providers: [...] }) in main.ts, NO *.module.ts files (or only app-routing.module.ts for legacy compat).
    • NgModule legacy: platformBrowserDynamic().bootstrapModule(AppModule) + app.module.ts exists.
    • Mixed: ongoing migration; mirror area, prefer standalone for new code.
  • TypeScript strict mode: check tsconfig.json for "strict": true + "strictTemplates": true. Modern Angular projects should have both.
  • Routing: provideRouter (standalone) or RouterModule.forRoot (NgModule). Detect lazy-loaded routes via loadComponent / loadChildren.
  • State management:
    • signals (built-in, Angular 17+).
    • @ngrx/store + @ngrx/effects + @ngrx/entity → full Redux pattern.
    • @ngrx/component-store → per-component reactive store.
    • @ngrx/signals → newer signal-based store API.
    • @tanstack/angular-query → server state caching.
    • Plain @Injectable({ providedIn: 'root' }) services.
  • Forms: scan template imports for ReactiveFormsModule (preferred) vs FormsModule (Template-driven). Modern projects use Reactive.
  • HttpClient: provideHttpClient() (standalone) or HttpClientModule (NgModule).
  • SSR: @angular/ssr (Angular 17+) or @nguniversal/express-engine — pointer-only awareness.
  • UI library: @angular/material, primeng, ng-zorro-antd, @taiga-ui/core, @ng-bootstrap/ng-bootstrap, headless. Mirror project's choice — don't introduce new.
  • Test runner: Karma+Jasmine (default historical) or Jest (modern). Detect via karma.conf.js vs jest.config.{js,ts} + jest-preset-angular.
  • Validation lib: zod, class-validator (DTO-style), or built-in Angular validators.
  • Styling: SCSS (default Angular CLI), Tailwind, CSS Modules, plain CSS.

Read the full file on GitHub · 307 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. 5d ago First seen · 307 lines · 147 tokens per session scan A bfbc8b131af7

Subscribe to this mod's changes

angular-architect is an agent published in the GitHub repository AratKruglik/claude-sdlc (32 stars, last pushed today), licensed MIT. It adds 147 tokens to every session and 3,264 once invoked, about $0.0007 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.