Ensures codebase deliverables are properly exported as ZIP archives through a dedicated finalization step
61
71%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
Fix and improve this skill with Tessl
tessl review fix ./benchmarks/gdpval/skills/zip-export-deliverable/SKILL.mdWhen a task requires delivering a codebase or project directory as a ZIP archive, this skill ensures the deliverable is actually created through an explicit finalization step, rather than assuming directory creation equals completion.
Use this skill when:
Do NOT assume that creating the project directory and files means the deliverable is complete. The ZIP archive itself must be explicitly created as a final step.
Before creating the ZIP, confirm all required files and directories exist:
ls -la ./project/
# or
find ./project -type f | head -20Add a final step/iteration specifically for ZIP creation. This should be a distinct action, not combined with other tasks.
Run the zip command with recursive flag:
zip -r project.zip ./projectOr with a custom name:
zip -r <deliverable-name>.zip ./<project-directory>Confirm the ZIP file was created successfully:
ls -lh project.zip
# Should show file size > 0
unzip -l project.zip | head -20
# Should list contentsExplicitly confirm the ZIP deliverable has been created in your final response to the user.
import subprocess
import os
def finalize_deliverable(project_dir="project", zip_name="project.zip"):
"""Create ZIP archive of project deliverable."""
# Step 1: Verify project exists
if not os.path.exists(project_dir):
raise FileNotFoundError(f"Project directory {project_dir} not found")
# Step 2: Create ZIP
result = subprocess.run(
["zip", "-r", zip_name, f"./{project_dir}"],
capture_output=True,
text=True
)
if result.returncode != 0:
raise RuntimeError(f"ZIP creation failed: {result.stderr}")
# Step 3: Verify
zip_size = os.path.getsize(zip_name)
print(f"Created {zip_name} ({zip_size} bytes)")
return zip_namezip -r <name>.zip ./<directory> command is executedc5a9c4b
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.