Skip to content
Development
Skill

/proof-of-work

Enforces validation and evidence before claiming work complete. Use before declaring implementation done, creating a PR, or submitting deliverables for review.

From plugin
claude-night-market
343200 skills60 agents162 commands1 MCP

Claude Code

$ npx -y skills add athola/claude-night-market --skill proof-of-work --agent claude-code

SKILL.md

proof-of-work.SKILL.md
name: proof-of-work
description: Enforces validation and evidence before claiming work complete. Use before declaring implementation done, creating a PR, or submitting deliverables for review.
alwaysApply: false
category: workflow-methodology
tags:
- validation
- testing
- proof
- definition-of-done
- acceptance-criteria
dependencies: []
tools: []
usage_patterns:
- completion-validation
- acceptance-testing
- proof-generation
complexity: intermediate
estimated_tokens: 3000
modules:
- modules/acceptance-criteria.md
- modules/anti-cargo-cult.md
- modules/evidence-logging.md
- modules/independent-verification.md
- modules/iron-law-enforcement.md
- modules/output-contracts.md
- modules/red-flags.md
- modules/retry-protocol.md
- modules/todowrite-patterns.md
- modules/validation-protocols.md
- modules/verifier-integrity.md
role: library

> "It looks correct" is not "I verified it works." > Proof-of-work is the discipline of closing that gap: > reproducible evidence before any claim that a task is done.

Proof of Work

When NOT To Use

  • Planning before implementation (use `imbue:karpathy-principles`)
  • Deciding whether the work is in scope (use `imbue:scope-guard`)

Overview

The "Proof of Work" methodology prevents premature completion claims by requiring technical verification before stating that a task is finished. For example, instead of assuming an LSP configuration functions after a restart, we verify that the server starts and that tools respond to queries. This approach confirms the solution works before the user attempts validation.

Before claiming completion, provide reproducible evidence of the solution's performance and address edge cases. All claims must be backed by actual command output captured in the current environment.

The Iron Law

**NO IMPLEMENTATION WITHOUT A FAILING TEST FIRST** **NO COMPLETION CLAIM WITHOUT EVIDENCE FIRST** **NO CODE WITHOUT UNDERSTANDING FIRST**

The Iron Law prevents testing from becoming a perfunctory exercise. If an implementation is planned before tests are written, the RED phase fails to drive the design. Understand the technical rationale for an approach and its limitations before declaring it done. Before writing code, document evidence of the failure being addressed and confirm that tests are driving the implementation.

Verification and TDD Workflow

Verify the fundamentals of the implementation and the reasons for choosing it over alternatives. Identify where a solution might fail rather than stating it should always work. The TDD cycle follows these mandatory steps:

1. **RED**: Write a failing test before implementation. 2. **GREEN**: Create a minimal implementation that passes the test. 3. **REFACTOR**: Improve the code without changing its behavior.

Iron Law Self-Check

| Self-Check Question | If Answer Is Wrong | Action | |---------------------|-------------------|--------| | Do I have documented evidence of failure/need? | No | STOP, document failure first | | Am I testing pre-conceived implementation? | Yes | STOP, let test DRIVE design | | Am I feeling design uncertainty? | No | STOP - uncertainty is GOOD | | Did test drive implementation? | No | STOP - doing it backwards |

Iron Law Progress Tracking

  • `proof:iron-law-red`: Failing test written before implementation.
  • `proof:iron-law-green`: Minimal implementation passes test.
  • `proof:iron-law-refactor`: Code improved without behavior change.
  • `proof:iron-law-coverage`: Coverage gates passed (line, branch, and mutation).

Confirm that work passes all line, branch, and mutation coverage gates. For detailed enforcement patterns, see [iron-law-enforcement.md](modules/iron-law-enforcement.md).

Usage Standards

Apply this skill before stating that work is "done," "finished," or "ready." Use it before recommending solutions or stating that a configuration "should work." Stop if you find yourself assuming a configuration is correct without testing it or recommending a fix without first reproducing the problem. Red flags include thinking "this looks correct" without actual verification. If you cannot explain each line of a configuration or why a specific practice applies to the current context, the necessary validation steps have been skipped.

An agent's report is a claim, not evidence

This holds wherever the work happened, and it binds hardest inside a Workflow script, because a script has no filesystem and no shell. Everything it knows, an agent told it. A stage that returns "the tests pass" is the same kind of statement as a session saying "should work," and it carries the same weight, which is none.

So a workflow may find, rank, structure and propose. The run that produces evidence happens where its output can be pasted. A workflow's return value feeds a gate. It is not one.

Validation Protocol

Step 1: Reproduce the Problem (`proof:problem-reproduced`)

Before proposing a solution, verify the current state. Use tools like `ps`, `echo`, and `cat` to check running processes, environment variables, and configuration files. Document the failure with command output and error logs.

Step 2: Test the Solution (`proof:solution-tested`)

Before claiming a solution works, execute it in the current environment. Capture the actual output and confirm that it matches expected behavior. Do not rely on assumed output.

Step 3: Check for Known Issues (`proof:edge-cases-checked`)

Research known bugs and limitations related to the approach. Check GitHub issues, version compatibility, and official documentation to identify potential blockers or common pitfalls.

Step 4: Capture Evidence (`proof:evidence-captured`)

Use `imbue:proof-of-work` to document the commands executed, their output, timestamps, and the conclusions drawn from each step.

Step 5: Prove Completion (`proof:completion-proven`)

Define acceptance criteria and validate each item. If a blocker is identified, document the diagnosis with evidence and provide workaround o

Read more
@athola
Ships withclaude-night-market

A plugin marketplace for Claude Code. Install only the plugins you need to run git workflows, code review, spec-driven development, and autonomous agents from inside your Claude Code session.

343200 skills60 agents1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
343
Star history of athola/claude-night-market on GitHub, a chart by star-history.com

Other skills on claude-night-market.

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills10d309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc12d293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react1d252k
@facebook@facebookInstall Skill

Questions about proof-of-work.

Which coding agents can use proof-of-work?
proof-of-work installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.