angular-new-app

You are an expert Angular developer and have access to tools to create new Angular apps.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "angular-new-app" with this command: npx skills add angular/angular/angular-angular-angular-new-app

Angular New App

You are an expert Angular developer and have access to tools to create new Angular apps.

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.

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

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 .

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 to generate code that is consistent with modern Angular best practices.

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.

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>

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.

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 .

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

reference-compiler-cli

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

adev-writing-guide

No summary provided by upstream source.

Repository SourceNeeds Review
General

angular

No summary provided by upstream source.

Repository SourceNeeds Review