Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions .agents/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -446,14 +446,17 @@ CLAUDE.md ← imports AGENTS.md for Claude Code
README.md ← this guide
agents/ ← custom agent definitions (this system)
skills/ ← internal operational skills (build, testing, linting)
.github/agents/ ← Copilot pointer files for the agents
.github/agents/ ← Copilot pointer files, generated from .agents/agents/
scripts/sync-agents.mjs ← generates the pointer files; CI runs it with --check
```

- Put new agents in `.agents/agents/` and new internal (contributor-facing) skills in `.agents/skills/<skill-name>/SKILL.md`.
- Public, user-facing skills that ship with the package stay in the root [`skills/`](../skills/) folder.
- Repository coding standards live in [`AGENTS.md`](../AGENTS.md), the single source of shared instructions. `CLAUDE.md` only imports it (`@AGENTS.md`) so Claude Code loads the same instructions.
- VS Code discovers `.agents/skills/` by default, but GitHub Copilot (VS Code and github.com) only discovers custom agents in `.github/agents/`. Each agent therefore has a small pointer file at `.github/agents/<name>.md` that tells Copilot to read and follow `.agents/agents/<name>.md`.
- A pointer carries a copy of its agent's frontmatter, because Copilot takes `tools`, `agents`, and `handoffs` from the frontmatter. When you change an agent's frontmatter, copy it to the pointer unchanged; edit behavior only in `.agents/agents/`.
- VS Code discovers `.agents/skills/` by default, but GitHub Copilot discovers custom agents only in `.github/agents/` (VS Code also reads `.claude/agents/`). Each agent therefore has a small pointer file at `.github/agents/<name>.md` that tells Copilot to read and follow `.agents/agents/<name>.md`.
- Never edit a pointer file. Edit `.agents/agents/<name>.md`, then run `node scripts/sync-agents.mjs` and commit the regenerated pointers. CI fails when a pointer is out of date.
- An agent's frontmatter holds tool-neutral fields (`name`, `description`) and one block per tool. The `copilot:` block holds the Copilot `tools`, `agents`, and `handoffs`, indented two spaces; the generator copies it into the pointer's frontmatter.
- The generator can also write Claude Code subagents to `.claude/agents/` from a `claude:` block (for example `tools: Read, Grep, Glob, Edit`). No agent uses it yet, because VS Code Copilot also loads `.claude/agents/` and would list each agent twice. Claude Code reaches the agent definitions through `AGENTS.md`.
- Every agent lists the `read/readFile` tool so its pointer can load the full definition.

When adding a new agent, update these places:
Expand Down
19 changes: 10 additions & 9 deletions .agents/agents/bug-fixing-implementer-agent.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
---
name: bug-fixing-implementer-agent
description: Implements the minimum fix (GREEN phase) for bugs in igniteui-angular. Preserves the public API, accessibility, and localization. Does not write tests, README, migrations, changelog, or theming/style follow-through.
tools:
- search/codebase
- read/readFile
- edit/editFiles
- edit/createFile
- read/problems
- execute/runTests
- read/terminalLastCommand
- web
copilot:
tools:
- search/codebase
- read/readFile
- edit/editFiles
- edit/createFile
- read/problems
- execute/runTests
- read/terminalLastCommand
- web
---

# Bug Fix Implementer — GREEN Phase
Expand Down
87 changes: 44 additions & 43 deletions .agents/agents/bug-fixing-orchestrator-agent.md
Original file line number Diff line number Diff line change
@@ -1,49 +1,50 @@
---
name: bug-fixing-orchestrator-agent
description: Orchestrates bug fixing for igniteui-angular. Discovers scope and root cause, routes work to specialist agents, verifies completeness. Handles edge cases, escalation, and multi-branch fixes.
tools:
- agent
- search/codebase
- read/readFile
- search/changes
- read/problems
- web
agents:
- tdd-test-writer-agent
- bug-fixing-implementer-agent
- theming-styles-agent
- demo-sample-agent
- component-readme-agent
- migration-agent
- changelog-agent
handoffs:
- label: "1. Write Failing Test"
agent: tdd-test-writer-agent
prompt: "Read the bug report above and the scope summary. Write a test that reproduces the bug — it must fail for the broken behavior."
send: false
- label: "2. Implement Fix"
agent: bug-fixing-implementer-agent
prompt: "Use the Bug Knowledge block below to implement the minimum fix. Skip your own investigation — the orchestrator has already done it."
send: false
- label: "3. Apply Theming / Styles"
agent: theming-styles-agent
prompt: "Read the bug report, the scope summary, and the current code changes. If the fix requires SCSS, theme wiring, or style-test updates, implement the needed theming and style changes."
- label: "4. Update Demo Sample"
agent: demo-sample-agent
prompt: "A demo/sample was explicitly requested. Read the changes made and update the affected demo/sample area inside the existing src/app structure to reflect the actual implemented user-visible behavior."
send: false
- label: "5. Update Component README"
agent: component-readme-agent
prompt: "Read the changes made and update the affected component README.md file or files to reflect any public API or documented behavior changes."
send: false
- label: "6. Create Migration"
agent: migration-agent
prompt: "A breaking change was introduced by the fix. Read the changes made and create the appropriate migration schematic."
send: false
- label: "7. Update Changelog"
agent: changelog-agent
prompt: "Read the changes made and update CHANGELOG.md only if the fix belongs under an existing CHANGELOG section. Otherwise leave CHANGELOG.md unchanged."
send: false
copilot:
tools:
- agent
- search/codebase
- read/readFile
- search/changes
- read/problems
- web
agents:
- tdd-test-writer-agent
- bug-fixing-implementer-agent
- theming-styles-agent
- demo-sample-agent
- component-readme-agent
- migration-agent
- changelog-agent
handoffs:
- label: "1. Write Failing Test"
agent: tdd-test-writer-agent
prompt: "Read the bug report above and the scope summary. Write a test that reproduces the bug — it must fail for the broken behavior."
send: false
- label: "2. Implement Fix"
agent: bug-fixing-implementer-agent
prompt: "Use the Bug Knowledge block below to implement the minimum fix. Skip your own investigation — the orchestrator has already done it."
send: false
- label: "3. Apply Theming / Styles"
agent: theming-styles-agent
prompt: "Read the bug report, the scope summary, and the current code changes. If the fix requires SCSS, theme wiring, or style-test updates, implement the needed theming and style changes."
- label: "4. Update Demo Sample"
agent: demo-sample-agent
prompt: "A demo/sample was explicitly requested. Read the changes made and update the affected demo/sample area inside the existing src/app structure to reflect the actual implemented user-visible behavior."
send: false
- label: "5. Update Component README"
agent: component-readme-agent
prompt: "Read the changes made and update the affected component README.md file or files to reflect any public API or documented behavior changes."
send: false
- label: "6. Create Migration"
agent: migration-agent
prompt: "A breaking change was introduced by the fix. Read the changes made and create the appropriate migration schematic."
send: false
- label: "7. Update Changelog"
agent: changelog-agent
prompt: "Read the changes made and update CHANGELOG.md only if the fix belongs under an existing CHANGELOG section. Otherwise leave CHANGELOG.md unchanged."
send: false
---

# Bug Fixing Orchestrator
Expand Down
13 changes: 7 additions & 6 deletions .agents/agents/changelog-agent.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
---
name: changelog-agent
description: Updates CHANGELOG.md for igniteui-angular following the established format and conventions. Handles only changes that belong under the existing CHANGELOG sections.
tools:
- search/codebase
- read/readFile
- edit/editFiles
- read/problems
- web
copilot:
tools:
- search/codebase
- read/readFile
- edit/editFiles
- read/problems
- web
---

# Changelog Agent
Expand Down
13 changes: 7 additions & 6 deletions .agents/agents/component-readme-agent.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
---
name: component-readme-agent
description: Updates component README.md files for igniteui-angular when public API or documented behavior changes.
tools:
- search/codebase
- read/readFile
- edit/editFiles
- read/problems
- web
copilot:
tools:
- search/codebase
- read/readFile
- edit/editFiles
- read/problems
- web
---

# Component README Agent
Expand Down
17 changes: 9 additions & 8 deletions .agents/agents/demo-sample-agent.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
---
name: demo-sample-agent
description: Updates existing demo/sample areas in src/app/ for explicit user-visible Ignite UI for Angular feature or bug-fix changes.
tools:
- search/codebase
- read/readFile
- edit/editFiles
- read/problems
- execute/runTests
- read/terminalLastCommand
- web
copilot:
tools:
- search/codebase
- read/readFile
- edit/editFiles
- read/problems
- execute/runTests
- read/terminalLastCommand
- web
---

# Demo / Sample Agent
Expand Down
19 changes: 10 additions & 9 deletions .agents/agents/feature-implementer-agent.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
---
name: feature-implementer-agent
description: Implements features (GREEN phase) and refactors for quality in igniteui-angular. Satisfies the real feature contract, not just the literal failing tests. Does not own theming/style follow-through.
tools:
- search/codebase
- read/readFile
- edit/editFiles
- edit/createFile
- read/problems
- execute/runTests
- read/terminalLastCommand
- web
copilot:
tools:
- search/codebase
- read/readFile
- edit/editFiles
- edit/createFile
- read/problems
- execute/runTests
- read/terminalLastCommand
- web
---

# Implementer — GREEN + REFACTOR Phases
Expand Down
87 changes: 44 additions & 43 deletions .agents/agents/feature-orchestrator-agent.md
Original file line number Diff line number Diff line change
@@ -1,49 +1,50 @@
---
name: feature-orchestrator-agent
description: Orchestrates feature implementation for igniteui-angular. Discovers scope and impact, routes work to specialist agents, verifies completeness.
tools:
- agent
- search/codebase
- read/readFile
- search/changes
- read/problems
- web
agents:
- tdd-test-writer-agent
- feature-implementer-agent
- theming-styles-agent
- demo-sample-agent
- component-readme-agent
- migration-agent
- changelog-agent
handoffs:
- label: "1. Write Failing Tests"
agent: tdd-test-writer-agent
prompt: "Read the user's feature request above and the scope summary. Write the necessary tests, use own judgment on what to test and how many tests are needed."
send: false
- label: "2. Implement Feature"
agent: feature-implementer-agent
prompt: "Read the user's feature request and the existing failing tests. Implement the feature as judged best. Re-read relevant source files and satisfy the real feature contract, not just the test expectations."
send: false
- label: "3. Apply Theming / Styles"
agent: theming-styles-agent
prompt: "Read the user's feature request, the scope summary, and the current code changes. If the feature needs component SCSS, theme wiring, or style-test updates, implement the required theming and style changes."
- label: "4. Update Demo Sample"
agent: demo-sample-agent
prompt: "A demo/sample was explicitly requested. Read the changes made and update the affected demo/sample area inside the existing src/app structure to reflect the actual implemented user-visible behavior."
send: false
- label: "5. Update Component README"
agent: component-readme-agent
prompt: "Read the changes made and update the affected component README.md file or files to reflect the actual public API and documented behavior changes."
send: false
- label: "6. Create Migration"
agent: migration-agent
prompt: "A breaking change was introduced. Read the changes made and create the appropriate migration schematic by the actual breaking change."
send: false
- label: "7. Update Changelog"
agent: changelog-agent
prompt: "Read the changes made and update CHANGELOG.md to reflect the actual feature, breaking change, deprecation, or behavioral change."
send: false
copilot:
tools:
- agent
- search/codebase
- read/readFile
- search/changes
- read/problems
- web
agents:
- tdd-test-writer-agent
- feature-implementer-agent
- theming-styles-agent
- demo-sample-agent
- component-readme-agent
- migration-agent
- changelog-agent
handoffs:
- label: "1. Write Failing Tests"
agent: tdd-test-writer-agent
prompt: "Read the user's feature request above and the scope summary. Write the necessary tests, use own judgment on what to test and how many tests are needed."
send: false
- label: "2. Implement Feature"
agent: feature-implementer-agent
prompt: "Read the user's feature request and the existing failing tests. Implement the feature as judged best. Re-read relevant source files and satisfy the real feature contract, not just the test expectations."
send: false
- label: "3. Apply Theming / Styles"
agent: theming-styles-agent
prompt: "Read the user's feature request, the scope summary, and the current code changes. If the feature needs component SCSS, theme wiring, or style-test updates, implement the required theming and style changes."
- label: "4. Update Demo Sample"
agent: demo-sample-agent
prompt: "A demo/sample was explicitly requested. Read the changes made and update the affected demo/sample area inside the existing src/app structure to reflect the actual implemented user-visible behavior."
send: false
- label: "5. Update Component README"
agent: component-readme-agent
prompt: "Read the changes made and update the affected component README.md file or files to reflect the actual public API and documented behavior changes."
send: false
- label: "6. Create Migration"
agent: migration-agent
prompt: "A breaking change was introduced. Read the changes made and create the appropriate migration schematic by the actual breaking change."
send: false
- label: "7. Update Changelog"
agent: changelog-agent
prompt: "Read the changes made and update CHANGELOG.md to reflect the actual feature, breaking change, deprecation, or behavioral change."
send: false
---

# Feature Implementation Orchestrator
Expand Down
19 changes: 10 additions & 9 deletions .agents/agents/migration-agent.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
---
name: migration-agent
description: Creates ng-update migration schematics for breaking changes in igniteui-angular. Handles the full migration lifecycle including schematic code, registration, and tests.
tools:
- search/codebase
- read/readFile
- edit/editFiles
- edit/createFile
- execute/runTests
- read/problems
- read/terminalLastCommand
- web
copilot:
tools:
- search/codebase
- read/readFile
- edit/editFiles
- edit/createFile
- execute/runTests
- read/problems
- read/terminalLastCommand
- web
---

# Migration Schematic Agent
Expand Down
19 changes: 10 additions & 9 deletions .agents/agents/tdd-test-writer-agent.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
---
name: tdd-test-writer-agent
description: Writes failing unit tests (RED phase of TDD) for igniteui-angular features and bug fixes. Creates tests before any production code exists.
tools:
- search/codebase
- read/readFile
- edit/editFiles
- edit/createFile
- execute/runTests
- read/problems
- read/terminalLastCommand
- web
copilot:
tools:
- search/codebase
- read/readFile
- edit/editFiles
- edit/createFile
- execute/runTests
- read/problems
- read/terminalLastCommand
- web
---

# TDD Test Writer — RED Phase
Expand Down
Loading
Loading