मुख्य सामग्री पर जाएँ
Skillpedia
ऑटोमेशन7.8k · #12889

finalize-zip-deliverable

यह क्या करती है

यह स्किल सुनिश्चित करती है कि AI के काम पूरा बताने से पहले प्रोजेक्ट डाउनलोड करने योग्य ZIP आर्काइव के रूप में बने। यह उन लोगों के लिए है जिन्हें कोडिंग या फ़ाइल काम के आउटपुट के रूप में एक पैक की हुई फ़ाइल चाहिए।

कब इस्तेमाल करें

  • ✓जब कोई काम डाउनलोड करने योग्य आर्काइव या ZIP आउटपुट माँगे।
  • ✓जब AI ने प्रोजेक्ट फ़ाइलें बना ली हों, पर उन्हें अभी पैक नहीं किया हो।
  • ✓जब काम चरणों की सीमा के करीब हो और फ़ाइलों को तुरंत पैक करना ज़रूरी हो।

Skill का लिंक

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

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/HKUDS/AgentPilot/blob/main/openspace/benchmarks/gdpval/skills/finalize-zip-deliverable/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“प्रोजेक्ट बनाइए और मुझे एक ZIP फ़ाइल दीजिए जिसे मैं डाउनलोड कर सकूँ। खत्म करने से पहले पक्का कीजिए कि आर्काइव मौजूद है।”

हर हफ़्ते 5 नई skills, 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>

अक्सर पूछे जाने वाले सवाल

क्या AI 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
अपडेट की गई
1/11/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

मिलती-जुलती skills