Skip to content

Commit d35a65f

Browse files
committed
Update sweeper-fix skill to v5: strict trigger + graceful no-record hand-back
1 parent 3aa5403 commit d35a65f

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

.github/skills/sweeper-fix/SKILL.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
---
22
name: sweeper-fix
3-
description: Fix a microsoft/vscode issue that the VS Code Sweeper reviewed as agent-fixable. Fetches the review's fix spec from the sweeper's public state repo, implements the narrow fix in the current vscode checkout, and — after showing the diff — opens a draft PR. Use when asked to fix a vscode issue with the sweeper-fix skill, a vscodesweeper record, or a sweeper fix spec.
3+
description: Implement a VS Code Sweeper fix spec — fetch the sweeper's agent-fixable review record from its public state repo, implement the narrow fix in the current vscode checkout, and — after showing the diff — open a draft PR. Use ONLY when the request explicitly asks for the sweeper — "sweeper-fix", "sweeper", "vscodesweeper", a sweeper record, or a sweeper fix spec. Do NOT use for a plain "fix this issue" request that doesn't mention the sweeper; fix those directly with your normal tools instead.
44
---
55

6-
<!-- Generated by vscodesweeper (sweeper-fix skill v4) — do not edit by hand.
7-
Source: prompts/sweeper-fix-skill.md in the vscodesweeper repo; getting started:
6+
<!-- Generated by vscodesweeper (sweeper-fix skill v5) — do not edit by hand.
7+
Source: skills/sweeper-fix/SKILL.template.md in the vscodesweeper repo; getting started:
88
https://egamma.github.io/vscodesweeper-state/fix-skill.html -->
99

1010
# sweeper-fix — implement a sweeper-reviewed fix
@@ -34,8 +34,10 @@ access):
3434
gh api "repos/egamma/vscodesweeper-state/contents/records/microsoft/vscode/items/<issue-number>.md?ref=state" -H "Accept: application/vnd.github.raw"
3535
```
3636

37-
No record → stop: this issue hasn't been reviewed by the sweeper; the skill only fixes
38-
reviewed, agent-fixable issues.
37+
No record → this skill does not apply: the issue hasn't been reviewed by the sweeper, and
38+
the skill only implements sweeper fix specs. Say so in one line, then **continue fixing the
39+
issue by your normal means** (fetch it with `gh issue view`, analyze, implement) — the
40+
absence of a sweeper record is never a reason to refuse the fix itself.
3941

4042
## 2 · Gate — every check against LIVE GitHub state, not just the record
4143

0 commit comments

Comments
 (0)