sweeper-fix

Implements sweeper-reviewed fixes for microsoft/vscode issues and opens draft pull requests.

Updated Sep 3, 2026
One-click install
npx skills add https://github.com/az0512124155azz-sys/CodeForge --skill sweeper-fix-az0512124155azz-sys
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sweeper-fix
Source: https://github.com/az0512124155azz-sys/CodeForge/tree/main/.github/skills/sweeper-fix
Command: npx skills add https://github.com/az0512124155azz-sys/CodeForge --skill sweeper-fix-az0512124155azz-sys

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? It turns a VS Code Sweeper review record for a microsoft/vscode issue into a narrow, tested code fix and a draft pull request, removing the manual work of locating the defect, writing the change, and preparing the PR. ## Core Features & Use Cases - Review Record Retrieval: Fetches the sweeper's agent-fixable fix spec from the public vscodesweeper-state repository for a given issue number. - Live Gating: Verifies against live GitHub state that the issue is open, has no security label, has no existing open PR, and that the review is not stale before implementing. - Narrow Fix Plus Test: Implements the smallest change matching the spec and adds a runnable validation test that fails before and passes after the fix. - Use Case: A maintainer asks to run the sweeper fix for issue #123456; the skill fetches the record, implements the fix in the vscode checkout, shows the diff for approval, then pushes a branch and opens a draft PR referencing the issue. ## Quick Start Ask the agent to run the sweeper fix for a specific microsoft/vscode issue number from within your vscode checkout.

Frequently Asked Questions about sweeper-fix

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I implement a VS Code Sweeper fix for a vscode issue?

Run the skill from a clean microsoft/vscode checkout and provide the issue number. It fetches the sweeper record from the vscodesweeper-state repo, verifies live gates, implements the narrow fix with a test, and opens a draft PR after you approve the diff.

What happens if an issue has no sweeper review record?

The skill reports that no record exists and continues fixing the issue by normal means, fetching it with the repo pinned explicitly via gh issue view --repo microsoft/vscode. The absence of a record never blocks the fix itself.

Can the skill push changes without my approval?

No. The skill must show the full diff and receive explicit maintainer approval before any push. It also re-runs the live gates after approval, commits only explicitly staged files, and opens the PR as a draft.

When does the sweeper-fix skill refuse to proceed?

It refuses when the checkout is not microsoft/vscode, has tracked modifications, the record lacks autoFixable: true, the issue is closed, has a security label, or an open PR already references it. Security-labeled issues are a hard stop.

Does the skill handle stale sweeper reviews?

Yes. If the issue's updatedAt is newer than the record's itemUpdatedAt, the skill summarizes what changed since the review and asks the maintainer to confirm before continuing. The current code always wins over a stale spec.