跳到正文
cccskills
免费在 GitHub 公开

verification-strategy

Thorough verification of completed work before declaring done

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(1)

  • SKILL.md2.9 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

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

  • Re-read the EXACT wording of the task instruction
  • Check every requirement — file paths, names, formats, constraints
  • Are there implicit requirements? ("compile with gcc -O3 -lm" means exact flags)

2. Check file outputs

  • Do all required files exist at the exact paths specified?
  • Are file sizes within any stated limits?
  • Is the file format correct? (binary vs text, encoding, line endings)
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

  • Compile with the EXACT flags specified in the task
  • Run with the EXACT command and arguments specified
  • Check exit code: echo $? (should be 0 for success)
  • Check both stdout AND stderr

4. Validate output

  • Compare output against expected format
  • Check exact field names, delimiters, number formatting
  • If the task specifies output format, match it exactly:
    • JSON: valid JSON? correct schema?
    • CSV: correct headers? correct delimiter?
    • Plain text: correct line endings? trailing newline?

5. Test edge cases

  • Empty input (if applicable)
  • The specific test inputs mentioned in the task
  • Large inputs (if the task involves performance)

6. Check constraints

  • Size limits (file size, code length)
  • Time limits (does it finish in reasonable time?)
  • Memory limits (does it stay within bounds?)
  • No external dependencies that aren't available

Reading Test Scripts

If you can find the test script, READ IT:

  • What exact assertions does it make?
  • What inputs does it use?
  • What output format does it expect?
  • What timeouts are set?

Tests often check things you didn't expect:

  • Exact string matching (whitespace matters!)
  • Specific numeric precision
  • File permissions
  • Process exit codes

Common Verification Failures

What you think is rightWhat the test actually checks
Output on stdoutOutput in a specific file
Human-readable numbersExact decimal precision
Relative file pathsAbsolute file paths
"Close enough" answerExact match
Code that runsCode 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?

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Building, compiling, and resolving dependency issues across languages

中文简介正在准备中。当前显示原文说明。

vstorm-co/pydantic-deepagents11042026年10月19日 更新

Review Python code for quality, security, and best practices

中文简介正在准备中。当前显示原文说明。

vstorm-co/pydantic-deepagents11042026年10月19日 更新

Systematic code review for bugs, security, style, and performance

中文简介正在准备中。当前显示原文说明。

vstorm-co/pydantic-deepagents11042026年10月19日 更新

Comprehensive data analysis skill for CSV files using Python and pandas

中文简介正在准备中。当前显示原文说明。

vstorm-co/pydantic-deepagents11042026年10月19日 更新

Working with diverse data formats: binary, text, structured, and custom

中文简介正在准备中。当前显示原文说明。

vstorm-co/pydantic-deepagents11042026年10月19日 更新

Best practices for creating research diagrams with Excalidraw MCP tools

中文简介正在准备中。当前显示原文说明。

vstorm-co/pydantic-deepagents11042026年10月19日 更新

查看 vstorm-co 的全部技能

报告此技能的问题