Skip to main content
skill Claude Code CX Codex Cursor GitHub Copilot

angular-new-app — skill for Claude Code: scaffold an Angular app

A skill that scaffolds new Angular applications via the Angular CLI. Verifies your setup, generates the project with appropriate flags, and steers you toward Angular best practices.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add angular/skills --skill angular-new-app -a claude-code
Open on GitHub

What angular-new-app does

The skill automates Angular project creation: it checks for the Angular CLI, runs npx ng new with flags tailored to your needs (SCSS, routing, SSR, component prefix), and loads the AI configuration to keep generated code aligned with modern Angular conventions. Once your app exists, the skill provides CLI commands to generate components, services, pipes, guards, interceptors and other artifacts.

Tailwind CSS support is built in—the skill can add it via npx ng add tailwindcss and guide you through Tailwind v4 patterns. You control when to start the development server; the skill recommends building first to catch errors early.

Requires Node.js, npm, and internet access. Before you begin, it checks whether Angular CLI is installed globally and can install it with npm install -g @angular/cli if needed.

What it helps with

  • scaffold a new Angular project with the right flags and configuration
  • generate Angular components, services, and other artifacts using the CLI
  • set up Tailwind CSS in an Angular app
  • follow Angular best practices while building

Example prompts for the agent

  • Create a new Angular app with routing and SCSS for my project
  • Start an Angular application with server-side rendering enabled
  • Generate a component and add Tailwind to this app

How to install angular-new-app

1Skills CLI (Vercel)

npx skills add angular/skills --skill angular-new-app -a claude-code

2Manually: put the files in place

~/.claude/skills/angular-new-app/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/angular-new-app/

From the same set2

The whole set →

Similar

design-taste-frontend-v1 nexu-io The original v1 frontend taste skill for clean React and Tailwind CSS output. It keeps strict guardrails for projects that need backward compatibility with early generations. Claude Code CX Codex Cursor +1 1,700installs imagegen-frontend-mobile nexu-io Generates premium mobile screen images and flows for iOS, Android, and cross-platform with clean hierarchy, readable text, and controlled palettes. Claude Code CX Codex Cursor +1 1,700installs imagegen-frontend-web nexu-io Directs AI to generate section-by-section web design references. It enforces one horizontal image per section instead of squashing the page into one graphic. Claude Code CX Codex Cursor +1 1,700installs react-expert reactjs Researches React APIs and internals directly against tests, commits, and pull requests. Useful for writing accurate docs without relying on outdated model memory. Claude Code CX Codex Cursor +1 1,300installs chatgpt-app-builder alpic-ai Walks through the full lifecycle of a ChatGPT plugin, from idea to directory submission. Use it when building an MCP server with UI for ChatGPT on Skybridge. Claude Code CX Codex Cursor +1 7,100installs seo-review leonardomso Runs targeted SEO audits on JavaScript concept guides to optimize search visibility and featured snippets. Claude Code CX Codex Cursor +1 643installs frontend-design official anthropics This skill guides intentional visual design for new interfaces and redesigns. Use it when a generic generated UI is not enough. Claude Code Claude.ai 1,025,790installs design-taste-frontend Leonxlnx This skill directs the design of public pages and work screens, then checks the result in a browser through screenshots. Use it when an interface feels generic or unfinished. Claude Code CX Codex Cursor +1 673,100installs

Questions about angular-new-app

How do I install angular-new-app in Claude Code?

Run npx skills add angular/skills --skill angular-new-app -a claude-code, then open ~/.claude/skills/angular-new-app/SKILL.md.

What does angular-new-app do?

The skill creates a new Angular application, verifies your environment, and guides you through generating components, services, and other code elements aligned with Angular best practices.

What are the requirements to use angular-new-app?

You need Node.js, npm, and internet access. The Angular CLI is checked automatically; if missing, the skill will offer to install it globally.

Source text

SKILL.md · MIT
---
name: angular-new-app
description: Creates a new Angular app using the Angular CLI. This skill should be used whenever a user wants to create a new Angular application and contains important guidelines for how to effectively create a modern Angular application.
license: MIT
compatibility: Requires node, npm, and access to the internet
metadata:
  author: Angular Team @ Google
  version: '1.0'
---

# Angular New App

You are an expert in TypeScript, Angular, and scalable web application development. You write functional, maintainable, performant, and accessible code following Angular and TypeScript best practices. You have access to tools to create new Angular apps.

When creating a new Angular application for a user, always follow the following steps:

1. **Check for the Angular CLI**: Confirm that the Angular CLI is present before continuing. Here are some ways to confirm:
   - on `*nix` systems `which ng`
   - on Windows systems `where ng`, if powershell `gcm ng`

   If it is present, skip to step 2, if not, ask the user if they'd like to install it globally for the user with the following command:

   `npm install -g @angular/cli`

   _IMPORTANT_: There are best practices available for building outstanding Angular applications via the MCP server that is bundled with the Angular CLI. Available through `ng mcp` and the `get_best_practices`.

2. **Create the new application**: To create the application either suggest a name based on the user prompt or ask the user the name of the application. Create the application with the following command:

   `npx ng new <app-name> [list of flags based on the description of the app] --interactive=false --ai-config=[agents, claude, copilot, cursor, gemini, jetbrains, none, windsurf]`

   _Important_: Prefer agent for `--ai-config`, or use the option that best suits the environment, for example if the user is using Gemini, use `--ai-config=gemini`.

   Load the contents of that AI configuration into memory so that you can refer to it when generating code for the user. This will help you generate code that is consistent with modern Angular best practices.

   Consider these commonly useful flags based on the user's requirements:
   - `--style=scss|css|less` — stylesheet format
   - `--routing` — add routing module
   - `--ssr` — enable server-side rendering
   - `--prefix=<prefix>` — component selector prefix
   - `--skip-tests` — only if the user explicitly requests it

3. Do not start the app until you've built some features, ask the user if they want to start the app. You can always run `npx ng build` to check for errors and repair them.

4. Remember the following guidelines for continuing to generate Angular application code:
   - To generate components, use the Angular CLI `npx ng generate component <component-name>`
   - To generate services, use the Angular CLI `npx ng generate service <service-name>`
   - To generate pipes, use the Angular CLI `npx ng generate pipe <pipe-name>`
   - To generate directives, use the Angular CLI `npx ng generate directive <directive-name>`
   - To generate interfaces, use the Angular CLI `npx ng generate interface <interface-name>`
   - To generate guards, use the Angular CLI `npx ng generate guard <guard-name>`
   - To generate interceptors, use the Angular CLI `npx ng generate interceptor <interceptor-name>`
   - To generate resolvers, use the Angular CLI `npx ng generate resolver <resolver-name>`
   - To generate enums, use the Angular CLI `npx ng generate enum <enum-name>`
   - To generate classes, use the Angular CLI `npx ng generate class <class-name>`

   _IMPORTANT_: Take note of the path returned from running the generate commands so that you know exactly where the new files are.

   Use the Angular CLI to generate the code, then augment the code to meet the needs of the application.

5. To add tailwind, run `npx ng add tailwindcss`. After that, you do not have to do anything else, you can start using tailwind classes in your Angular application. Follow the best practices for tailwind v4 here, learn more if needed: https://tailwindcss.com/docs/upgrade-guide.

_IMPORTANT_: There are best practices available for building outstanding Angular applications via the MCP server that is bundled with the Angular CLI. Available through `npx ng mcp` and the `get_best_practices`.

© Angular Team @ Google · MIT · angular/skills

See also

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor