pstack-principle-prove-it-works
Choose direct evidence when a completion claim depends on runtime behavior, integration, or a delegated artifact.
- License 许可
- MIT
- 最近更新
- 2026-10-31
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- pstack-principle-prove-it-works
- description
- Choose direct evidence when a completion claim depends on runtime behavior, integration, or a delegated artifact.
02 资源文件 1
- 参考文档agents/openai.yaml220 B
03 SKILL.md 正文
Prove it works
Match evidence to the claim. A build checks compilation; a working feature requires evidence from its behavior. Inspect delegated artifacts directly before relying on a delegate's summary.
Use the smallest check that covers the changed behavior and relevant failure modes. For an integration change, exercise the affected communication path. For a document edit, inspect the saved content, references, and diff. For live state, read the actual value or process rather than inferring it from timestamps or cached output.
Use existing checks first. Add a rerunnable check when the comparison is complex or likely to recur. Complete required project checks, then stop testing once the relevant evidence passes. Broaden or repeat checks when changes, failures, or unresolved risks justify it.
If verification fails, distinguish a defect in the result from a defect in the observation method. Fix failures caused by the requested change and rerun affected checks. If a check is unavailable, report what remains unverified and why.
Finish by stating what was checked and what that evidence establishes. Static checks of a prompt's structure do not establish how well a model will follow it.
04 同仓库更多 Skills
unslop
Edit substantive human-facing prose to remove AI writing patterns while preserving meaning and tone.
pstack-principle-type-system-discipline
Apply when designing types, reviewing a function signature, or writing code in any statically-typed language. Make illegal states unrepresentable, brand semantic primitives, parse external data at boundaries, refuse to lie to the compiler, exhaust variants, derive from authoritative schemas.
pstack-principle-test-behavior-not-implementation
Apply when you write, change, or keep a test. Call the code the way its users do and assert the result they observe against a literal expected value. If the test would still pass when every imported function returns undefined, rewrite the assertion or delete the test.
pstack-principle-subtract-before-you-add
Apply when sequencing an addition, refactor, or rewrite. Remove dead weight, redundant validators, and stub references first, then build on the simpler base.
pstack-principle-sequence-verifiable-units
Sequence migrations or dependent changes around meaningful verification boundaries.
pstack-principle-separate-before-serializing-shared-state
Apply when concurrent actors might write to the same file, branch, key, or state object. Eliminate the sharing first; serialize structurally only when one shared writer is a real invariant.