Find Bug Skill — AI skill for Claude Code
Agent skill for hosted end-to-end business-logic bug hunting: baseline snapshots, adversarial probes, cross-layer verification, calibration sheets, fixed-format reports.
How to install Find Bug Skill
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open xuzhili835/find-bug-skill and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Find Bug Skill does
Agent skill for hosted end-to-end business-logic bug hunting: baseline snapshots, adversarial probes, cross-layer verification, calibration sheets, fixed-format reports. 让 AI 独立跑全栈找业务 bug
Alternatives in AI
- Empirica — Make AI agents and AI workflows measurably reliable 244 ★
- PaiCLI Python — Python terminal AI agent CLI with ReAct tools, MCP, Runtime API, memory, snapshots, web search, and image inpu 107 ★
- New Task Type — Scaffold all server-side files for a new AI task type: endpoint, handler, logic, queue routing 66 ★
README
find-bug-skill
**让 AI 独立跑全栈、按业务闭环找真 bug 的托管式测试技能。**
你说一句"帮我找 bug"或"我去睡了你自己测",它就自己拉起全栈环境,按业务闭环端到端验证逻辑正确性,打对抗用例,跨 API / UI / DB 三层对账,测完清残留还原基线,最后交一份普通人也能看懂的测试报告。
**核心信念:"能跑" ≠ "业务正确"**——返回 200 的接口仍可能业务逻辑是错的:计数没涨、越权没拦、状态乱跳、客户端传的派生值被直接信任。这个技能断言的是规则,不是按钮能不能点。
**文档导读**:本 README 回答"是什么 / 怎么装 / 方法论出处可信吗";`SKILL.md` 是 AI 的执行手册(人 10 分钟也能读完);`references/` 只放模板——填好的实例永远在你自己被测项目的仓库里。
它测什么(方法论一瞥)
- 一致性/台账:计数真涨了?派生值服务端算?关联表和聚合数一致?
- 隔离/所有权:双普通账号+一管理员,互打越权矩阵。
- 状态机:合法转移走通,非法转移逐个断言拒绝理由。
- 信任边界:客户端上报负数/超大/0;禁用改密后旧 token 当场失效?
- 守卫一致性:前端拦了的行为裸调后端绕得过吗?(前端强制 ≠ 后端强制)
- 对抗面:伪造内部信任头、畸形 JSON、幂等去重、轮询风暴……
- UI 五类动作:弹窗闭环 / 双主题遮罩 / 切走切回保活 / 全局状态消费方同步 / 假控件识别。
完整清单见 [SKILL.md](SKILL.md)——它本身就是给 AI 读的执行手册,人读 5 分钟也能看懂打法。
快速安装
选你所用工具的那一行,点代码块右上角复制,粘进终端回车(需已装 git):
# Claude Code
git clone https://github.com/xuzhili835/find-bug-skill.git ~/.claude/skills/find-bug-skill
# Codex
git clone https://github.com/xuzhili835/find-bug-skill.git ~/.codex/skills/find-bug-skill
# ZCode
git clone https://github.com/xuzhili835/find-bug-skill.git ~/.zcode/skills/find-bug-skill
Windows PowerShell 用户请把目标路径换成 `"$env:USERPROFILE\.claude\skills\find-bug-skill"`(其余工具同理换目录)。
装好后**新开一个会话**,说"帮我找 bug / 独立测一轮"即可触发;也可显式调用该技能。升级用 `git -C ~/.claude/skills/find-bug-skill pull`。
其它遵循 Agent Skills 规范的工具:把本仓库克隆进其 skills 目录即可,结构就是标准的 `SKILL.md + references/ + scripts/`。
使用流程(AI 视角)
- 环境自举 + 基线快照:摸清组件怎么拉起、拍各表行数基线、声明 API/DB/UI 三层可达性(缺哪层必须写明)。
- 读源码定 ground-truth:DTO 字段名/校验矩阵/错误码分段从源码确认,不猜;权限真相在入口白名单+服务层守卫两层对照。
- 逐类断言业务规则 + 打对抗面(SKILL.md 第 2/3 节清单)。
- 跨层验证:API 响应、DB 落库状态、UI 实况三方对账。
- 清残留还原基线,按固定格式产出《测试报告》(含覆盖声明/问题/观察项/已验证正确项/数据还原说明)。
- 默认只测不修:问题写进报告等审查;用户明确令修才修,修完回归。
为什么不分发"回归校准单"
真实使用中,你会在 `references/` 攒出一张本项目专属的"症状→最小探针→规则"对照表(我们称它回归校准单):它既是下一轮找 bug 前的探针清单核对,又是修复后的冒烟回归单。但它**天然绑定项目内部细节**,公开毫无意义且可能泄露隐私——所以本仓库只提供 [模板](references/calibration-template.md),你的项目你自己攒。
兼容性说明
- 方法论与技术栈无关:任何系统都有「对外入口、持久化状态、业务不变量」三要素,变的只是拉起方式和观察手段。第 0 步的
Related Skills
Bug Hunter
Evidence-based bug hunting AI agent skill: hypothesize, prove with isolated tests, and deliver sandbox-verifie
Verihunt
VeriHunt — Evidence-based bug hunting AI agent skill with deterministic bh.py engine: hypothesize, prove with
Log Failure
Record an AI mistake in the fixed format — in the current ticket's plan and, if it generalises, in the repo-wi
EvalPlan
Phase 3 (+ai) — build golden / adversarial / regression eval sets, graders, thresholds, baseline. PT - plano d
SKILL.Template
Benchmark this chat's generation speed (tokens per second) with its active model and settings. Runs a 2-3 minu
GitHub Demand Radar
AI Agent Skill to scan GitHub issues/PRs with JTBD + RICE scoring, find high-value market gaps, and generate f
Related Agents
Iteration Guard
The verify gate of the Logic-Lens iteration loop. Given a baseline iteration and a candidate iteration, compar
OSS Hunter
Hunts security vulnerabilities in one open-source repo copy by the cyber-defense oss-hunt method ladder and re
Manual Rule Liveness Prober
Probes a manifest manual rule for liveness via with/without-rule fresh-subagent dispatch, capturing a RED→GREE