This skill teaches agents how to collect and verify evidence before marking tasks complete. Inspired by production-grade development practices, it ensures all claims are backed by executable proof:...
This skill teaches agents how to collect and verify evidence before marking tasks complete. Inspired by production-grade development practices, it ensures all claims are backed by executable proof:...
This skill teaches agents how to collect and verify evidence before marking tasks complete. Inspired by production-grade development practices, it ensures all claims are backed by executable proof: test results, coverage metrics, build success, and deployment verification.
Key Principle: Show, don't tell. No task is complete without verifiable evidence.
When to Use This Skill
Auto-Activate Triggers
Completing code implementation
Finishing code review
Marking tasks complete in Squad mode
Before agent handoff
Production deployment verification
Manual Activation
When user requests "verify this works"
Before creating pull requests
During quality assurance reviews
When troubleshooting failures
Core Concepts
1. Evidence Types
Test Evidence
Exit code (must be 0 for success)
Test suite results (passed/failed/skipped)
Coverage percentage (if available)
Test duration
Build Evidence
Build exit code (0 = success)
Compilation errors/warnings
Build artifacts created
Build duration
Deployment Evidence
Deployment status (success/failed)
Environment deployed to
Health check results
Rollback capability verified
Code Quality Evidence
Linter results (errors/warnings)
Type checker results
Security scan results
Accessibility audit results
2. Evidence Collection Protocol
## Evidence Collection Steps1.**Identify Verification Points** - What needs to be proven?
- What could go wrong?
- What does "complete" mean?
2.**Execute Verification** - Run tests
- Run build
- Run linters
- Check deployments
3.**Capture Results** - Record exit codes
- Save output snippets
- Note timestamps
- Document environment
4.**Store Evidence** - Add to shared context
- Reference in task completion
- Link to artifacts
3. Verification Standards
Minimum Evidence Requirements:
✅ At least ONE verification type executed
✅ Exit code captured (0 = pass, non-zero = fail)
✅ Timestamp recorded
✅ Evidence stored in context
Production-Grade Requirements:
✅ Tests run with exit code 0
✅ Coverage >70% (or project standard)
✅ Build succeeds with exit code 0
✅ No critical linter errors
✅ Security scan passes
Evidence Collection Templates
Template 1: Test Evidence
Use this template when running tests:
## Test Evidence**Command:**`npm test` (or equivalent)
**Exit Code:** 0 ✅ / non-zero ❌
**Duration:** X seconds
**Results:**- Tests passed: X
- Tests failed: X
- Tests skipped: X
- Coverage: X%
**Output Snippet:**
[First 10 lines of test output]
**Timestamp:** YYYY-MM-DD HH:MM:SS
**Environment:** Node vX.X.X, OS, etc.
Template 2: Build Evidence
Use this template when building:
## Build Evidence**Command:**`npm run build` (or equivalent)
**Exit Code:** 0 ✅ / non-zero ❌
**Duration:** X seconds
**Artifacts Created:**- dist/bundle.js (XXX KB)
- dist/styles.css (XXX KB)
**Errors:** X
**Warnings:** X
**Output Snippet:**
[First 10 lines of build output]
**Timestamp:** YYYY-MM-DD HH:MM:SS
Template 3: Code Quality Evidence
Use this template for linting and type checking:
## Code Quality Evidence**Linter:** ESLint / Ruff / etc.
**Command:**`npm run lint`**Exit Code:** 0 ✅ / non-zero ❌
**Errors:** X
**Warnings:** X
**Type Checker:** TypeScript / mypy / etc.
**Command:**`npm run typecheck`**Exit Code:** 0 ✅ / non-zero ❌
**Type Errors:** X
**Timestamp:** YYYY-MM-DD HH:MM:SS
Template 4: Combined Evidence Report
Use this comprehensive template for task completion:
npm test# Run tests
npm run build # Build project
npm run lint # Run ESLint
npm run typecheck # Run TypeScript compiler
Python:
pytest # Run tests
pytest --cov # Run tests with coverage
ruff check . # Run linter
mypy . # Run type checker
Rust:
cargo test# Run tests
cargo build # Build project
cargo clippy # Run linter
Go:
go test ./... # Run tests
go build # Build project
golangci-lint run # Run linter
Examples
See /skills/evidence-verification/examples/ for:
Sample evidence reports
Real-world verification scenarios
Integration examples
Version History
v1.0.0 - Initial release
Core evidence collection templates
Verification workflows
Quality standards
Integration with context system
Remember: Evidence-first development prevents hallucinations, ensures production quality, and builds confidence. When in doubt, collect more evidence, not less.