angular-developer

작성자: angular

Generates Angular code and provides architectural guidance. Trigger when creating projects, components, or services, or for best practices on reactivity (signals, linkedSignal, resource), forms, dependency injection, routing, SSR, accessibility (ARIA), animations, styling (component styles, Tailwind CSS), testing, or CLI tooling.

npx skills add https://github.com/angular/skills --skill angular-developer

Angular Developer Guidelines

  1. Always analyze the project's Angular version before providing guidance, as best practices and available features can vary significantly between versions. If creating a new project with Angular CLI, do not specify a version unless prompted by the user.

  2. When generating code, follow Angular's style guide and best practices for maintainability and performance. Use the Angular CLI for scaffolding components, services, directives, pipes, and routes to ensure consistency.

  3. Once you finish generating code, run ng build to ensure there are no build errors. If there are errors, analyze the error messages and fix them before proceeding. Do not skip this step, as it is critical for ensuring the generated code is correct and functional.

Creating New Projects

If no guidelines are provided by the user, here are same default rules to follow when creating a new Angular project:

  1. Use the latest stable version of Angular unless the user specifies otherwise.
  2. Use Signals Forms for form management in new projects (available in Angular v21 and newer) Find out more.

Execution Rules for ng new: When asked to create a new Angular project, you must determine the correct execution command by following these strict steps:

Step 1: Check for an explicit user version.

  • IF the user requests a specific version (e.g., Angular 15), bypass local installations and strictly use npx.
  • Command: npx @angular/cli@<requested_version> new <project-name>

Step 2: Check for an existing Angular installation.

  • IF no specific version is requested, run ng version in the terminal to check if the Angular CLI is already installed on the system.
  • IF the command succeeds and returns an installed version, use the local/global installation directly.
  • Command: ng new <project-name>

Step 3: Fallback to Latest.

  • IF no specific version is requested AND the ng version command fails (indicating no Angular installation exists), you must use npx to fetch the latest version.
  • Command: npx @angular/cli@latest new <project-name>

Components

When working with Angular components, consult the following references based on the task:

  • Fundamentals: Anatomy, metadata, core concepts, and template control flow (@if, @for, @switch). Read components.md
  • Inputs: Signal-based inputs, transforms, and model inputs. Read inputs.md
  • Outputs: Signal-based outputs and custom event best practices. Read outputs.md
  • Host Elements: Host bindings and attribute injection. Read host-elements.md

If you require deeper documentation not found in the references above, read the documentation at https://angular.dev/guide/components.

Reactivity and Data Management

When managing state and data reactivity, use Angular Signals and consult the following references:

  • Signals Overview: Core signal concepts (signal, computed), reactive contexts, and untracked. Read signals-overview.md
  • Dependent State (linkedSignal): Creating writable state linked to source signals. Read linked-signal.md
  • Async Reactivity (resource): Fetching asynchronous data directly into signal state. Read resource.md
  • Side Effects (effect): Logging, third-party DOM manipulation (afterRenderEffect), and when NOT to use effects. Read effects.md

Forms

In most cases for new apps, prefer signal forms. When making a forms decision, analyze the project and consider the following guidelines:

  • if the application is using v21 or newer and this is a new form, prefer signal forms. -For older applications or when working with existing forms, use the appropriate form type that matches the applications current form strategy.

  • Signal Forms: Use signals for form state management. Read signal-forms.md

  • Template-driven forms: Use for simple forms. Read template-driven-forms.md

  • Reactive forms: Use for complex forms. Read reactive-forms.md

Dependency Injection

When implementing dependency injection in Angular, follow these guidelines:

  • Fundamentals: Overview of Dependency Injection, services, and the inject() function. Read di-fundamentals.md
  • Creating and Using Services: Creating services, the providedIn: 'root' option, and injecting into components or other services. Read creating-services.md
  • Defining Dependency Providers: Automatic vs manual provision, InjectionToken, useClass, useValue, useFactory, and scopes. Read defining-providers.md
  • Injection Context: Where inject() is allowed, runInInjectionContext, and assertInInjectionContext. Read injection-context.md
  • Hierarchical Injectors: The EnvironmentInjector vs ElementInjector, resolution rules, modifiers (optional, skipSelf), and providers vs viewProviders. Read hierarchical-injectors.md

Angular Aria

When building accessible custom components for any of the following patterns: Accordion, Listbox, Combobox, Menu, Tabs, Toolbar, Tree, Grid, consult the following reference:

  • Angular Aria Components: Building headless, accessible components (Accordion, Listbox, Combobox, Menu, Tabs, Toolbar, Tree, Grid) and styling ARIA attributes. Read angular-aria.md

Routing

