Workspace organizer

From phuetz/code-buddy · View interactive version

Workspace organizer is an AI agent skill from the GitHub repository phuetz/code-buddy. Workspace file organization and cleanup planning. Use when the user asks to organize a folder, clean a workspace, group files by type or project, deduplicate generated files, prepare a tidy deliverable folder, or explain what can safely be deleted.

How to use this skill

Skill file

Workspace Organizer

Use this skill when a task is about organizing, cleaning, or restructuring files inside the selected workspace.

Safety Contract

Workflow

  1. Inventory the workspace with names, extensions, sizes, and modified times.
  2. Identify protected areas before proposing any action.
  3. Group files by purpose, not only by extension:
  1. Propose the target folder layout and list risky operations separately.
  2. Execute only low-risk moves automatically, and keep destructive actions as review candidates unless explicitly approved.
  3. Write or update organization-manifest.md with the before/after map and skipped items.

Output Pattern

When the user asks for cleanup, provide:

Folder Layout Heuristics

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.