Verification strategy

From vstorm-co/pydantic-deepagents · View interactive version

Verification strategy is an AI agent skill from the GitHub repository vstorm-co/pydantic-deepagents. Thorough verification of completed work before declaring done

How to use this skill

Skill file

Verification Strategy

How to verify your work is correct before declaring a task complete.

The Verification Checklist

After implementing a solution, go through ALL of these:

1. Re-read the original task

2. Check file outputs

ls -la /path/to/expected/output
wc -c /path/to/output    # byte count
file /path/to/output      # format detection
head -5 /path/to/output   # content preview

3. Compile and run

4. Validate output

5. Test edge cases

6. Check constraints

Reading Test Scripts

If you can find the test script, READ IT:

Tests often check things you didn't expect:

Common Verification Failures

| What you think is right | What the test actually checks |

|------------------------|-------------------------------|

| Output on stdout | Output in a specific file |

| Human-readable numbers | Exact decimal precision |

| Relative file paths | Absolute file paths |

| "Close enough" answer | Exact match |

| Code that runs | Code under a specific size limit |

Final Check

Before declaring done, ask yourself:

  1. Did I create/modify ALL the files the task asks for?
  2. Did I use the EXACT paths, names, and formats specified?
  3. Does my code compile/run WITHOUT errors?
  4. Does my output match what automated tests would expect?
  5. Have I cleaned up any debug output or temporary files?
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.