When implementing navigation in Angular, consult the following references:

  • Define Routes: URL paths, static vs dynamic segments, wildcards, and redirects. Read define-routes.md
  • Route Loading Strategies: Eager vs lazy loading, and context-aware loading. Read loading-strategies.md
  • Show Routes with Outlets: Using <router-outlet>, nested outlets, and named outlets. Read show-routes-with-outlets.md
  • Navigate to Routes: Declarative navigation with RouterLink and programmatic navigation with Router. Read navigate-to-routes.md
  • Control Route Access with Guards: Implementing CanActivate, CanMatch, and other guards for security. Read route-guards.md
  • Data Resolvers: Pre-fetching data before route activation with ResolveFn. Read data-resolvers.md
  • Router Lifecycle and Events: Chronological order of navigation events and debugging. Read router-lifecycle.md
  • Rendering Strategies: CSR, SSG (Prerendering), and SSR with hydration. Read rendering-strategies.md
  • Route Transition Animations: Enabling and customizing the View Transitions API. Read route-animations.md

If you require deeper documentation or more context, visit the official Angular Routing guide.

Styling and Animations

When implementing styling and animations in Angular, consult the following references:

  • Using Tailwind CSS with Angular: Integrating Tailwind CSS into Angular projects. Read tailwind-css.md
  • Angular Animations: Using native CSS (recommended) or the legacy DSL for dynamic effects. Read angular-animations.md
  • Styling components: Best practices for component styles and encapsulation. Read component-styling.md

Testing

When writing or updating tests, consult the following references based on the task:

  • Fundamentals: Best practices for unit testing (Vitest), async patterns, and TestBed. Read testing-fundamentals.md
  • Component Harnesses: Standard patterns for robust component interaction. Read component-harnesses.md
  • Router Testing: Using RouterTestingHarness for reliable navigation tests. Read router-testing.md
  • End-to-End (E2E) Testing: Best practices for E2E tests with Cypress. Read e2e-testing.md

Tooling

When working with Angular tooling, consult the following references:

  • Angular CLI: Creating applications, generating code (components, routes, services), serving, and building. Read cli.md
  • Code Modernization: Automatically refactoring to modern standards using migrations. Read migrations.md
  • Angular MCP Server: Available tools, configuration, and experimental features. Read mcp.md

관련 스킬

preflight
brave
모든 사전 점검(형식, gn_check, presubmit, 빌드, 테스트)을 실행하여
official
registering-agent-base-dev
base
사용자가 Base에서 자동화된 트랜잭션 전송기를 구축하거나 실행할 때 이 스킬을 호출하세요(트레이딩 봇, 차익거래 봇, 스나이퍼 봇, 수확 농사 봇, AI 에이전트 등).
official
data-visualization
langchain-ai
출판 품질의 차트와 다중 패널 분석 요약을 생성하는 데 사용됩니다. 데이터 시각화, 결과 플로팅, 생성 작업이 포함된 작업에서 활성화됩니다.
official
swiftui-liquid-glass
openai
Implement, review, or improve SwiftUI features using the iOS 26+ Liquid Glass API. Use when asked to adopt Liquid Glass in new SwiftUI UI, refactor an existing…
official
launch
microsoft
VS Code Insiders를 실행하고 Copilot Chat 확장 프로그램을 사용하여 Chrome DevTools Protocol을 통해 agent-browser로 자동화합니다.
official
roadmap-management
anthropic
RICE, MoSCoW, ICE 및 의존성 매핑 프레임워크를 사용한 전략적 제품 로드맵 계획. 단순성을 위한 Now/Next/Later, 전략적 정렬을 위한 분기별 테마, 책임성을 위한 OKR 기반 로드맵, 실행 계획을 위한 간트 뷰 등 여러 로드맵 형식을 지원합니다. 다양한 맥락에서 우선순위 결정을 방어하기 위해 네 가지 우선순위 프레임워크(RICE 점수, MoSCoW 분류, ICE 점수, 가치 대 노력 매트릭스)를 제공합니다. 의존성 매핑을 제공합니다...
official
vercel-react-view-transitions
vercel
Guide for implementing smooth, native-feeling animations using React's View Transition API (`<ViewTransition>` component, `addTransitionType`, and CSS view…
official
MCP Integration
anthropic
네 가지 전송 유형을 통해 Model Context Protocol 서버를 사용하여 외부 서비스를 Claude Code 플러그인에 통합합니다. 로컬 프로세스용 stdio, OAuth 지원 호스팅 서비스용 SSE, 토큰 인증을 사용하는 REST API용 HTTP, 실시간 양방향 통신용 WebSocket 등 네 가지 서버 유형을 지원합니다. 환경 변수 확장 및 자동 도구 검색과 접두사 기능을 통해 .mcp.json 또는 plugin.json에 인라인으로 서버를 구성합니다. OAuth 흐름을 포함한 인증 패턴을 처리합니다.
official