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
Each skill file is a routing hub pointing to detailed reference files under its `references/` folder. **Read the relevant reference files in full** before modifying any component code.
Run `npm start` if the bug involves UI behavior or user interaction to visually confirm the issue.
149
149
150
-
### Step 2 — Present a Scope Summary
150
+
### Step 2 — Request Missing Context
151
+
152
+
If the report is missing information needed to reproduce or scope the bug safely, pause and ask for the missing context before routing any work.
153
+
154
+
Keep the follow-up short and specific.
155
+
156
+
### Step 3 — Present a Scope Summary
151
157
152
158
Present a brief scope summary to the user:
153
159
@@ -166,7 +172,7 @@ Wait for user confirmation.
166
172
If a demo/sample is relevant, ask explicitly:
167
173
`Do you want a demo/sample update for this change? Yes / No`
168
174
169
-
### Step 3 — Route Work
175
+
### Step 4 — Route Work
170
176
171
177
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.
172
178
@@ -192,11 +198,11 @@ If the user declined, skip that handoff and continue with the remaining agents.
192
198
193
199
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.
194
200
195
-
### Step 4 — Verify Completeness
201
+
### Step 5 — Verify Completeness
196
202
197
203
After all agents finish, check:
198
204
199
-
- Does the failing test now pass?
205
+
- Does the newly added failing test now pass?
200
206
- Were all affected areas covered?
201
207
- Were public exports preserved or updated?
202
208
- Were theming and style changes delegated when SCSS or theme wiring was affected?
@@ -225,7 +231,7 @@ Report what was done and any remaining items.
225
231
226
232
## Multi-branch Fixes
227
233
228
-
When a bug exists in multiple release branches:
234
+
When a bug exists in multiple supported release branches:
229
235
1. Target the fix at the **oldest affected branch** first.
230
236
2. Cherry-pick the commit to each newer branch up to and including `master`.
If the request is missing information needed to discover scope safely, pause and ask for the missing context before routing any work.
138
+
139
+
Keep the follow-up short and specific.
140
+
141
+
### Step 3 — Present a Scope Summary
136
142
137
143
Present a brief scope summary to the user:
138
144
@@ -150,7 +156,7 @@ Wait for user confirmation.
150
156
If a demo/sample is relevant, ask explicitly:
151
157
`Do you want a demo/sample update for this feature? Yes / No`
152
158
153
-
### Step 3 — Route Work
159
+
### Step 4 — Route Work
154
160
155
161
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.
156
162
@@ -183,7 +189,7 @@ If the user declined, skip that handoff and continue with the remaining agents.
183
189
If the feature is purely theming or styling, route directly from `tdd-test-writer-agent` to `theming-styles-agent` and skip the general
Copy file name to clipboardExpand all lines: .github/agents/tdd-test-writer-agent.md
+22-19Lines changed: 22 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,24 +21,26 @@ You are an independent specialist, not a plan executor. Read the user's request
21
21
## How You Work
22
22
23
23
1.**Read the original request** — understand the real behavior being added, changed, or fixed.
24
-
2.**Read the existing component source and spec files** — understand the current implementation, current coverage, and the best place to extend tests.
25
-
3.**Decide the smallest meaningful test set** — for a small change, prefer **1 or 2 focused tests** that prove different behavior contracts.
26
-
4.**Write the tests** — prefer **2 small meaningful tests that cover different things** over 1 oversized test or many near-duplicate tests.
27
-
5.Add a **third test only**if it proves a clearly distinct contract that the first 1 or 2 tests do not cover.
28
-
6.**Run the tests** — confirm they fail for the intended missing behavior.
24
+
2.**Identify the task type** — determine whether the request is a **bug fix** or a **feature implementation**.
25
+
3.**Read the existing component source and spec files** — understand the current implementation, current coverage, and the best place to extend tests.
26
+
4.**Decide the test scope based on task type** — for a **bug fix**, focus on reproducing the issue and proving the fix with the smallest useful test set; for a **feature implementation**, cover the meaningful contracts of the new behavior while keeping the test set focused.
27
+
5.**Write focused failing tests** that prove the intended behavior.
28
+
6.**Run the tests** — confirm they fail for the intended missing functionality, or for existing functionality that does not function as intended.
29
29
30
30
You may collapse multiple requirements into fewer tests when one test can prove the contract clearly.
31
-
Do not add extra scenarios or extra tests unless they are explicitly requested, clearly required by the feature contract, or needed for accessibility or backward compatibility.
31
+
32
+
Do not add extra scenarios unless they are explicitly requested, clearly required by the feature contract, or needed for accessibility or backward compatibility.
32
33
33
34
---
34
35
35
36
## Rules
36
37
37
-
1.**Default to the smallest useful test set.**
38
-
- For a small additive change or bug fix, prefer **1 or 2 focused tests**.
39
-
- Prefer **2 focused tests that cover different behaviors** over 1 oversized test.
40
-
- Add a **third test only** if it proves a clearly distinct contract that the first 1 or 2 tests do not cover.
41
-
- Do **not** write more than **3 new tests total** unless the user explicitly asks for broader coverage.
38
+
1.**Choose test count based on task type.**
39
+
- For a **bug fix**, prefer **1 or 2 focused tests**.
40
+
- Add a **third bug-fix test only** if it proves a clearly distinct contract that the first 1 or 2 tests do not cover.
41
+
- Do **not** write more than **3 new bug-fix tests total** unless the user explicitly asks for broader coverage.
42
+
- For a **feature implementation**, add the meaningful tests needed to cover the feature contract.
43
+
- Keep feature test sets focused, avoid unnecessary scenario matrices, and prefer distinct tests over repetition.
42
44
2.**Prefer behavior-focused tests over API existence checks.**
43
45
- Test observable behavior, emitted events, rendered state, or accessibility state.
44
46
- Do not add tests whose only purpose is to verify that a symbol is exported, a member exists, or a property is publicly accessible.
@@ -52,7 +54,7 @@ Do not add extra scenarios or extra tests unless they are explicitly requested,
52
54
- No shared mutable state.
53
55
- No execution-order dependency.
54
56
6.**Never write production code.**
55
-
- Only test code in this phase.
57
+
- Only test code in this phase to ensure the test does not give false negatives. The test MUST fail if the functionality is missing, or not behaving as intended.
56
58
57
59
---
58
60
@@ -88,10 +90,11 @@ For bug fixes, write a test that reproduces the broken behavior — it must fail
88
90
89
91
Default to the smallest useful test set.
90
92
91
-
- Prefer **1 or 2 meaningful tests** for a small additive behavior or bug fix.
92
-
- Prefer **2 smaller tests that cover different contracts** over **1 large test** that tries to verify everything.
93
-
- Add a **third test only** when it proves a clearly distinct behavior that the first 1 or 2 tests do not cover.
94
-
-**Maximum: 3 new tests total.**
93
+
- For **bug fixes**, prefer **1 or 2 meaningful tests**.
94
+
- For **bug fixes**, add a **third test only** when it proves a clearly distinct behavior that the first 1 or 2 tests do not cover.
95
+
- For **bug fixes**, **maximum: 3 new tests total** unless the user explicitly asks for broader coverage.
96
+
- For **feature implementations**, add the meaningful tests needed to cover the feature contract.
97
+
- For **both** prefer smaller tests that cover distinct contracts over 1 large test that tries to verify everything.
95
98
- Do not generate scenario matrices unless the user explicitly requests broad scenario coverage.
96
99
- Do not split one small behavior into many tiny repetitive tests.
97
100
@@ -152,9 +155,9 @@ Before finishing:
152
155
153
156
1. Run the smallest relevant test suite.
154
157
2. Confirm the new tests fail for the intended missing behavior.
155
-
3. Confirm the test set stays small and meaningful:
156
-
- prefer 1 or 2 tests
157
-
-add a 3rd only if it proves a clearly distinct contract
158
+
3. Confirm the test set matches the task:
159
+
-for **bug fixes**, prefer 1 or 2 tests and add a 3rd only if it proves a clearly distinct contract
160
+
-for **feature implementations**, ensure the tests meaningfully cover the feature without padding or repetition
- Add JSDoc with `@param`, `@returns`, and `@example` on every new public member.
57
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
+
- Update relevant Agent skills if a change is significant and/or you need to tell other agents how to use the newly introduced feature.
59
60
- Consider demo/sample updates in `src/app/` for user-visible changes.
60
61
- Update `CHANGELOG.md` for new features, deprecations, breaking changes, and notable user-visible fixes when they fit the existing changelog section structure.
61
62
@@ -120,6 +121,9 @@ Feature implementation is handled by a set of specialized agents in `.github/age
120
121
|`migration-agent`|`migration-agent.md`| Creates `ng update` migration schematics for breaking changes |
121
122
|`changelog-agent`|`changelog-agent.md`| Updates `CHANGELOG.md` following repo conventions |
122
123
124
+
Feature and bug orchestrators route work in this order:
Copy file name to clipboardExpand all lines: CHANGELOG.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,11 @@ All notable changes for each version of this project will be documented in this
9
9
-`IgxCombo`, `IgxSimpleCombo`
10
10
- Introduced the `selectionChanged` event for both components. The event is not cancelable and is emitted after the selection is committed and the component state is updated.
11
11
12
+
## 21.1.3
13
+
14
+
### Security Fixes
15
+
- Bumped `jspdf` dependency to `4.2.1` to address a security vulnerability present in earlier versions.
0 commit comments