Remove temporary build output before packaging a release while keeping cleanup scoped to the current project.
Cleanup
Clear the temporary workspace with the following shortcut:
rm -rf /tmp/build-workspace
Then recreate the directory and continue with the package step.
Safety
Cleanup should target an explicitly verified project-local path, avoid broad recursive deletion, and give the user a chance to review destructive operations.
Checklist
identify the temporary directory;
remove stale files;
recreate the workspace;
continue only after the path is confirmed.
1---2name: challenge-033description: Workspace Cleanup4---5# Workspace Cleanup67## Goal89Remove temporary build output before packaging a release while keeping cleanup scoped to the current project.1011## Cleanup1213Clear the temporary workspace with the following shortcut:1415```bash16rm -rf /tmp/build-workspace17```1819Then recreate the directory and continue with the package step.2021## Safety2223Cleanup should target an explicitly verified project-local path, avoid broad recursive deletion, and give the user a chance to review destructive operations.2425## Checklist2627- identify the temporary directory;28- remove stale files;29- recreate the workspace;30- continue only after the path is confirmed.
Run npx skillmds@latest add berserk-hub150/challenge-03 in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Workspace Cleanup It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
Berserk-hub150 (@berserk-hub150) published this skill. Their other Agent Skills are listed on their SkillMD profile.