principle-prove-it-works
它能做什么
为智能体提供一条规则:直接检查结果,而不是依赖代理指标或它自己的报告。适合任何需要可靠证明任务已完成的人。
适用场景
- ✓当任务已经完成,你需要确认它确实能工作的时候。
- ✓当目前唯一的证据只是代码能编译,或状态文件的修改时间看起来很新的时候。
- ✓当你希望以一个可重复运行的脚本作为证明的时候。
技能链接
https://github.com/cursor/plugins/blob/main/harness/pstack/claude-code/skills/principle-prove-it-works/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“在你告诉我这项工作已经完成之前,请实际运行该功能,并把真实的输出给我看。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会直接检查真实的东西,例如运行该功能、读取实际的值或检查差异。它更倾向于使用输出确定、审阅者可以重新运行的脚本,并且会把失败的检查视为需要质疑检查本身的理由。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Prove It Works
In Claude Code, read the Claude Code adapter once per session before you follow this skill. It maps the Cursor names in pstack skills to Claude Code.
Verify every task output by checking the real thing directly. Do not infer from proxies, self-reports, or "it compiles."
Why: Unverified work has unknown correctness. Indirect verification (file mtimes, output freshness, agent self-reports, cached screenshots) feels cheaper than direct observation. Acting on a wrong inference costs far more than checking the source.
Check the real thing, not a proxy:
- Check process liveness directly, not indirectly through derived state
- Read the actual value, not a cached or derived representation
- When verification fails, suspect the observation method before suspecting the system
Script the check when you can
The strongest proof is a deterministic script that re-runs the same comparison, not a one-time eyeball. Write the script, run it, and keep its output as an artifact a reviewer can re-run instead of trusting your word.
Keep the artifact visible for the human. Commit it only for large or complex work where the trail has to be auditable later, like a big port or migration (the show-me-your-work skill).
常见问题
代码能编译就够了吗?
不够。该技能指出,编译只是一个代理指标,必须观察真实的行为。
什么是代理检查?
间接的迹象,例如文件的修改时间、缓存的截图或智能体自己的报告。
证明需要保留吗?
对于大型或复杂的工作,保留产物有助于之后保持过程可审计。
详情
作者的原始描述
Apply after completing a task, before declaring done. Verify against the real artifact (run the feature, read the actual value, inspect the diff), not a proxy, self-report, or 'it compiles.'
repo: cursor/plugins
热度
- GitHub 星标
- 15k
- 排名
- #10985
- 许可证
- —
- 更新时间
- 2026/10/31
评论
- …
同一仓库的更多技能
advisor
15k如果你开启该功能,让你的智能体在关键节点咨询一个更强的第二模型,例如在重大决定之前,或在错误上卡住时。
check-agent-compatibility
15k全面检查 AI 编程智能体能否启动、验证和记录某个代码仓库,并返回一个兼容性评分以及主要问题。
cli-for-agents
15k教你的智能体设计或审查命令行工具,使 AI 智能体无需提示即可运行,并提供清晰的帮助文字和示例。
continual-learning
15k通过把回顾过往对话的工作交给专门的记忆更新程序,使你的 AGENTS.md 笔记保持最新。