From beton
Agentless-style bug-fix pipeline. Use when fixing a reported bug, resolving a GitHub issue, reproducing a traceback, or making a failing test pass. Localize, reproduce, fix minimally, validate.
How this skill is triggered — by the user, by Claude, or both
Slash command
/beton:beton-swebenchThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
For bugs, tracebacks, failing tests in an existing codebase. Structure from the Agentless paper (Xia et al., 2024).
For bugs, tracebacks, failing tests in an existing codebase. Structure from the Agentless paper (Xia et al., 2024).
Phase 1 must complete before Phase 2. Phase 2 must complete before Phase 3. Do not skip or reorder.
<phase_1_localize>
Know where the bug lives before touching any code.
localize subagent with the full issue, error, or stack trace verbatim. Returns up to 5 ranked candidates.Localized to src/auth.py:42 (validate_token).
Reason: stack frame matches; the `<` on line 47 is the off-by-one.
If you cannot localize confidently, stop and ask the user for more context. Do not guess. Guessing is the most common cause of wrong fixes. </phase_1_localize>
<phase_2_fix>
Only after Phase 1 is complete. A failing test is your oracle. Without one you have no way to confirm the fix.
test_<issue_slug>_regression. Run it. Confirm it fails before touching production code.<phase_3_validate>
Only after Phase 2 is complete.
pytest <dir>/ -q, bun test <dir>). Must pass.Fix: src/auth.py:47 (`<` → `<=`)
Reproduction test: PASS
Suite (auth/): PASS (12/12)
If the suite regresses, return to Phase 2 with the next-best localization candidate. Do not patch the new failure on top of the old one. </phase_3_validate>
After 3 failed Phase 3 attempts, stop and ask the user. Either localization keeps missing, or the issue description is incomplete. Sampling without new information rarely converges.
Provides a checklist for code reviews covering functionality, security, performance, maintainability, tests, and quality. Use for pull requests, audits, team standards, and developer training.
npx claudepluginhub netbr3ak/beton --plugin beton