marxbiotech/pr-review-toolkit/agy-fix-worker
Claude Code and agent skill by marxbiotech/pr-review-toolkit
- community
Checking that the SKILL.md file is still in the repository.
Use only when pr-review-resolver asks Antigravity (AGY) to fix one selected PR review issue with bounded owned files. This resolver-managed worker edits code and reports validation results, but never updates PR review comments or .pr-review-cache state.
Install
npx vskill@latest install marxbiotech/pr-review-toolkit/agy-fix-workerSKILL.md
The same SKILL.md was published earlier as marxbiotech/pr-review-toolkit/agy-fix-worker.
Antigravity (AGY) Fix Worker
Fix exactly one selected PR review issue for pr-review-resolver.
Contract
This worker is always resolver-managed. It must edit only the owned files provided by pr-review-resolver, run targeted validation, and report results back to the resolver.
Do not read or write .pr-review-cache, update PR review comments, create PR comments, call cache-read-comment.sh, call cache-write-comment.sh, call gh api, commit, push, or merge. pr-review-resolver owns all review status updates, metadata changes, CAS handling, and comment publication.
Find the toolkit root in this order:
- Use
AGY_PLUGIN_ROOTwhen set by the Antigravity plugin runtime. - Use
GROK_PLUGIN_ROOTwhen set by the Grok plugin runtime. - Use
PR_REVIEW_TOOLKIT_ROOTwhen set in the environment. - If none is set, derive the packaged plugin root from the skill path. This
SKILL.mdlives at<root>/skills/<skill-name>/SKILL.md, so<root>is two levels up. EnsureSKILL_PATHis set to the absolute path of thisSKILL.mdbefore running the snippet:
``bash if [ -n "${AGY_PLUGIN_ROOT:-}" ]; then PR_REVIEW_TOOLKIT_ROOT="$AGY_PLUGIN_ROOT" elif [ -n "${GROK_PLUGIN_ROOT:-}" ]; then PR_REVIEW_TOOLKIT_ROOT="$GROK_PLUGIN_ROOT" elif [ -z "${PR_REVIEW_TOOLKIT_ROOT:-}" ]; then : "${SKILL_PATH:?SKILL_PATH must be set to the absolute path of this SKILL.md}" PR_REVIEW_TOOLKIT_ROOT="$(cd "$(dirname "$SKILL_PATH")/../.." && pwd)" fi ``
Verify at least one of <root>/.antigravity-plugin/plugin.json or <root>/.grok-plugin/plugin.json exists. If missing, treat derivation as failed and proceed to step 5.
- Stop and ask the dev agent for
PR_REVIEW_TOOLKIT_ROOT.
Canonicalize the root if it is needed for package-relative context:
This worker does not use review-state scripts. PR_REVIEW_TOOLKIT_ROOT exists only to make packaged plugin context explicit.
Resolver-managed state flow:
Required Input
pr-review-resolver must provide:
If owned files or the user decision are missing, stop and ask the resolver for them. Do not decide Deferred, N/A, Duplicate, or Skip yourself.
Workflow
- Confirm the target issue, user-selected fix approach, and owned files are present.
- Inspect the referenced code and directly related context.
- Edit only the owned files. If another file must change, stop and report the required expansion to
pr-review-resolver. - Run targeted validation such as tests, lint,
git diff --check, script syntax checks, or framework-specific checks relevant to the changed files. Capture each validation command and its exit code. If no validation is possible for this change (e.g. pure documentation edit, no covering test exists), say so explicitly underValidation:— never leave it empty. - Compute the
Status:field per the contract below and report files changed, validation results, fix summary, status, and remaining risk topr-review-resolver.
Do not update metadata. Do not mark the review issue as fixed. Do not write the canonical review comment. The resolver will update status after it reviews this worker's result.
Output Contract
End with:
Validation: entry shape — each entry is exactly one of:
<command> -- exit <N>— a real validation command and its captured exit code. The separator is the ASCII double-dash--(space + two hyphens + space) to keep encoding-stable and easy to regex (/^- (.*) -- exit (-?\d+)$/); do not use Unicode em-dash.none possible: <reason>— an explicit statement that no validation applies, with<reason>explaining why (e.g. "comment-only edit" or "no covering test exists in the repo").
The grammar is unit-tested by tests/parse-validation-entry-test.sh and parsed at the consumer side by ${PR_REVIEW_TOOLKIT_ROOT}/scripts/parse-validation-entry.sh. Workers must follow the grammar exactly; the resolver invokes the parser to decide success-eligibility.
Status semantics — the resolver parses this line and uses it to decide whether to mark ✅ Fixed:
success: the change addresses the issue and everyValidation:entry is either-- exit 0ornone possible: <reason>.partial: the change addresses the issue but at least one validation entry has exit code != 0, was skipped/aborted partway, failed to start, or completed with only partial coverage. Explain the gap inRemaining risk.failed: the change does not address the issue (e.g. could not be applied within owned files, attempted fix introduced a regression).
Safety net — never report `Status: success` when:
- any
Validation:entry has a non-zero exit code, OR - a validation command was attempted but its true exit code could not be captured. Use
partialand explain the rc-capture gap inRemaining risk.
The resolver, dev agent, or human is responsible for committing and pushing. Do not start another review pass before the code changes are committed or intentionally left uncommitted by the dev agent.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugins/pr-review-toolkit/skills/agy-fix-worker/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/marxbiotech/pr-review-toolkit/agy-fix-worker)