@chris1807/claude-kit 2.1.15 → 2.1.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@chris1807/claude-kit",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.17",
|
|
4
4
|
"description": "Claude Code starter kit for Azure DevOps teams — agents, hooks, MCP servers, slash commands, and end-to-end work item → PR → release → deploy workflow automation",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -129,11 +129,37 @@ Run a build check **before** any other quality checks. Use the `build-validator`
|
|
|
129
129
|
|
|
130
130
|
## Step 7: Quality Checks
|
|
131
131
|
|
|
132
|
-
1. **
|
|
133
|
-
2. **Run
|
|
134
|
-
3. **Run lint** — ESLint and dotnet format
|
|
132
|
+
1. **Run the full test suite** — every unit test in the repo, plus integration tests. Not just the tests added in this change. A failure in an unrelated test means this change broke something else; treat it as a regression, fix it, and re-run until the entire suite is green
|
|
133
|
+
2. **Run lint** — ESLint and dotnet format
|
|
135
134
|
|
|
136
|
-
## Step 8:
|
|
135
|
+
## Step 8: Code Review
|
|
136
|
+
|
|
137
|
+
Spawn the `reviewer` agent to review the diff for quality, security, Clean Architecture compliance, and CLAUDE.md adherence. The agent is read-only — it reports findings, you act on them.
|
|
138
|
+
|
|
139
|
+
Present the findings to the user grouped by severity:
|
|
140
|
+
|
|
141
|
+
```
|
|
142
|
+
## Code Review Findings
|
|
143
|
+
|
|
144
|
+
### Must-fix (blocking)
|
|
145
|
+
- {file:line} — {issue + why it blocks}
|
|
146
|
+
|
|
147
|
+
### Should-fix (recommended)
|
|
148
|
+
- {file:line} — {issue + suggested change}
|
|
149
|
+
|
|
150
|
+
### Nits (optional)
|
|
151
|
+
- {file:line} — {minor note}
|
|
152
|
+
|
|
153
|
+
Address must-fix items? (yes / select / skip)
|
|
154
|
+
```
|
|
155
|
+
|
|
156
|
+
- `yes` → fix every must-fix item, then re-run the reviewer agent on the updated diff
|
|
157
|
+
- `select` → ask which items to address; fix only those, then re-run the reviewer agent
|
|
158
|
+
- `skip` → proceed without fixes (only allowed if there are no must-fix items, or the user explicitly overrides)
|
|
159
|
+
|
|
160
|
+
Loop until the reviewer reports no must-fix items, or the user explicitly accepts remaining findings. Do not proceed to UAT with unresolved must-fix items unless the user overrides.
|
|
161
|
+
|
|
162
|
+
## Step 9: UAT Gate
|
|
137
163
|
|
|
138
164
|
### If Hot Fix:
|
|
139
165
|
Skip manual UAT. Present an abbreviated confirmation:
|
|
@@ -165,7 +191,7 @@ Did manual testing pass?
|
|
|
165
191
|
|
|
166
192
|
Wait for the user's response before proceeding. Do NOT create a PR until confirmed.
|
|
167
193
|
|
|
168
|
-
## Step
|
|
194
|
+
## Step 10: Push, Create PR, and Update Work Item
|
|
169
195
|
|
|
170
196
|
1. Push the branch: `git push -u origin HEAD`
|
|
171
197
|
2. Create a PR via Azure DevOps MCP:
|
|
@@ -33,7 +33,7 @@ Regardless of whether description/acceptance criteria changed, **always read the
|
|
|
33
33
|
|
|
34
34
|
## Step 3: Summarize Rework and Confirm
|
|
35
35
|
|
|
36
|
-
Present a summary of the rework feedback to the user
|
|
36
|
+
Present a summary of the rework feedback to the user. **Every feedback item must be mapped to an Acceptance Criterion** — if a feedback item doesn't map to any AC, flag it explicitly as either (a) implied by an AC that's worded too loosely or (b) scope-creep that should be a separate work item.
|
|
37
37
|
|
|
38
38
|
```
|
|
39
39
|
## Rework for AB#{id}: {title}
|
|
@@ -41,19 +41,25 @@ Present a summary of the rework feedback to the user:
|
|
|
41
41
|
**Last PR:** #{pr_id} (created {date})
|
|
42
42
|
**New comments:** {count}
|
|
43
43
|
|
|
44
|
-
###
|
|
45
|
-
{
|
|
44
|
+
### Current Acceptance Criteria
|
|
45
|
+
1. {AC #1 — verbatim}
|
|
46
|
+
2. {AC #2 — verbatim}
|
|
47
|
+
3. ...
|
|
48
|
+
|
|
49
|
+
### Rework Feedback → AC mapping
|
|
50
|
+
| # | Feedback (summarized) | Maps to AC | Status |
|
|
51
|
+
|---|----------------------|-----------|--------|
|
|
52
|
+
| 1 | {feedback item 1} | AC #2 | not met in last PR |
|
|
53
|
+
| 2 | {feedback item 2} | AC #4 | partially met — edge case missed |
|
|
54
|
+
| 3 | {feedback item 3} | (none) | ⚠ scope-creep — flag for separate item? |
|
|
46
55
|
|
|
47
56
|
### Requirement Changes (if any)
|
|
48
57
|
{description/acceptance criteria changes since last PR, or "No changes to description or acceptance criteria since last PR"}
|
|
49
58
|
|
|
50
|
-
|
|
51
|
-
{full acceptance criteria — numbered list, highlight any that the feedback suggests are not yet met}
|
|
52
|
-
|
|
53
|
-
Does this capture the rework correctly? Do you have any additional context?
|
|
59
|
+
Does this capture the rework correctly? Any feedback items that should be flagged as scope-creep (separate work item) instead of being addressed here?
|
|
54
60
|
```
|
|
55
61
|
|
|
56
|
-
**Wait for the user to respond.** Do NOT proceed until the user confirms
|
|
62
|
+
**Wait for the user to respond.** Do NOT proceed until the user confirms the AC mapping. If they reclassify any item as scope-creep, drop it from the plan and note it in the final summary. If they add context, incorporate it.
|
|
57
63
|
|
|
58
64
|
## Step 4: Explore & Plan
|
|
59
65
|
|
|
@@ -85,6 +91,17 @@ Present the plan to the user:
|
|
|
85
91
|
|
|
86
92
|
List every test file you will add or modify and the scenarios each covers. Rework feedback often reveals missing test coverage on the original implementation — add regression tests that would have caught the original issue. If a rework change in this plan has no test coverage, justify why here.
|
|
87
93
|
|
|
94
|
+
### Acceptance Criteria Coverage
|
|
95
|
+
For every AC on the work item, state how this plan ensures it is met after rework. The rework is not complete until every row is "covered." Use this table — do not skip any AC, even ones the feedback didn't mention.
|
|
96
|
+
|
|
97
|
+
| AC # | Acceptance Criterion (short) | How this plan covers it |
|
|
98
|
+
|------|------------------------------|--------------------------|
|
|
99
|
+
| 1 | {AC #1 short form} | Already met by prior PR — verify via {test or manual check} |
|
|
100
|
+
| 2 | {AC #2 short form} | Addressed by {file/change} + {test} |
|
|
101
|
+
| 3 | {AC #3 short form} | ⚠ Not yet covered — {what needs to be added to this plan before approving} |
|
|
102
|
+
|
|
103
|
+
If any row reads "⚠ Not yet covered," fix the plan before presenting it — do not ask the user to approve an incomplete plan.
|
|
104
|
+
|
|
88
105
|
### Agents
|
|
89
106
|
- **backend**: {what it will do}
|
|
90
107
|
- **frontend**: {what it will do}
|
|
@@ -185,11 +202,45 @@ Run a build check **before** any other quality checks. Use the `build-validator`
|
|
|
185
202
|
|
|
186
203
|
## Step 9: Quality Checks
|
|
187
204
|
|
|
188
|
-
1. **
|
|
189
|
-
2. **Run
|
|
190
|
-
3. **
|
|
205
|
+
1. **Run the full test suite** — every unit test in the repo, plus integration tests. Not just the tests added in this rework. A failure in an unrelated test means this rework broke something else; treat it as a regression, fix it, and re-run until the entire suite is green
|
|
206
|
+
2. **Run lint** — ESLint and dotnet format
|
|
207
|
+
3. **Acceptance Criteria check** — re-read the work item's full Acceptance Criteria (the same list captured in Step 3). For each AC, identify the test or piece of code that proves it's met. If any AC has no covering test or visible code path, flag it before moving on:
|
|
208
|
+
|
|
209
|
+
```
|
|
210
|
+
⚠ AC #{n} ({short form}) has no covering test or clear code path.
|
|
211
|
+
Add coverage now, or call this out to the user before UAT.
|
|
212
|
+
```
|
|
213
|
+
|
|
214
|
+
Do not advance to Step 10 with any AC unverified.
|
|
215
|
+
|
|
216
|
+
## Step 10: Code Review
|
|
217
|
+
|
|
218
|
+
Spawn the `reviewer` agent to review the rework diff for quality, security, Clean Architecture compliance, and CLAUDE.md adherence. Focus the review on the files changed since the last PR — call out any regression risk introduced by the rework. The agent is read-only — it reports findings, you act on them.
|
|
219
|
+
|
|
220
|
+
Present the findings to the user grouped by severity:
|
|
221
|
+
|
|
222
|
+
```
|
|
223
|
+
## Code Review Findings
|
|
224
|
+
|
|
225
|
+
### Must-fix (blocking)
|
|
226
|
+
- {file:line} — {issue + why it blocks}
|
|
227
|
+
|
|
228
|
+
### Should-fix (recommended)
|
|
229
|
+
- {file:line} — {issue + suggested change}
|
|
230
|
+
|
|
231
|
+
### Nits (optional)
|
|
232
|
+
- {file:line} — {minor note}
|
|
233
|
+
|
|
234
|
+
Address must-fix items? (yes / select / skip)
|
|
235
|
+
```
|
|
236
|
+
|
|
237
|
+
- `yes` → fix every must-fix item, then re-run the reviewer agent on the updated diff
|
|
238
|
+
- `select` → ask which items to address; fix only those, then re-run the reviewer agent
|
|
239
|
+
- `skip` → proceed without fixes (only allowed if there are no must-fix items, or the user explicitly overrides)
|
|
240
|
+
|
|
241
|
+
Loop until the reviewer reports no must-fix items, or the user explicitly accepts remaining findings. Do not proceed to UAT with unresolved must-fix items unless the user overrides.
|
|
191
242
|
|
|
192
|
-
## Step
|
|
243
|
+
## Step 11: UAT Gate
|
|
193
244
|
|
|
194
245
|
### If Hot Fix:
|
|
195
246
|
Skip manual UAT. Present an abbreviated confirmation:
|
|
@@ -221,7 +272,7 @@ Did manual testing pass?
|
|
|
221
272
|
|
|
222
273
|
Wait for the user's response before proceeding. Do NOT push until confirmed.
|
|
223
274
|
|
|
224
|
-
## Step
|
|
275
|
+
## Step 12: Push and Update
|
|
225
276
|
|
|
226
277
|
1. Push the changes: `git push`
|
|
227
278
|
2. Add a comment on the existing PR summarizing what was changed in the rework
|