angular-developer
できること
このエージェントは、Angularフレームワークのコードを書く手助けをします。新しいプロジェクト、コンポーネント、サービスを作成でき、コードの構造についてのアドバイスも行えます。
使う場面
- ✓新しいAngularプロジェクトを始めるとき。
- ✓新しいコンポーネントやサービスを作るとき。
- ✓Angularのベストプラクティスについて助けが必要なとき。
スキルのリンク
https://github.com/affaan-m/ECC/blob/main/pi/core/skills/angular-developer/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“最新バージョンで「my-app」という名前の新しいAngularプロジェクトを作成してください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
Angular CLIのコマンドと開発のベストプラクティスを理解しています。依頼を受けると、必要なコードを生成するか、その方法を説明します。Angularのルールに従って作業します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Angular Developer Guidelines
When to Activate
- Working in any Angular project or codebase
- Creating or scaffolding a new Angular project, application, or library
- Generating components, services, directives, pipes, guards, or resolvers
- Implementing reactivity with Angular Signals,
linkedSignal, orresource - Working with Angular forms (signal forms, reactive forms, or template-driven)
- Setting up dependency injection, routing, lazy loading, or route guards
- Adding accessibility (ARIA), animations, or component styling
- Writing or debugging Angular-specific tests (unit, component harness, E2E)
- Configuring Angular CLI tooling or the Angular MCP server
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.
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.
Once you finish generating code, run
ng buildto 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, use these defaults when creating a new Angular project:
- Use the latest stable version of Angular unless the user specifies otherwise.
- Prefer Signal Forms for new projects only when the target Angular version supports them. 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 versionin 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 versioncommand fails (indicating no Angular installation exists), you must usenpxto 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, anduntracked. 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 version supports Signal Forms and this is a new form, prefer signal forms.
…
よくある質問
エージェントはどのAngularバージョンを使うか、どうやって判断しますか?
特定のバージョンが指定されているかを確認します。指定がなければ、お使いのコンピュータにインストールされているバージョン、または利用可能な最新バージョンを使おうとします。
Angularの「Signals」とは何ですか?
時間とともに変化するデータを管理するための新しい方法です。コードをより効率的で理解しやすくします。
エージェントは私のコードのテストを書けますか?
はい。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.
repo: affaan-m/ECC
人気
- GitHubのスター
- 280k
- ランキング
- #136
- ライセンス
- MIT
- 更新日
- 2026/10/15
コメント
- …
このリポジトリの他のスキル
accessibility
280kエージェントが誰にとっても使いやすいインターフェースを作れるように手助けします。目が見えない方や身体の動きに制限のある方など、障害のある人にとってもWebサイトやアプリが正しく動くようにします。
agent-architecture-audit
280kエージェントがすべて正しく動いているかを確認できるようにします。AIシステムの問題を見つけて修正し、期待どおりに動くようにします。
agent-eval
280kエージェントが異なるAIコーディングツールを比較できるようにします。特定のタスクにおいて、どれがより速く、安く、信頼性が高いかを測定します。
agent-harness-construction
280kエージェントがタスクの進め方をよりよく理解できるようにします。エージェントが使うツールや指示を最適化し、成功する可能性を高めます。
似ているスキル
dream-loop
260kコンセプトアートと比べながら、ライブのスクリーンショットを繰り返し確認して、3Dのシーンやビジュアルアプリを高いグラフィック品質に近づけるようエージェントを支援します。
pretext
260kテキストが動く図形の周りに回り込んだり、ゲームのレベルを形作ったり、粒子になって崩れたりする、遊び心のあるブラウザのデモを作るようエージェントを支援します。
page-agent
260kウェブアプリに組み込みのAIアシスタントを加え、利用者が平易な言葉で命令し、ページがそれを実行できるようにするのを、エージェントが支援します。