360 Secure SkillHub
360 安全技能中心

principle-prove-it-works

该 Skill 是一套任务完成后的验证原则,要求直接运行功能、读取真实值或检查差异,并核对退出码与持久记录;强调失败检查需对应预期差异,优先使用可复现脚本,避免被截断输出、自述或编译通过等代理指标误导。

分类:效率
michael-denyer
热度 0.00
最近更新 2026-11-25 17:33:02

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add michael-denyer/pstack-claude/principle-prove-it-works
兼容性
通用兼容
联网要求
不联网
数据出网
数据不出本机
Metadata
name
principle-prove-it-works
description
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.'
user-invocable
false

Prove It Works

Verify every output by checking the real thing directly: run the feature, read the actual value, inspect the diff. Proxies (file mtimes, self-reports, cached output, "it compiles") do not count. When a check fails, suspect the observation method before the system.

Before you report success (merged, sent, started), read the real state and the exit code. Truncated output (| tail -1) and your own echo prove nothing.

Verify the process as well as the outcome. A correct result can rest on a broken process: a clause reconstructed from the user's paste instead of the durable record, a constraint honored by chance from a file never read. For each fact you relied on, name the record it came from and confirm that record is the one the project's rules point at.

Red is a colour, not a measurement. A failing check proves the instrument only when the failure content is the disagreement you predicted. Quote the assertion's diff (Extra items in the right set), never the assertion (assert {...} == {...}). A convergence probe keys on behavior only the new artifact can produce, never an identity field the old one also emits.

Script the check when you can. A deterministic script that reruns the comparison beats a one-time look. Keep its output where the human can see it, and commit it only when the trail must be auditable later.