跳到正文
Skillpedia
自动化7.8k · #12852

deliverable-completion

它能做什么

这项技能澄清了一个常见的误解:文档或文件被正确写入后,任务即告完成。它适合那些在创建文件后,AI 总是寻找额外提交步骤的人。

适用场景

  • ✓当我的 AI 在写完文档后要求提交或定稿的时候。
  • ✓当我要求生成报告、脚本或文档文件,而 AI 一直在寻找提交工具的时候。
  • ✓当我希望 AI 确认文件存在,然后就停下来的时候。

技能链接

https://github.com/HKUDS/AgentPilot/blob/main/openspace/benchmarks/gdpval/skills/deliverable-completion/SKILL.md

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

使用方法

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

可直接粘贴的消息

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

可以这样问 AI

“请为我写好报告文件。只要它保存好、内容正确,我就不需要把它提交到任何地方。”

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

工作原理

AI 会写入文件,检查它是否存在且内容正确,然后报告任务已完成。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Deliverable Completion Protocol

Purpose

This skill addresses a common misconception during document and file creation tasks: agents sometimes search for or attempt to use a submit_work, finalize, or similar tool after creating the deliverable. No such step is required. Task completion is achieved when the file is successfully created with the required content.

Core Principle

File creation = Task completion

When a task requests you to create a document, report, script, or any file-based deliverable, the task is complete once:

  1. The file has been written to disk
  2. The file contains the required content
  3. The file is in the correct format and location

There is no additional submission, finalization, or confirmation step needed.

Execution Workflow

Step 1: Create the Deliverable

Use the appropriate file creation method for your task:

# For programmatic file creation
with open('deliverable.docx', 'wb') as f:
    f.write(document_content)
# For shell-based creation
echo "content" > output.txt

Or use available tools like write_file, create_file, etc.

Step 2: Verify Creation

Confirm the file exists and contains expected content:

ls -la deliverable.docx
# or
cat output.txt

Step 3: Declare Completion

Once verification passes, the task is complete. Do not:

  • Search for a submit_work tool
  • Look for a finalize_task function
  • Attempt to "upload" or "submit" the file elsewhere
  • Add extra confirmation steps

Simply report that the deliverable has been created successfully.

Common Mistakes to Avoid

❌ Incorrect ✅ Correct
Creating file, then searching for submit tool Creating file, verifying, declaring done
Assuming a finalization API exists Treating file creation as the final step
Adding unnecessary confirmation steps Completing after successful write

Example Task Flow

Task: "Create a negotiation strategy document covering BATNA, ZOPA, and timeline."

Correct Execution:

  1. Write the document content
  2. Save as negotiation_strategy.docx
  3. Verify file exists (~43KB, contains all sections)
  4. Report: "Negotiation strategy document created successfully"
  5. Task complete — no further action needed

When This Applies

  • Document creation (.docx, .pdf, .md, .txt)
  • Code file generation (.py, .sh, .js)
  • Data exports (.csv, .json, .xlsx)
  • Configuration files (.yaml, .toml, .ini)
  • Any file-based deliverable

When This Does NOT Apply

  • Tasks explicitly requiring external submission (e.g., "submit to API endpoint")
  • Tasks requiring human review/approval workflows
  • Tasks where the file is an intermediate step (not the final deliverable)
常见问题

这适用于所有工具吗?

指南说,一旦文件已写入磁盘,就不需要单独的提交步骤。

AI 还应该检查文件吗?

应该。指南建议快速检查文件是否存在,并包含预期内容。

指南说哪些步骤不需要?

它列举了 submit_work 或 finalize 之类的工具,说明它们不是必需的步骤。

详情

作者的原始描述

Clarifies that file creation tasks are complete when the deliverable is successfully written—no submission step required

repo: HKUDS/AgentPilot

热度

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

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能