AGENT SKILL

angular-new-app

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
最近更新
2026-10-15
Stars
★ 0
Forks
0

01 前言 Front Matter

name
angular-new-app
license
MIT
metadata
{ "author": "Angular Team @ Google", "version": "1.0" }
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.
compatibility
Requires node, npm, and access to the internet

02 资源文件 1

03 SKILL.md 正文

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.

04 同仓库更多 Skills

lukeelten
lukeelten/personal-ai-tooling

version-push

Increase (bump) the version of an existing Helm chart, then commit and push the change to origin. Use this skill whenever the user wants to release a new chart version, bump/increment/raise a Chart.yaml version, cut a monthly chart release, or says things like "bump the keycloak chart patch version", "bump the month version for the chart and push it", "release v24.6.0", or "increment the chart version and commit" — even if they don't say the word "Helm". The user must specify the bump type as either **patch** (bug-fix increment: vYY.M.Z → vYY.M.Z+1) or **month** (new monthly CalVer release: → vYY.M.0); ask if not provided. This handles the full release motion: editing the top-level `version:` field, a Conventional Commit, and a push to the current branch. It is NOT for scaffolding new charts (use helm-expert for that).

★ 0
lukeelten
lukeelten/personal-ai-tooling

to-spec

Turn the current conversation into a spec and publish it to the project issue tracker: no interview, just synthesis of what you've already discussed.

★ 0
lukeelten
lukeelten/personal-ai-tooling

skill-creator

Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.

★ 0
lukeelten
lukeelten/personal-ai-tooling

impeccable

Use when the user wants to design, redesign, shape, critique, audit, polish, clarify, distill, harden, optimize, adapt, animate, colorize, extract, or otherwise improve a frontend interface. Covers websites, landing pages, dashboards, product UI, app shells, components, forms, settings, onboarding, and empty states. Handles UX review, visual hierarchy, information architecture, cognitive load, accessibility, performance, responsive behavior, theming, anti-patterns, typography, fonts, spacing, layout, alignment, color, motion, micro-interactions, UX copy, error states, edge cases, i18n, and reusable design systems or tokens. Also use for bland designs that need to become bolder or more delightful, loud designs that should become quieter, live browser iteration on UI elements, or ambitious visual effects that should feel technically extraordinary. Not for backend-only or non-UI tasks.

★ 0
lukeelten
lukeelten/personal-ai-tooling

helm-expert

Generate production-ready Helm charts with hardened security by default. Use this skill whenever the user needs to create or scaffold a Helm chart, whether they mention it explicitly or are describing Kubernetes deployments that need packaging. The skill ensures security best practices including non-root users, read-only filesystems, network policies, RBAC, Pod Security Standards, and resource limits are all built in from the start. Even if the user just says "I need to deploy X to Kubernetes", use this skill to generate a proper Helm chart with hardened defaults.

★ 0
lukeelten
lukeelten/personal-ai-tooling

handoff

Compact the current conversation into a handoff document for another agent to pick up.

★ 0