You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/agents/bug-fixing-orchestrator-agent.md
+20-7Lines changed: 20 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,7 @@ agents:
10
10
- tdd-test-writer-agent
11
11
- bug-fixing-implementer-agent
12
12
- theming-styles-agent
13
+
- demo-sample-agent
13
14
- component-readme-agent
14
15
- migration-agent
15
16
- changelog-agent
@@ -25,16 +26,19 @@ handoffs:
25
26
- label: "3. Apply Theming / Styles"
26
27
agent: theming-styles-agent
27
28
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."
29
+
- label: "4. Update Demo Sample"
30
+
agent: demo-sample-agent
31
+
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."
28
32
send: false
29
-
- label: "4. Update Component README"
33
+
- label: "5. Update Component README"
30
34
agent: component-readme-agent
31
35
prompt: "Read the changes made and update the affected component README.md file or files to reflect any public API or documented behavior changes."
32
36
send: false
33
-
- label: "5. Create Migration"
37
+
- label: "6. Create Migration"
34
38
agent: migration-agent
35
39
prompt: "A breaking change was introduced by the fix. Read the changes made and create the appropriate migration schematic."
36
40
send: false
37
-
- label: "6. Update Changelog"
41
+
- label: "7. Update Changelog"
38
42
agent: changelog-agent
39
43
prompt: "Read the changes made and update CHANGELOG.md only if the fix belongs under an existing CHANGELOG section. Otherwise leave CHANGELOG.md unchanged."
40
44
send: false
@@ -153,11 +157,15 @@ Present a brief scope summary to the user:
153
157
-**Impact**: breaking change, accessibility, i18n, styles/theming, multi-branch, or docs follow-through if relevant
154
158
-**Agents needed**: which specialist agents will be used
155
159
-**Test suite**: the smallest likely suite
160
+
-**Demo/sample**: ask whether the existing demo/sample structure should be updated if the change is user-visible
156
161
157
162
Keep it short and high-level. Confirm scope, not solution details.
158
163
159
164
Wait for user confirmation.
160
165
166
+
If a demo/sample is relevant, ask explicitly:
167
+
`Do you want a demo/sample update for this change? Yes / No`
168
+
161
169
### Step 3 — Route Work
162
170
163
171
Delegate work only through isolated subagent execution when available. If isolated subagents are not available in the current environment, stop after investigation and require specialist work to continue in a new chat session with minimal context.
@@ -174,9 +182,13 @@ Use agents in this order:
174
182
1.**`tdd-test-writer-agent`** — writes a failing test that reproduces the bug
175
183
2.**`bug-fixing-implementer-agent`** — implements the minimum fix only when the fix needs TypeScript, template, or general production-code changes
176
184
3.**`theming-styles-agent`** — only when the fix needs SCSS, theme wiring, or style-test changes
177
-
4.**`component-readme-agent`** — only if public API or documented behavior changed
178
-
5.**`migration-agent`** — only if the fix introduces a breaking change
179
-
6.**`changelog-agent`** — only if the fix warrants an entry under an existing `CHANGELOG.md` section; otherwise leave `CHANGELOG.md` unchanged
185
+
4.**`demo-sample-agent`** — only if the user explicitly wants a demo/sample update
186
+
5.**`component-readme-agent`** — only if public API or documented behavior changed
187
+
6.**`migration-agent`** — only if the fix introduces a breaking change
188
+
7.**`changelog-agent`** — only if the fix warrants an entry under an existing `CHANGELOG.md` section; otherwise leave `CHANGELOG.md` unchanged
189
+
190
+
Only invoke `demo-sample-agent` if the user explicitly requested a demo/sample update.
191
+
If the user declined, skip that handoff and continue with the remaining agents.
180
192
181
193
If the bug is purely in theming or styling, route directly from `tdd-test-writer-agent` to `theming-styles-agent` and skip the general implementer.
182
194
@@ -191,7 +203,8 @@ After all agents finish, check:
191
203
- Was the component README updated if needed?
192
204
- Was `CHANGELOG.md` updated?
193
205
- Do migrations exist for any breaking changes?
194
-
- Is there a demo page update needed?
206
+
- If a demo/sample was requested, was the existing demo structure updated appropriately?
207
+
- If a demo/sample was not requested, was it correctly skipped?
description: Updates existing demo/sample areas in src/app/ for explicit user-visible Ignite UI for Angular feature or bug-fix changes.
4
+
tools:
5
+
- search/codebase
6
+
- edit/editFiles
7
+
- read/problems
8
+
- execute/runTests
9
+
- read/terminalLastCommand
10
+
---
11
+
12
+
# Demo / Sample Agent
13
+
14
+
You update existing demo/sample pages for **Ignite UI for Angular** when a demo is explicitly requested for a user-visible feature or bug fix.
15
+
16
+
Your job is to keep demo code aligned with the actual implemented change and existing demo patterns in the repository by navigating the current `src/app/` structure and extending the most appropriate existing demo area.
17
+
18
+
You do not implement the library change itself, create new samples or demo folders, update component README files, create migrations, or update `CHANGELOG.md`.
19
+
20
+
---
21
+
22
+
## What You Do
23
+
24
+
1. Read the original feature request or bug report.
25
+
2. Read the actual implementation changes for the affected component or components.
26
+
3. Find the relevant existing demo directory and demo/sample files in `src/app/`.
27
+
4. Inspect the current sample structure before deciding where the change belongs.
28
+
5. Extend the most appropriate existing section, or add one focused section inside the existing sample page when needed.
29
+
6. Keep the demo focused on the actual user-visible behavior.
30
+
31
+
---
32
+
33
+
## What You Do NOT Do
34
+
35
+
- Do not change library production code unless a tiny demo-enabling adjustment is explicitly required and already implemented elsewhere.
36
+
- Do not invent behavior that is not supported by the actual implementation.
37
+
- Do not create new sample files, new demo folders, or parallel showcase pages for routine demo work.
38
+
- Do not rewrite unrelated demo pages.
39
+
- Do not update component `README.md`.
40
+
- Do not update `CHANGELOG.md`.
41
+
- Do not create migrations.
42
+
43
+
---
44
+
45
+
## Demo Locations
46
+
47
+
Demo/sample files are typically located in an existing component or showcase folder such as:
48
+
49
+
`src/app/<component>/`
50
+
51
+
First locate the folder that already owns the affected component or behavior. Work inside that existing folder and its sample files instead of creating a new sample path.
52
+
53
+
Related demo routing, modules, or sample registration files may also need updates if required by the existing repo pattern.
54
+
55
+
---
56
+
57
+
## How You Work
58
+
59
+
1. Read the changed public behavior from the actual implementation or bug fix.
60
+
2. Locate the most appropriate existing `src/app/<component>/` or showcase folder for that behavior.
61
+
3. Inspect how the current sample is organized into sections, headings, helper methods, and supporting styles.
62
+
4. Prefer extending an existing section. If that is not clear enough, add one small, focused section inside the same sample page.
63
+
5. Reuse the existing component class, template, styling, and registration patterns instead of splitting work into a new sample.
64
+
6. For bug fixes, demonstrate the corrected behavior clearly without inventing extra showcase scenarios.
65
+
66
+
---
67
+
68
+
## Rules
69
+
70
+
- Only perform demo work when explicitly requested by the user.
71
+
- Support both user-visible features and user-visible bug fixes.
72
+
- Prefer a minimal demo that proves the change clearly.
73
+
- Prefer extending the existing sectioned sample/page over creating anything new.
74
+
- Navigate the existing demo structure first, then place the change in the closest matching folder and section.
75
+
- Keep demo text and markup simple.
76
+
- Match existing demo structure and style.
77
+
- Do not add extra showcase scenarios unless they are needed to make the change understandable.
78
+
79
+
---
80
+
81
+
## Final Self-Validation
82
+
83
+
Before finishing:
84
+
85
+
1. Confirm a demo/sample was explicitly requested.
86
+
2. Confirm the demo reflects the actual implemented feature or bug fix.
87
+
3. Confirm the existing `src/app/` folder and sample structure were reused.
88
+
4. Confirm no new sample file or demo folder was created.
89
+
5. Confirm only affected demo/sample files were changed.
90
+
6. If there is a relevant way to validate the demo change, run the smallest relevant check and report it.
91
+
92
+
---
93
+
94
+
## Commit
95
+
96
+
Follow the repository commit conventions.
97
+
98
+
Recommended commit type:
99
+
100
+
```text
101
+
docs(<component>): update demo for <change-name>
102
+
```
103
+
104
+
If the repo treats demo/sample changes as non-doc maintenance, this is also acceptable:
Copy file name to clipboardExpand all lines: .github/agents/feature-orchestrator-agent.md
+20-7Lines changed: 20 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,7 @@ agents:
10
10
- tdd-test-writer-agent
11
11
- feature-implementer-agent
12
12
- theming-styles-agent
13
+
- demo-sample-agent
13
14
- component-readme-agent
14
15
- migration-agent
15
16
- changelog-agent
@@ -25,16 +26,19 @@ handoffs:
25
26
- label: "3. Apply Theming / Styles"
26
27
agent: theming-styles-agent
27
28
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."
29
+
- label: "4. Update Demo Sample"
30
+
agent: demo-sample-agent
31
+
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."
28
32
send: false
29
-
- label: "4. Update Component README"
33
+
- label: "5. Update Component README"
30
34
agent: component-readme-agent
31
35
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."
32
36
send: false
33
-
- label: "5. Create Migration"
37
+
- label: "6. Create Migration"
34
38
agent: migration-agent
35
39
prompt: "A breaking change was introduced. Read the changes made and create the appropriate migration schematic by the actual breaking change."
36
40
send: false
37
-
- label: "6. Update Changelog"
41
+
- label: "7. Update Changelog"
38
42
agent: changelog-agent
39
43
prompt: "Read the changes made and update CHANGELOG.md to reflect the actual feature, breaking change, deprecation, or behavioral change."
40
44
send: false
@@ -137,11 +141,15 @@ Present a brief scope summary to the user:
137
141
-**Impact**: breaking change, deprecation, i18n, accessibility, styles/theming, or docs/demo follow-through if relevant
138
142
-**Agents needed**: which specialist agents will be used
139
143
-**Test suite**: the smallest likely suite
144
+
-**Demo/sample**: ask whether the existing demo/sample structure should be updated if the change is user-visible
140
145
141
146
Keep it short and high-level. Confirm scope, not solution details.
142
147
143
148
Wait for user confirmation.
144
149
150
+
If a demo/sample is relevant, ask explicitly:
151
+
`Do you want a demo/sample update for this feature? Yes / No`
152
+
145
153
### Step 3 — Route Work
146
154
147
155
Delegate work only through isolated subagent execution when available. If isolated subagents are not available in the current environment, stop after scope discovery and require specialist work to continue in a new chat session with minimal context.
@@ -164,9 +172,13 @@ Use agents in this order:
164
172
1.**`tdd-test-writer-agent`** — decides what tests to write
165
173
2.**`feature-implementer-agent`** — only when TypeScript, template, or general production-code changes are needed
166
174
3.**`theming-styles-agent`** — only when the feature needs SCSS, theme wiring, or style-test changes
- Add JSDoc with `@param`, `@returns`, and `@example` on every new public member.
57
-
- Add or update ng update migrations for breaking changes.
57
+
- Add or update `ng update` migrations for true breaking changes such as removals, renames, moved entry points, selector changes, or incompatible default-behavior changes.
58
58
- Update the component `README.md` when the public API surface changes.
59
59
- Consider demo/sample updates in `src/app/` for user-visible changes.
60
-
- Update `CHANGELOG.md` for every new feature, deprecation, or breaking change.
60
+
- Update `CHANGELOG.md` for new features, deprecations, breaking changes, and notable user-visible fixes when they fit the existing changelog section structure.
61
61
62
62
### Never
63
63
@@ -115,6 +115,7 @@ Feature implementation is handled by a set of specialized agents in `.github/age
115
115
|`feature-implementer-agent`|`feature-implementer-agent.md`| Implements features and refactors (GREEN + REFACTOR phases) |
116
116
|`bug-fixing-implementer-agent`|`bug-fixing-implementer-agent.md`| Implements the minimum bug fix (GREEN phase) |
|`demo-sample-agent`|`demo-sample-agent.md`| Updates existing demo/sample areas in `src/app/` when a demo is explicitly requested for a user-visible feature or bug fix |
118
119
|`component-readme-agent`|`component-readme-agent.md`| Updates affected component `README.md` files for public API and documented behavior changes |
119
120
|`migration-agent`|`migration-agent.md`| Creates `ng update` migration schematics for breaking changes |
120
121
|`changelog-agent`|`changelog-agent.md`| Updates `CHANGELOG.md` following repo conventions |
0 commit comments