Nathan Romano
AI agentsFree

Project Workspace Cleanup

Audit and clean any project across 7 categories: temp files, security issues, dead code, dependencies, git hygiene, caches, and code quality.

What it does

Reviews an entire project for temporary files, possible security issues, dead code, unused dependencies, git hygiene, build caches, and overall code quality. Always runs a dry-run scan first before any destructive action.

When to use it

Steps

  1. Run a dry-run scan across all 7 categories
  2. List temporary files and caches that are candidates for removal
  3. Flag possible security issues (exposed secrets, etc.)
  4. Identify dead code and unused dependencies
  5. Review git hygiene (stale branches, loose commits)
  6. Present the report and get confirmation before deleting anything

The skill

project-workspace-cleanup/SKILL.mdDownload SKILL.md
---
name: project-workspace-cleanup
description: Audit and clean any project across 7 categories: temp files, security issues, dead code, dependencies, git hygiene, caches, and code quality.
---

# Project Workspace Cleanup

## 1. What it does
Reviews an entire project for temporary files, possible security issues, dead code, unused dependencies, git hygiene, build caches, and overall code quality. Always runs a dry-run scan first before any destructive action.

## 2. When to use it
- Before handing a project off to a client
- Inheriting a messy project from another developer
- Periodically, to keep a repository healthy

## 3. Steps
1. Run a dry-run scan across all 7 categories
2. List temporary files and caches that are candidates for removal
3. Flag possible security issues (exposed secrets, etc.)
4. Identify dead code and unused dependencies
5. Review git hygiene (stale branches, loose commits)
6. Present the report and get confirmation before deleting anything

## 4. GoHighLevel angle
For projects with GoHighLevel integrations, also check there are no forgotten GHL API keys left in configuration files.

## 5. Safety rules
Always work in draft mode: nothing is sent, published, or paid for without explicit client approval. Never invent data, metrics, or results. No passwords, tokens, or API keys are requested or shown in chat.

## 6. Deliverable
A clear, reviewable draft of the output (text, code, report, or file), ready for the user to approve before it becomes final.

For Claude Code, save it as ~/.claude/skills/project-workspace-cleanup/SKILL.md. In Cursor, ChatGPT or another assistant, paste it as project instructions.

Want to build it together?

Inside PubliExpert AI Guild you get snapshots, live sessions and builders to finish it with.

Join the AI Guild ↗