scaffold-angular-app

scaffold-angular-app is a command for Claude Code from kumaran-is/claude-code-onboarding. It costs 29 tokens per session (827 once invoked), scanned A, original, MIT.

A command that creates a new Angular single-page web app with standalone components, lazy-loaded routes, Tailwind CSS, daisyUI, and a sample feature area.

In plain words
What is it for?
Use it to start an Angular application with reusable UI styling, route-based code loading, shared services, guards, interceptors, and a sample dashboard.
Why use it?
It removes the initial project setup and lays out common folders and configuration so development can begin with a consistent frontend structure.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to start an Angular application with reusable UI styling, route-based code loading, shared services, guards, interceptors, and a sample dashboard.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/kumaran-is/claude-code-onboarding/scaffold-angular-app
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.

Clone the repo
git clone --depth 1 https://github.com/kumaran-is/claude-code-onboarding

Made for: Claude Code.

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 scaffold-angular-app

README.md
[![agentmods](https://agentmods.dev/badge/commands/kumaran-is/claude-code-onboarding/scaffold-angular-app.svg)](https://agentmods.dev/commands/kumaran-is/claude-code-onboarding/scaffold-angular-app)
Your own site
<a href="https://agentmods.dev/commands/kumaran-is/claude-code-onboarding/scaffold-angular-app"><img src="https://agentmods.dev/badge/commands/kumaran-is/claude-code-onboarding/scaffold-angular-app.svg" alt="Measured on agentmods" height="20"></a>
Per session 29 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 827 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.00029 $0.00827
Opus 5 $0.00015 $0.00413
Sonnet 5 $0.00006 $0.00165
Haiku 4.5 $0.00003 $0.00083

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

Security

Grade A, and why

scaffold-angular-app 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.

.claude/commands/scaffold-angular-app.md · 46 lines

How it starts

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

Scaffold Angular SPA

Create a new Angular 21.x SPA project with the following:

App name: $ARGUMENTS (default to "my-app" if not provided)

Pre-requisites

  1. Read the angular-spa skill (SKILL.md and reference/angular-templates.md) for project conventions, code templates, and best practices.
  2. Fetch https://angular.dev/assets/context/llms-full.txt using WebFetch for the latest Angular API reference.
  3. Use Context7 MCP (resolve-library-id then query-docs) to verify any APIs you are unsure about.
  4. Cross-check ng new CLI flags against the fetched docs — do NOT pass removed/default flags (e.g., --standalone).

Steps

  1. Scaffold the projectnpx @angular/cli@latest new <name> --style=scss --ssr=false. Verify flags against fetched docs.
  2. Install TailwindCSS 4.x + daisyUInpm install tailwindcss @tailwindcss/postcss daisyui@latest. Follow the angular-spa skill reference tailwind-v4-config.md for .postcssrc.json and src/styles.css setup.
  3. Set up folder structurecore/services/, core/interceptors/, core/guards/, shared/components/, shared/pipes/, shared/directives/, features/dashboard/.
  4. Configure app.config.ts — Follow the angular-spa skill template. Do NOT add zone-related providers.
  5. Create a Dashboard feature — Standalone component with OnPush, signals, inject(), control flow, daisyUI styling. Must render meaningful content without a backend. Follow component templates from the skill reference.
  6. Set up lazy-loaded routes — Root redirects to dashboard, loadComponent for lazy loading, wildcard redirect.
  7. Create a sample serviceinject(HttpClient), providedIn: 'root', calls dashboard stats endpoint.
  8. Handle missing backend gracefully — Show static/fallback data when API fails; page must never be blank.
  9. Add auth interceptor stubHttpInterceptorFn in core/interceptors/.
  10. Add auth guard stubCanActivateFn in core/guards/.
  11. Create environment configsrc/environments/environment.ts with apiUrl.
  12. Add a unit test — Dashboard component test with zoneless TestBed setup. Follow test templates from the skill reference.
  13. Verify — Run npx ng build to catch errors before finishing.
  14. Print summary — List created files, how to run (npm start), and next steps.

Read the full file on GitHub · 46 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 · 46 lines · 29 tokens per session scan A 26d3d840098e

Subscribe to this mod's changes

scaffold-angular-app is a command published in the GitHub repository kumaran-is/claude-code-onboarding (35 stars, last pushed 2mo ago), licensed MIT. It adds 29 tokens to every session and 827 once invoked, about $0.0001 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-09-03.