@chris1807/claude-kit 2.1.41 → 2.1.42
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/README.md
CHANGED
|
@@ -649,7 +649,7 @@ Claude reviews for:
|
|
|
649
649
|
| `/status` | `/status release 24` | Check status of a release, pipeline, work item, or environment |
|
|
650
650
|
| `/plan-backlog` | `/plan-backlog [project]` | Sweep backlog for Dev Ready stories with points and no tasks → propose one child task with hours per story |
|
|
651
651
|
| `/plan-sprint` | `/plan-sprint [project]` | Sweep the current sprint for stories/bugs with no child tasks → propose one child task with hours per item |
|
|
652
|
-
| `/quote-backlog` | `/quote-backlog [project]` | Sweep backlog for Design Approved items without points → review completeness, check for duplicates, propose points + creator comments (10 at a time, approval-gated) |
|
|
652
|
+
| `/quote-backlog` | `/quote-backlog [project]` | Sweep backlog for Design Approved items without points → review completeness, check for duplicates, suggest rewrites, propose points + creator comments (10 at a time, approval-gated) |
|
|
653
653
|
| `/quote` | `/quote AB#1234` | Estimate a work item in story points (senior-calibrated Fibonacci rubric) |
|
|
654
654
|
| `/explain` | `/explain AB#1234` | Summarize and explain a work item in plain language |
|
|
655
655
|
| `/cleanup-branches` | `/cleanup-branches` | Delete merged feature/work branches |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@chris1807/claude-kit",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.42",
|
|
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": {
|
|
@@ -7,6 +7,7 @@ This command walks the **backlog** of a chosen Azure DevOps project, finds user
|
|
|
7
7
|
3. **Looks at the code when it makes sense** — to validate the described approach and suggest changes.
|
|
8
8
|
4. **Proposes a story point estimate** — using the same senior-calibrated rubric as `/quote`.
|
|
9
9
|
5. **Drafts a comment for the item's creator** when issues are found.
|
|
10
|
+
6. **Suggests a rewrite** of the description/acceptance criteria when they need work — offered to the creator in the comment, or applied directly if the user chooses.
|
|
10
11
|
|
|
11
12
|
**Hard batch limit: 10 items per run.** If more qualify, process the first 10 (by backlog rank) and report how many remain.
|
|
12
13
|
|
|
@@ -151,9 +152,19 @@ If 3b–3d surfaced anything — gaps, a duplicate, a suggested approach change
|
|
|
151
152
|
|
|
152
153
|
Keep it professional and brief — findings only, no filler. Items with no issues get **no comment**; don't post "looks good" noise.
|
|
153
154
|
|
|
155
|
+
### 3g. Draft a suggested rewrite (when needed)
|
|
156
|
+
|
|
157
|
+
If the completeness review found the **description or acceptance criteria** to be vague, contradictory, or structurally weak — not just missing one detail — draft a full rewrite that preserves the creator's intent:
|
|
158
|
+
|
|
159
|
+
- **Description**: what is being built, why, and for whom — written from what the item, its links, and the code reconnaissance establish. Never invent requirements; where intent is unknowable, leave an explicit `{question for creator}` placeholder instead of guessing.
|
|
160
|
+
- **Acceptance criteria**: a numbered, testable list — each criterion something UAT could verify.
|
|
161
|
+
- **Title**: only if it violates the `PREFIX - Title` convention or misdescribes the work.
|
|
162
|
+
|
|
163
|
+
The rewrite is a *suggestion*: by default it travels inside the creator comment (3f) under a "Suggested rewrite:" heading so the creator stays in control of their item. It is applied directly to the work item only if the user explicitly chooses that in Step 4. Skip this for items that are Complete or only missing a one-line answer — a rewrite should earn its place.
|
|
164
|
+
|
|
154
165
|
### Ultracode mode (optional fan-out)
|
|
155
166
|
|
|
156
|
-
Only when **ultracode is on** (a system-reminder confirms it, or the user typed `ultracode`): the analysis in 3a–
|
|
167
|
+
Only when **ultracode is on** (a system-reminder confirms it, or the user typed `ultracode`): the analysis in 3a–3g is independent per item, so fan out **one agent per item** with the `Workflow` tool. Each agent does the full 3a–3g pass and returns a structured result (item id, creator, completeness verdict, duplicate findings, code notes, proposed points, draft comment, suggested rewrite) — use a `schema` so each agent returns validated JSON.
|
|
157
168
|
|
|
158
169
|
**Never fan out Step 4 or Step 5** — presentation, approval, and every write stay sequential in the main loop. If ultracode is off, analyze the batch one item at a time; the output is identical either way.
|
|
159
170
|
|
|
@@ -165,27 +176,28 @@ Show the whole batch **before writing anything**. Start with the summary table:
|
|
|
165
176
|
Quote sweep — {project} backlog, Design Approved without Story Points
|
|
166
177
|
Batch: {n} of {total} qualifying items{ — run /quote-backlog again for the next 10}
|
|
167
178
|
|
|
168
|
-
| # | ID | Title | Completeness | Points | Comment |
|
|
169
|
-
|
|
170
|
-
| 1 | AB#4611 | COM - Payment reminder emails | Complete | 5 | — |
|
|
171
|
-
| 2 | AB#4614 | COM - Bulk close inactive accounts | Minor gaps | 8 | yes |
|
|
172
|
-
| 3 | AB#4617 | PAY - Refund webhook handling | Blocking gaps | — | yes |
|
|
173
|
-
| 4 | AB#4620 | COM - Export audit log | Already done? | — | yes |
|
|
179
|
+
| # | ID | Title | Completeness | Points | Comment | Rewrite |
|
|
180
|
+
|----|----------|----------------------------------------|---------------|--------|---------|---------|
|
|
181
|
+
| 1 | AB#4611 | COM - Payment reminder emails | Complete | 5 | — | — |
|
|
182
|
+
| 2 | AB#4614 | COM - Bulk close inactive accounts | Minor gaps | 8 | yes | — |
|
|
183
|
+
| 3 | AB#4617 | PAY - Refund webhook handling | Blocking gaps | — | yes | yes |
|
|
184
|
+
| 4 | AB#4620 | COM - Export audit log | Already done? | — | yes | — |
|
|
174
185
|
```
|
|
175
186
|
|
|
176
|
-
Then a detail block per item — estimate reasoning (2–3 bullets), completeness findings, duplicate evidence with links/IDs, code notes, and the **full text of any
|
|
187
|
+
Then a detail block per item — estimate reasoning (2–3 bullets), completeness findings, duplicate evidence with links/IDs, code notes, the **full text of any draft comment**, and the **full text of any suggested rewrite**. The user must be able to read every word that would be posted.
|
|
177
188
|
|
|
178
189
|
Then ask:
|
|
179
190
|
|
|
180
191
|
```
|
|
181
|
-
Approve? (all / numbers e.g. "1,2,4" / edit N / skip N / cancel)
|
|
192
|
+
Approve? (all / numbers e.g. "1,2,4" / edit N / skip N / apply rewrite N / cancel)
|
|
182
193
|
```
|
|
183
194
|
|
|
184
195
|
**Wait for the user.**
|
|
185
196
|
|
|
186
|
-
- `all` → apply every proposed write (points and comments) in Step 5
|
|
197
|
+
- `all` → apply every proposed write (points and comments) in Step 5; rewrites stay inside the comments as suggestions
|
|
187
198
|
- `1,2,4` → apply only those items; the rest are recorded as skipped
|
|
188
|
-
- `edit N` → ask what to change on item N (points value or
|
|
199
|
+
- `edit N` → ask what to change on item N (points value, comment text, or rewrite text), revise, re-show that item, ask again
|
|
200
|
+
- `apply rewrite N` → write item N's rewrite directly onto the work item in Step 5 (instead of only suggesting it in the comment)
|
|
189
201
|
- `skip N` → drop item N, re-ask for the rest
|
|
190
202
|
- `cancel` → stop with **zero changes** to Azure DevOps
|
|
191
203
|
|
|
@@ -195,6 +207,7 @@ Only for approved items, in batch order:
|
|
|
195
207
|
|
|
196
208
|
1. **Set Story Points** (items with a proposed number): update `Microsoft.VSTS.Scheduling.StoryPoints` via `mcp__azure-devops__wit_update_work_item`. Touch no other field — state, assignee, iteration, and tags stay as they are.
|
|
197
209
|
2. **Post the comment** (items with an approved draft): add it with `mcp__azure-devops__wit_add_work_item_comment` (or the server's work-item comment tool). Use the mention syntax the server supports so the creator is notified; otherwise lead with their display name as drafted.
|
|
210
|
+
3. **Apply the rewrite** (only items the user marked `apply rewrite N`): update `System.Description` and/or `Microsoft.VSTS.Common.AcceptanceCriteria` via `wit_update_work_item`, and adjust the comment to say the rewrite was applied ("rewrote the description/AC per the above — please review") rather than suggesting it. Never apply a rewrite the user didn't explicitly mark.
|
|
198
211
|
|
|
199
212
|
If a write fails, report the failure and ask whether to continue with the remaining items or stop.
|
|
200
213
|
|
|
@@ -206,6 +219,7 @@ If a write fails, report the failure and ask whether to continue with the remain
|
|
|
206
219
|
Items analyzed: {n} (of {total} qualifying — {remaining} left for the next run)
|
|
207
220
|
✓ Points set: {n_pointed} (total {sum} pts)
|
|
208
221
|
✓ Comments: {n_comments} posted to creators
|
|
222
|
+
✓ Rewrites: {n_rewrites_applied} applied, {n_rewrites_suggested} suggested in comments
|
|
209
223
|
⏭ Skipped: {n_skipped} ({reasons: user skipped / blocking gaps / possible duplicate})
|
|
210
224
|
|
|
211
225
|
Pointed items:
|
|
@@ -244,7 +244,7 @@ All deployment and release operations are available as slash commands:
|
|
|
244
244
|
| `/status` | `/status release 24` | Check release, pipeline, or work item status |
|
|
245
245
|
| `/plan-backlog` | `/plan-backlog [project]` | Sweep backlog for Dev Ready stories with points and no tasks → propose child tasks with hours |
|
|
246
246
|
| `/plan-sprint` | `/plan-sprint [project]` | Sweep the current sprint for stories/bugs with no child tasks → propose one child task with hours per item |
|
|
247
|
-
| `/quote-backlog` | `/quote-backlog [project]` | Sweep backlog for Design Approved items without points → review completeness, check for duplicates, propose points + creator comments (10 at a time, approval-gated) |
|
|
247
|
+
| `/quote-backlog` | `/quote-backlog [project]` | Sweep backlog for Design Approved items without points → review completeness, check for duplicates, suggest rewrites, propose points + creator comments (10 at a time, approval-gated) |
|
|
248
248
|
| `/cleanup-branches` | `/cleanup-branches` | Delete merged branches |
|
|
249
249
|
| `/close-orphan-tasks` | `/close-orphan-tasks [scope] [--dry-run]` | Close open Tasks whose parent is Ready to Deploy / Deployed / Closed |
|
|
250
250
|
|