EM

empirical-validation

Requires verifiable proof of work completion to ensure accuracy and prevent unchecked tasks.

Install

mkdir -p .claude/skills/empirical-validation && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/5080" && unzip -o skill.zip -d .claude/skills/empirical-validation && rm skill.zip

Installs to .claude/skills/empirical-validation

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Requires proof before marking work complete — no "trust me, it works
68 charsno explicit “when” trigger
Beginner

Key capabilities

  • Identify verification criteria for code changes
  • Execute commands to capture empirical evidence
  • Document validation results in .gsd/JOURNAL.md
  • Enforce objective proof before task completion

How it works

It requires the user to define observable criteria for a task, execute a verification command, and document the actual output before marking the task as done.

Inputs & outputs

You give it
A completed task requiring validation
You get back
Empirical evidence documented in the journal

When to use empirical-validation

  • Verifying code changes
  • Validating feature completion
  • Ensuring test coverage before commit

About this skill

Empirical Validation

Core Principle

"The code looks correct" is NOT validation.

Every change must be verified with empirical evidence before being marked complete.

Validation Methods by Change Type

Change TypeRequired ValidationTool
UI ChangesScreenshot showing expected visual statebrowser_subagent
API EndpointsCommand showing correct responserun_command
Build/ConfigSuccessful build or test outputrun_command
Data ChangesQuery showing expected data staterun_command
File OperationsFile listing or content verificationrun_command

Validation Protocol

Before Marking Any Task "Done"

  1. Identify Verification Criteria

    • What should be true after this change?
    • How can that be observed?
  2. Execute Verification

    • Run the appropriate command or action
    • Capture the output/evidence
  3. Document Evidence

    • Add to .gsd/JOURNAL.md under the task
    • Include actual output, not just "passed"
  4. Confirm Against Criteria

    • Does evidence match expected outcome?
    • If not, task is NOT complete

Examples

API Endpoint Verification

# Good: Actual test showing response
curl -X POST http://localhost:3000/api/login -d '{"email":"[email protected]"}' 
# Output: {"success":true,"token":"..."}

# Bad: Just saying "endpoint works"

UI Verification

# Good: Take screenshot with browser tool
- Navigate to /dashboard
- Capture screenshot
- Confirm: Header visible? Data loaded? Layout correct?

# Bad: "The component should render correctly"

Build Verification

# Good: Show build output
npm run build
# Output: Successfully compiled...

# Bad: "Build should work now"

Forbidden Phrases

Never use these as justification for completion:

  • "This should work"
  • "The code looks correct"
  • "I've made similar changes before"
  • "Based on my understanding"
  • "It follows the pattern"

Integration

This skill integrates with:

  • /verify — Primary workflow using this skill
  • /execute — Must validate before marking tasks complete
  • Rule 4 in GEMINI.md — Empirical Validation enforcement

Failure Handling

If verification fails:

  1. Do NOT mark task complete
  2. Document the failure in .gsd/STATE.md
  3. Create fix task if cause is known
  4. Trigger Context Health Monitor if 3+ failures

When not to use it

  • When subjective assurance is sufficient
  • When no observable output exists for a change

Prerequisites

.gsd/JOURNAL.mdbrowser_subagent or run_command tools

Limitations

  • Requires manual identification of verification criteria
  • Cannot validate tasks without observable outputs

How it compares

It blocks task completion until objective evidence is provided, replacing subjective claims like 'it works' with verifiable data.

Compared to similar skills

empirical-validation side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
empirical-validation (this skill)14moReviewBeginner
gsd-audit-uat04moNo flagsIntermediate
linear-ci-integration125dCautionIntermediate
work-on-issue06moReviewIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

Search skills

Search the agent skills registry