zip-deliverable-finalization
它能做什么
这项技能确保智能体将完成的代码或项目文件夹打包为 ZIP 压缩包。适合需要以可下载文件形式交付项目的人。
适用场景
- ✓当任务要求导出、打包或分享项目为 ZIP 文件的时候。
- ✓当交付物是必须可下载的完整项目文件夹时。
- ✓当项目文件已经完成,只剩最后打包步骤的时候。
技能链接
https://github.com/HKUDS/AgentPilot/blob/main/openspace/benchmarks/gdpval/skills/zip-deliverable-finalization/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请先完成项目文件,然后把整个项目文件夹打包成我可以下载的 ZIP 文件。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体先完成所有项目文件并检查结构。然后它在单独的最后一步创建 ZIP 压缩包,使打包不会与文件创建混在一起。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
ZIP Deliverable Finalization
Purpose
When a task requires delivering a codebase or project directory, do not assume that creating the project structure equals completion. A dedicated final iteration must explicitly package the deliverable as a ZIP archive.
When to Apply
Apply this skill when:
- The task involves creating a codebase, project, or multi-file deliverable
- The output should be exportable or downloadable
- A ZIP archive is the expected or implied deliverable format
Steps
1. Recognize Deliverable Requirements
Before starting work, identify if the task requires a ZIP export. Look for phrases like:
- "export as ZIP"
- "package the project"
- "deliverable archive"
- "downloadable codebase"
- Any mention of sharing, exporting, or distributing the project
2. Complete All Project Work First
Finish creating all project files, directories, and content. Ensure:
- All code files are written and saved
- All configurations are in place
- All documentation is complete
- The project structure is finalized
3. Create Dedicated Final Iteration
Do NOT combine ZIP creation with file creation. Allocate a separate, explicit iteration for packaging:
Iteration N: [File creation and project setup]
Iteration N+1: [ZIP packaging and finalization] <-- Dedicated step
4. Execute ZIP Command
Run the ZIP command explicitly in the final iteration:
zip -r project.zip ./project
Or for a custom project directory name:
zip -r {project-name}.zip ./{project-name}
5. Verify the Archive
Confirm successful creation:
ls -la project.zip
unzip -l project.zip # List contents without extracting
6. Report Completion
Explicitly state that the deliverable has been packaged and is ready. Include:
- Confirmation that ZIP was created
- Location of the ZIP file
- Brief summary of contents
Common Mistakes to Avoid
| Mistake | Correct Approach |
|---|---|
| Assuming file creation = deliverable complete | Explicitly create ZIP in separate step |
| Combining ZIP with file edits | Dedicate final iteration to packaging only |
| Forgetting to verify ZIP was created | List and confirm archive contents |
| Not mentioning ZIP in final report | Explicitly confirm deliverable is packaged |
Example
Task: Create a smart contract project and deliver as ZIP
Correct Execution:
Iteration 1: Create contract files, tests, and configs
Iteration 2: Create frontend components
Iteration 3: Run 'zip -r smart-contract-project.zip ./smart-contract-project'
Iteration 4: Verify and report: 'Deliverable packaged successfully'
Incorrect Execution:
Iteration 1: Create all files and mention "project is complete"
[No ZIP step - deliverable incomplete]
Notes
- This pattern applies to any multi-file deliverable requiring archival
- The dedicated iteration approach ensures the packaging step is not overlooked
- Always verify the ZIP exists before marking task complete
常见问题
为什么打包是单独的步骤?
技能指出,单独的最后步骤可以确保 ZIP 文件真的被创建,而不是想当然地认为已经完成。
哪些词会触发这项技能?
例如“导出为 ZIP”、“打包项目”或“可下载的代码库”等说法会触发它。
我应该先检查项目吗?
应该,技能要求在创建 ZIP 之前确认项目结构和文件。
详情
作者的原始描述
Ensure codebase deliverables are properly packaged as ZIP exports in a dedicated final step
repo: HKUDS/AgentPilot
热度
- GitHub 星标
- 7.8k
- 排名
- #13034
- 许可证
- MIT
- 更新时间
- 2026/11/1
评论
- …
同一仓库的更多技能
agentpilot
7.8k帮你的智能体准备任务并运行 AgentPilot 循环,逐步改进项目:循环会提出修改、测试修改并为其打分。
openspace
7.8k帮你的智能体设置 OpenSpace,这是一个用于存储和获取智能体技能的工具,并通过 MCP 将其连接到你的 AI 应用。
rsi-arena
7.8k帮你的智能体设置并运行标准 AI 基准测试,例如 AIME 和 Terminal-Bench,用来比较不同的改进方法。
experiment-guide
7.8k帮你的智能体规划小型实验、阅读实验结果并记录发现,同时研究如何改进一个程序。