跳到正文
Skillpedia
智能体7.8k · #13025

verify-all-deliverables

它能做什么

这项技能让智能体在开始工作前列出所有交付物,并在结束后逐一检查。适合需要多个文件的任务,例如一份表格加一份文档。

适用场景

  • ✓当任务需要多个输出文件,例如表格和报告的时候。
  • ✓当报告加摘要,或数据文件加图表都必须交付的时候。
  • ✓当智能体有可能在所有文件生成之前就标记任务完成的风险时。

技能链接

https://github.com/HKUDS/AgentPilot/blob/main/openspace/benchmarks/gdpval/skills/verify-all-deliverables/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/HKUDS/AgentPilot/blob/main/openspace/benchmarks/gdpval/skills/verify-all-deliverables/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“我需要一份表格、一份摘要文档和一张图表图片。请先列出它们,然后逐一制作,并在完成前确认每个文件都已存在且有内容。”

每周 5 个新技能,1 分钟读完。

工作原理

智能体在任何工作开始之前,先写出所需文件的清单。它依次创建每个文件,并用列表命令检查每个文件是否存在且大小不为零。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Verify All Deliverables Before Completion

Purpose

This skill prevents premature task completion in multi-deliverable workflows by ensuring every required output file is created, verified to exist with non-zero size, and confirmed before declaring <COMPLETE>.

When to Use

Use this skill when a task requires creating multiple output files (e.g., spreadsheet + document, report + summary, data file + visualization).

Instructions

Step 1: Identify All Deliverables Upfront

CRITICAL CHECKPOINT: Do not proceed to Step 2 until this step produces visible output.

Before starting any file creation, you MUST output a complete deliverable list in this exact format:

REQUIRED DELIVERABLES CHECKLIST:
☐ [filename1.extension] - [brief description]
☐ [filename2.extension] - [brief description]
☐ [filename3.extension] - [brief description]

This checklist must appear as visible text in your output before executing any file creation commands. Track completion by updating checkboxes (☐ → ☑) as each file is created.

Step 2: Create Each Deliverable in Sequence

Execute the creation of each file one at a time. Do not proceed to the next step until the current file creation command has completed.

Step 3: Verify Each File After Creation

After creating each file, immediately verify it exists and has non-zero size:

ls -la [filename.extension]

Expected output should show file size > 0 bytes. If size is 0 or file is missing, troubleshoot before proceeding.

Step 4: Final Verification Before Completion

Before declaring <COMPLETE>, run a final verification of ALL deliverables:

ls -la file1.ext file2.ext file3.ext

Or use a loop for many files:

for file in file1.ext file2.ext file3.ext; do
  if [ -s "$file" ]; then
    echo "✓ $file exists ($(stat -c%s "$file") bytes)"
  else
    echo "✗ $file missing or empty"
    exit 1
  fi
done

Step 5: Only Then Declare Complete

Only output <COMPLETE> after all files have been verified with non-zero size.

Common Pitfalls

Pitfall Prevention
Creating only some deliverables List all deliverables upfront and track completion
Not verifying file sizes Always run ls -la after each file creation
Declaring complete too early Final verification step is mandatory
Assuming success without checking Explicitly check each file before proceeding

Example Workflow

Task: Create tracking spreadsheet and email template document

1. Identify deliverables:
   - June_2025_Declined_Payments_Outreach.xlsx
   - Email_Template.docx

2. Create spreadsheet → verify with ls -la → confirm size > 0

3. Create Word document → verify with ls -la → confirm size > 0

4. Final check: ls -la *.xlsx *.docx → confirm both files present

5. Only then: <COMPLETE>
常见问题

清单是什么样的?

它列出每个所需文件名和简短说明,每个文件制作完成后打勾。

每个文件如何验证?

智能体列出文件,确认其存在且大小大于零。

智能体会并行制作文件吗?

不会,技能要求依次制作每个交付物,并在进入下一个之前先进行验证。

详情

作者的原始描述

Ensure all required output files are created and verified before marking a task complete

repo: HKUDS/AgentPilot

热度

GitHub 星标
7.8k
排名
#13025
许可证
MIT
更新时间
2026/11/1

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能