测试41k · #6560
verify
它能做什么
这个技能让智能体运行真实的产品,并记录它看到的内容,例如输出、日志或截图。适合希望在实践中证明某件事确实可用的人。
适用场景
- ✓当你想证明真实应用能正常工作,而不仅仅是测试通过的时候。
- ✓当你需要用真实输入确认命令行工具或 API 行为正确的时候。
- ✓当你想要一份观察结果以及仍不确定之处的报告的时候。
技能链接
https://github.com/codewhale-hq/Codewhale/blob/main/crates/skills/assets/skills/verify/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
请用这个技能帮我:https://github.com/codewhale-hq/Codewhale/blob/main/crates/skills/assets/skills/verify/SKILL.md
阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
npx skills add codewhale-hq/Codewhale --skill verify
下载 SKILL.md,放进智能体的技能文件夹。
curl -L https://raw.githubusercontent.com/codewhale-hq/Codewhale/main/crates/skills/assets/skills/verify/SKILL.md -o SKILL.md
可以这样问 AI
“请用一个正常的示例真正运行应用,并把输出给我看,以便我知道它能用?”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会启动真实的入口,使用贴近实际的输入,并保存输出、退出码或截图。它会报告所见内容,以及无法确认的部分。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Verify
When to use
Use when the user wants proof the real surface works, not only unit tests.
Non-goals
- Unit tests alone are not end-to-end verification.
- Do not fake success without observable evidence.
Workflow
- Identify the real entrypoint (CLI binary, API, UI).
- Exercise it with realistic inputs.
- Capture outputs, exit codes, logs, or screenshots.
- Report evidence and remaining uncertainty.
常见问题
单元测试够了吗?
不够。技能说明,仅靠测试不能算端到端检查。
它会收集哪类证据?
根据产品的不同,可能是输出、退出码、日志或截图。
它能在没有证明的情况下声称成功吗?
不能。技能说明,不得在没有可观察证据的情况下伪造成功。
详情
作者的原始描述
Exercise the real app/API/CLI and collect observable evidence; tests alone do not count as end-to-end verification.
repo: codewhale-hq/Codewhale
热度
- GitHub 星标
- 41k
- 排名
- #6560
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …