fix-bug
Bug fix workflow
- Understand the reported bug precisely.
- Identify the expected behavior, the actual behavior, and the smallest scope that reproduces the problem.
- Inspect the existing tests and locate the best place to extend them.
- Prefer enhancing an existing focused test file over adding a broad new one.
- Before modifying tests, gather debugging evidence that helps explain the failure mode.
- Use logging, screenshots, traces, or other lightweight diagnostics that fit the stack.
- Enhance the tests until they reproduce the bug.
- If a relevant test already fails for the bug, keep it as the reproduction and tighten it only if needed.
- Stop once the reproduction is minimal, reliable, and clearly tied to the reported bug.
- Fix the implementation without weakening the new or existing assertions.
- Keep the code change as small and cohesive as possible.
- Run the enhanced tests and confirm they pass with the fix in place.
- If the repository workflow requires broader verification, run the relevant checks after the targeted tests pass.
- Summarize the root cause, the test enhancement, and the implementation fix.
- Commit and push the changes, then run either the
open-prorupdate-prskill.
More from willbooster/agent-skills
playwright-cli
Automate browser interactions, test web pages and work with Playwright tests.
62complete-pr
Complete GitHub pull requests by iterating on CI and review feedback until the PR is ready.
54review-all
Run Codex, Claude Code, and Gemini CLI reviews against the current branch concurrently, deduplicate the findings, and report only the review comments that are still valid for the current codebase.
54review-fix-codex
Run Codex code review against the current branch, fix only the review comments that are still valid for the current codebase, and leave invalid comments unchanged.
52review-fix-claude
Run Claude Code review against the current branch, fix only the review comments that are still valid for the current codebase, and leave invalid comments unchanged.
51review-gemini
Run Gemini CLI review against the current branch and report only the review comments that are still valid for the current codebase, without applying fixes.
50