clean

Automate cleanup of temporary and legacy artifacts in code projects.

2|Updated Jan 12, 2026
One-click install
npx skills add https://github.com/djnsty23/claude-auto-dev --skill clean-djnsty23
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: clean
Source: https://github.com/djnsty23/claude-auto-dev/tree/main/skills/clean
Command: npx skills add https://github.com/djnsty23/claude-auto-dev --skill clean-djnsty23

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Remove Claude Code artifacts and temporary files that accumulate during development, sprint work, and handoff cycles to keep projects clean and maintainable.

Core Features & Use Cases

  • Move stray files from the project root into .claude/archives and .claude/handoffs as described in the workflow.
  • Delete expendable files from non-essential areas (primarily within .claude subdirectories) to prevent accidental data loss.
  • Preserve source code and critical assets while providing a repeatable cleanup routine for sprint hygiene and release readiness.

Quick Start

Run the clean command to remove temporary files and outdated artifacts from your project.

Frequently Asked Questions about clean

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I safely clean temporary files and legacy artifacts from my project root?

To safely clean temporary files, this Skill executes move, prune, and archive phases that relocate stray files to .claude/archives and delete expendable items within .claude subdirectories, preserving source code while generating an activity report.

What is the best way to automate artifact cleanup for sprint workspaces and repositories?

Automating artifact cleanup for sprint workspaces involves relocating stray files to .claude/handoffs and archives, then pruning non-essential items. This routine ensures sprint hygiene and release readiness by systematically removing legacy artifacts without data loss.

Does this project cleanup routine work with both Bash and PowerShell on Windows?

Yes, the cleanup routine supports both Bash and PowerShell on Windows. It fulfills multi-step safety requirements by using these tools to execute its move, prune, archive, and reporting phases across your development environment.

How do I archive Claude Code handoff files without losing critical assets?

Archiving Claude Code handoff files safely requires relocating stray files from the root into .claude/handoffs and .claude/archives. The Skill prevents accidental data loss by restricting deletion to non-essential areas within .claude subdirectories only.

When should I not use an automated artifact management script for temporary file removal?

You should not use automated artifact management when essential source files are untracked or stored in the root, as this routine targets stray items and deletes expendable files to maintain project cleanliness and prevent accidental data loss.