AGENT SKILL

prove-it-works

Verifies completed work against the real artifact and behavior rather than a build, cached representation, tool summary, or agent self-report. Use before declaring an implementation, fix, migration, generated artifact, configuration change, or delegated task complete.

License 许可
MIT
最近更新
2026-11-03
Stars
★ 1
Forks
0

01 前言 Front Matter

name
prove-it-works
license
LICENSE
metadata
{ "source": "https://github.com/cursor/plugins/tree/57fc467a229cf2853329f19c9e6a9fd83ddc2ea2/pstack/skills/principle-prove-it-works", "adapted-for": "claude-code, pi" }
description
Verifies completed work against the real artifact and behavior rather than a build, cached representation, tool summary, or agent self-report. Use before declaring an implementation, fix, migration, generated artifact, configuration change, or delegated task complete.

02 资源文件 2

03 SKILL.md 正文

Prove it works

Before declaring completion, identify the claim the user cares about and observe that claim as directly as the available environment allows.

Evidence levels

  1. Static. Diff, syntax, types, lint, schema, or source inspection.
  2. Artifact. Clean build, generated output, packaged file, loaded module, effective configuration, or actual persisted value.
  3. Focused behavior. A deterministic test or script exercises the owning interface and detects the requested behavior.
  4. Real path. The matching UI, CLI, route, worker, service, or device path is exercised.
  5. Integration. The full communication and side-effect chain is observed end to end.

Use the cheapest level that proves the actual claim. A higher level is not automatically better when a focused deterministic check reaches the complete behavior.

Workflow

  1. State the user-visible or maintainer-visible completion predicate.
  2. List what the planned checks prove and what they do not prove.
  3. Use the narrowest direct check. Reuse evidence for the current artifact under the active project verification policy; otherwise run the check. Prefer repository commands and existing test harnesses before creating new code.
  4. Inspect the real artifact: diff, file contents, generated output, runtime state, response, screenshot, trace, or side effect.
  5. For delegated work, inspect the child artifact and underlying check output. Establish that the evidence covers the current artifact and requested behavior. Rerun only if the evidence is stale, unavailable, insufficient, or contradicted by a concrete concern. A child summary alone is not evidence.
  6. If the observation is surprising or passes too easily, verify the observation method before trusting the result.
  7. Report the check, result, and any material gap. Use the detailed report below when the task or uncertainty warrants it.

When using verdict labels, use VERIFIED only when the evidence reaches the stated predicate, NOT VERIFIED when it fails, and INCONCLUSIVE when the necessary runtime, permission, external system, or safe environment is unavailable.

Command checks with trimmed output

Use the bundled runner when a check's output needs trimming. Resolve this skill's directory as SKILL_ROOT, then pass the actual command as argv, not a shell pipeline:

python3 "$SKILL_ROOT/scripts/run-check.py" --tail 20 -- npm run typecheck

The runner keeps the complete combined log in a private temporary directory, prints its path and the tail, and preserves the command's status even if reporting fails. POSIX signal termination maps to 128 + signal; interruption remains a failure even if the command handles the signal and exits zero. On interruption, the runner also stops remaining members of its own process group. Inspect the status and the log before making a completion claim; check | tail; echo $? without pipefail only reports the formatter's status. Logs retain all command output: keep them outside repositories and do not run checks that print credentials.

When a measurement starts background helpers such as memory samplers or watchers, bound each helper with its own timeout, wait only for the saved PIDs of the measured commands, and stop helpers by saved PID. pkill -f and pgrep -f also match the invoking shell's command line and can kill the measurement itself.

Guardrails

  • A successful build proves compilation, not product behavior.
  • A mocked frontend path does not prove the real backend path.
  • A cached screenshot, file timestamp, or generated summary does not prove current state.
  • Do not access production or a shared develop database. Ask before any permitted non-production database query.
  • Do not perform external writes or destructive cleanup merely to obtain a stronger proof without the required confirmation.
  • Keep a reusable proof script only when it will catch the same risk again. Otherwise place disposable scaffolding under /tmp, report its path, and ask before deleting it when deletion requires confirmation under the active project instructions.

Report

For a small change, state the check performed, its result, and any material limitation in a short paragraph. For complex verification or an explicitly requested audit, include:

  • Predicate.
  • Evidence level reached.
  • Command or interaction performed.
  • Direct observation.
  • Verdict: VERIFIED, NOT VERIFIED, or INCONCLUSIVE.
  • Unchecked path and why it remains unchecked.

04 同仓库更多 Skills

daanqq
daanqq/agent-config

why

Investigates why code, a threshold, guard, workflow, or design decision exists. Use for historical rationale, regressions, postmortems, legacy removal, rejected alternatives, and product or operational constraints. Separates direct evidence from inference and reports unavailable sources. Use how for runtime mechanics.

★ 1
daanqq
daanqq/agent-config

show-me-your-work

Keeps a compact, reviewable TSV decision trail for long-running, multi-phase, delegated, or unattended work. Use when the user will review the work after a pause, when hypotheses or pivots must remain auditable, or when another skill needs a canonical evidence log.

★ 1
daanqq
daanqq/agent-config

frontend-design

Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.

★ 1
daanqq
daanqq/agent-config

background-terminals

Run and manage long-lived shell commands in background terminals. Use for dev servers, watchers, streaming builds, and other commands that should keep running while the agent continues working.

★ 1
daanqq
daanqq/agent-config

vercel-react-best-practices

React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.

★ 1
daanqq
daanqq/agent-config

typescript-best-practices

Applies concrete TypeScript type, boundary, API, and test rules when reading, writing, reviewing, or refactoring .ts and .tsx files. Use to model state honestly, remove unchecked casts, derive types from authoritative schemas, and keep external validation at boundaries.

★ 1