agentleFS
aws-solutionsaws-solutions/konductor/skills/verification/SKILL.md

verification

Skill12 starsChanged 2 months agoApache-2.0View on GitHub

Use before saying a change is done: run tests before and after, show the commands and output, and run the matching checker skill. Covers TDD, test-first, spec-first and maker-checker.

53 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use evidence-driven-writing, experiment-results-planning and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • Norman-burySkill

    evidence-driven-writing

    Use when writing or revising Introduction, Related Work, background, literature synthesis, or any section where references must drive claims

    Also in 3 projects that use this

  • Norman-burySkill

    experiment-results-planning

    Use when designing experiments, result tables, mock planning data, evaluation protocols, or results sections before real data are final

    Also in 3 projects that use this

  • +10 more from Norman-bury

The file

We split this skill into the rules it gives an agent

7 rules. 0 are common, 7 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 43 edited versions we read keep these.

  • 7

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    After generating any artifact (design doc, implementation guide, specification):

    line 65
  2. Distinctive:

    Run the corresponding checker skill automatically

    line 67
  3. Distinctive:

    If checker finds CRITICAL issues — fix them, re-run checker, then present

    line 69
  4. Distinctive:

    Before reporting any finding or declaring a task done, verify:

    line 85
  5. Distinctive:

    If you cannot check all boxes: do more investigation before reporting.

    line 93
  6. Distinctive:

    Key principle: Read implementations, don't assume patterns.

    line 106
  7. Distinctive:

    Test output not shown when tests were claimed to pass

    line 113

“Common” is measured: kept by at least 6 in 10 of the 43 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Verification

Overview

Evidence collection protocol that ensures no task is declared complete without proof it works. Applies to code changes, artifact generation, and manual testing.

Usage

Load this skill before declaring a task with a testable outcome done: code, build artifacts, generated documents, or infrastructure changes.

TDD Workflow

For code changes, follow these phases in order. Do not skip phases. For a document or infrastructure change with no test to write, keep SPEC, then build or validate the change instead of RED, GREEN and REFACTOR, then run VERIFY if the repo has tests that cover the change, and go to EVIDENCE.

  1. SPEC — Define success criteria before implementation. What must be true when done?
  2. RED — Write a failing test. Run it. Confirm it FAILS. Show the output.
  3. GREEN — Write minimal code to make the test pass. Run it. Confirm it PASSES. Show the output.
  4. REFACTOR — Clean up code. Run tests again. Confirm they stay GREEN. Show the output.
  5. VERIFY — Run the full test suite. Confirm all tests pass. Show the output.

    # Node.js / TypeScript
    npm run build && npm test
    
    # Rust
    cargo build && cargo test
    
    # Python
    pytest
    
    # Java / Kotlin
    ./gradlew build test
  6. EVIDENCE — Present the output proving it works.

Evidence Requirements

PhaseActionRequired Evidence
BuildRun build commandExit code 0, no errors in output
TestExecute test suiteAll tests pass (full output shown)
ArtifactGenerate documentCorresponding checker skill scores PASS
ManualTest the featureDescribe exactly what was observed

Evidence Format

## Evidence
- **Command:** `npm test`
- **Exit code:** 0
- **Output:** [paste relevant output]
- **Result:** PASS / FAIL

Maker-Checker Integration

After generating any artifact (design doc, implementation guide, specification):

  1. Run the corresponding checker skill automatically
  2. Checker must score PASS before presenting to user
  3. If checker finds CRITICAL issues — fix them, re-run checker, then present
  4. Include checker score in evidence

Anti-Patterns

These are NOT verification:

  • "I believe this works" — not evidence. Run it.
  • "The code looks correct" — not evidence. Compile it.
  • "Tests should pass" — not evidence. Execute them and show output.
  • Skipping verification because "it's a small change" — all changes need evidence.
  • Deleting failing tests instead of fixing code — fix the code, never delete the test.
  • Presenting an artifact without running the checker — always run maker-checker first.

Self-Validation Checklist

Before reporting any finding or declaring a task done, verify:

  • I searched the codebase to confirm this issue exists
  • I have exact file paths and line numbers
  • I verified this isn't already handled elsewhere
  • I read the actual implementation, not assumed patterns
  • I traced types through the code path (not assumed)

If you cannot check all boxes: do more investigation before reporting.

False Positive Patterns

These patterns produce wrong conclusions:

PatternProblemFix
"This looks like standard X"Assumed behavior without reading codeRead the actual implementation
"Builders typically return Y"Assumed types without tracingCheck the factory method
"This will fail at runtime"Assumed without type tracingTrace the actual types
"This assertion is weak"Assumed without checking test dataVerify test data would cause false positives

Key principle: Read implementations, don't assume patterns. Every codebase has variations.

Quality Gate

CRITICAL (immediate stop):

  • Task declared complete with no evidence provided
  • Test output not shown when tests were claimed to pass
  • Failing tests deleted or skipped instead of code being fixed
  • Artifact presented to user without checker validation

IMPORTANT (must fix before proceeding):

  • Evidence provided but incomplete (e.g., exit code shown but output omitted)
  • TDD phase skipped on a code change (e.g., jumped from SPEC to GREEN without RED)
  • Manual test described vaguely ("it works") instead of specific observations

SUGGESTION:

  • Could include before/after comparison in evidence
  • Could add timing information for performance-sensitive changes
  • Could capture screenshots for UI changes

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.