본문으로 건너뛰기
Skillpedia
자동화7.8k · #12889

finalize-zip-deliverable

하는 일

이 스킬은 AI가 작업을 완료했다고 보고하기 전에 프로젝트를 다운로드 가능한 ZIP 파일로 보관하도록 합니다. 코딩이나 파일 작업의 결과로 파일 하나를 받고 싶은 사람에게 맞습니다.

사용하는 경우

  • ✓다운로드 가능한 압축 파일이나 ZIP 결과물을 요청하는 작업일 때.
  • ✓AI가 프로젝트 파일은 만들었지만 아직 묶지 않은 경우.
  • ✓작업이 단계 한도에 가까워 파일을 바로 묶어야 할 때.

스킬 링크

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

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/HKUDS/AgentPilot/blob/main/openspace/benchmarks/gdpval/skills/finalize-zip-deliverable/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“프로젝트를 만들고 다운로드할 수 있는 ZIP 파일 하나로 주세요. 끝내기 전에 압축 파일이 있는지 확인해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

AI는 프로젝트의 파일을 나열하고, ZIP으로 묶고, 압축 파일이 있는지 확인한 뒤, 파일 묶음이 불완전하면 요약에 그 사실을 적습니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Finalize ZIP Deliverable

CRITICAL: This skill defines a MANDATORY workflow that MUST be executed before any task can be marked complete. Task completion is BLOCKED until ZIP verification passes.

Agents often assume that creating the project directory and files constitutes task completion. However, many tasks require a single downloadable artifact (ZIP file) for delivery. You are forbidden from declaring task completion until the ZIP artifact is created and verified.

ITERATION-AWARE PRIORITY: If the agent's iteration count approaches the task limit (e.g., iteration 25 of 30), ZIP creation MUST be elevated to highest priority. Do not continue adding features or refining code—execute the ZIP command immediately with whatever files exist.

Early Warning System

TRIGGER CONDITION: When iteration count reaches 25/30 (or 80% of any iteration limit), activate the following protocol:

  1. Immediately halt any non-essential code generation or refinement.
  2. Assess current state: List all files currently in the project directory.
  3. Execute minimum viable ZIP: Package whatever exists, even if incomplete.
  4. Document the fallback: Note in completion summary that ZIP was created as fallback due to iteration constraints.

RATIONALE: A partial ZIP deliverable is ALWAYS preferable to zero deliverable. Never exhaust iterations without creating the required artifact.

Minimum Viable ZIP Fallback

When triggered by the early warning system, execute this fallback procedure:

# Create ZIP with whatever files currently exist
zip -r project_fallback.zip ./project/ 2>/dev/null || zip -r project_fallback.zip ./*

# Verify creation succeeded
ls -lh project_fallback.zip

Acceptable fallback scenarios:

  • ZIP contains partial codebase (better than nothing)
  • ZIP contains only configuration files
  • ZIP contains even a single source file

Unacceptable outcome: No ZIP file created due to iteration exhaustion.

Workflow Steps

1. Verify Project Completeness

0. Monitor Iteration Count (ONGOING)

Throughout task execution, track your iteration count relative to the task limit.

  • Normal operation (iterations 1-24 of 30): Follow standard workflow, building codebase systematically.
  • Warning zone (iterations 25-27 of 30): Begin preparing ZIP command; ensure project directory exists.
  • Critical zone (iterations 28-30 of 30): ZIP creation is the ONLY remaining task. Execute minimum viable ZIP fallback if necessary.

Before archiving, confirm that all intended source code, configuration files, and assets exist within the project directory.

  • Check that the root project directory exists.
  • Verify critical files (e.g., package.json, README.md, source files) are present.
  • Ensure no build artifacts or temporary files unintended for delivery are included (unless specified).

2. Execute Archive Command

Run the compression command explicitly as a dedicated action. Do not bundle this step with code generation.

zip -r <output_filename>.zip <project_directory>/

Example:

zip -r project.zip ./project

3. Verify Artifact Creation

Confirm the ZIP file was successfully created and is not empty.

  • Check file existence: ls -lh <output_filename>.zip
  • Check file size: Ensure the size is greater than 0 bytes.
  • Optionally inspect contents: unzip -l <output_filename>.zip

4. Declare Completion

4. Mandatory Pre-Completion Checklist (BLOCKING)

BEFORE declaring task complete, you MUST verify all items below. Task completion is BLOCKED until this checklist passes:

  • All required source code and configuration files exist in the project directory ITERATION STATUS CHECK: If approaching iteration limit (≥25/30), execute ZIP fallback immediately regardless of project completeness.

  • All required source code and configuration files exist in the project directory (OR fallback triggered due to iteration limit)

  • zip -r <output_filename>.zip <project_directory>/ command has been executed

  • If in fallback mode, ZIP filename includes fallback suffix for clarity (e.g., project_fallback.zip)

  • ZIP file exists at the expected path (verify with ls -lh <output_filename>.zip)

  • ZIP file size is greater than 0 bytes

  • ZIP contents have been inspected (optional but recommended: unzip -l <output_filename>.zip)

COMPLETION RULE: The zip command MUST be executed as the FINAL step before any <COMPLETE>

자주 묻는 질문

ZIP 없이 끝낼 수 있나요?

아닙니다. 가이드는 작업을 완료로 표시하기 전에 ZIP을 만들고 확인해야 한다고 말합니다.

시간이 거의 다 되었다면 어떻게 하나요?

다른 작업을 멈추고 있는 파일을 묶은 뒤, 그 대체 방법을 보고하라고 가이드가 안내합니다.

불완전한 ZIP이 왜 더 나은가요?

가이드는 부분 묶음이 결과물이 아예 없는 것보다 언제나 낫다고 말합니다.

상세 정보

작성자의 원본 설명

Ensures codebase deliverables are properly archived into a ZIP file before marking task complete

repo: HKUDS/AgentPilot

인기도

GitHub 스타
7.8k
순위
#12889
라이선스
MIT
업데이트
2026. 11. 1.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