一键导入
bug-hunt
Find real bugs in local code, branch diffs, or named surfaces with evidence-first triage, regression-test guidance, and Codex-native verification.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Find real bugs in local code, branch diffs, or named surfaces with evidence-first triage, regression-test guidance, and Codex-native verification.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Improve, audit, simplify, rewrite, or migrate prompts, tool descriptions, agent instructions, and prompt stacks for GPT-5.6 Sol or the GPT-5.6 family. Use for outcome-first prompt design, autonomy boundaries, tool routing, PTC, grounding, verbosity, reasoning effort, and prompt evals.
Apply a deep, design-minded engineering workflow for complex work that needs careful planning, iteration, and simplification.
Use when preparing or running a Claude CLI agentic engineering review through claude -p for repository audits, architecture analysis, system design, security review, large refactors, specs, RFCs, or evidence-grounded long-form engineering analysis.
Use when preparing or running a ZCode GLM-5.2 agentic builder workflow through zcode --prompt for fast implementation, iterative code generation, focused fixes, and validation on an existing repository.
Apply adversarial opposite-analysis to plans, specs, architecture, code changes, and claims. Use when the user asks for adversarial review, opposing analysis, contrarian review, red-team reasoning, or Z.ai and MiniMax cross-checks through the Ralph MCP router.
Review and adjudicate Bugbot, Cursor, Seer, and similar automated PR feedback with local evidence before accepting, fixing, or dismissing findings.
| name | bug-hunt |
| description | Find real bugs in local code, branch diffs, or named surfaces with evidence-first triage, regression-test guidance, and Codex-native verification. |
| user-invocable | true |
| argument-hint | [branch diff, PR, file, directory, failing test, runtime symptom, or bug-hunt scope] |
Use this skill when the user asks for /bugs, bug hunt, find bugs, branch bug
review, logic-error review, QA-minded static review, or investigation of a
failing behavior.
This is a Codex-native adaptation of the Cursor bugs and find-bugs skills.
Keep Codex main as the decision maker. Do not use unsafe bypass modes. Do not
change code unless the user explicitly asks for fixes after the review.
Bug hunting is evidence work, not a confidence exercise. Report only issues that are grounded in changed code, reachable paths, test failures, runtime evidence, or a clear invariant violation. If a suspected issue cannot be verified from the available context, label it as an unverified risk and state the fastest proof path.
Prioritize:
Skip stylistic comments and pure preference feedback.
Before reviewing, identify the scope and source of truth:
If the scope is a branch review, start from the merge-base diff, not only the working tree:
git status --short --branch
git merge-base HEAD origin/main
git diff --stat origin/main...HEAD
git diff origin/main...HEAD
If the repository uses master, dev, or another base branch, prove that base
instead of assuming origin/main.
Gather the complete changed surface.
Map the attack and failure surface.
Check bug classes deliberately.
Verify each suspected issue.
Decide whether to stop at review or fix.
Use severity by real impact:
| Severity | Meaning | Default action |
|---|---|---|
| Critical | Data loss, auth bypass, security exposure, production outage, or irreversible corruption | Must fix before merge/release |
| High | Likely runtime failure, serious regression, race, broken core flow, or major hidden state bug | Should fix before merge/release |
| Medium | Reachable edge case, partial failure, operational confusion, or missing coverage for risky behavior | Review and decide |
| Low | Local hardening or maintainability issue with plausible bug risk | Optional or backlog |
Lead with findings. If there are no findings, say that clearly and include the reviewed scope and remaining verification gaps.
## Findings
### High path/to/file.ts:123 - Title
- Type: logic | race | error-handling | async | edge-case | type | security | DoS
- Evidence: exact code, diff, test, runtime output, or missing guard
- Impact: who or what is affected and how
- Reachability: public path or caller chain
- Fix: concrete minimal remedy
- Verification: focused test, command, or manual proof
## Reviewed Scope
- Files reviewed:
- Checklist covered:
- Not fully verified:
## Verdict
NO - open Critical/High findings remain.
YES - no blocking findings found; residual risks listed above.
When explicitly asked to fix: