dot_claude/skills/prune/SKILL.md
Use when cleaning up workspace clutter, organizing the ai/ directory, or removing stale task files. Trigger on root directory sprawl, outdated ai/ documents, or redundant temporary scripts.
npx skillsauth add nijaru/dotfiles pruneInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
scripts/ or delete.ai/ notes into single-topic documents.ai/README.md must reflect what actually exists — no dead links, no missing entries.tk done) and delete duplicates.For every file in the root or unexpected locations:
scripts/ or bin/.tests/.README.md (index), STATUS.md, DESIGN.md, DECISIONS.md, PLAN.md.research/, design/, review/, sprints/, tmp/.date, summary, status frontmatter.status: resolved or status: stale → delete, don't archive.ai/README.md to match reality.tk done <id>.ai/PLAN.md sprint status if progress was made.ls -R ai/, tk ls, git status --short.ai/README.md to match what exists. Format: - [Title](path) — one-line hook.chore(ai): prune workspace.| Excuse | Reality |
| :--------------------------------- | :------------------------------------------------------------------------ |
| "I'll clean this up after the PR." | Post-PR cleanup rarely happens; debt starts with "just one temp file." |
| "I might need this debug script." | If useful, it belongs in scripts/ with a descriptive name. |
| "The ai/ directory is fine as is." | Scattered notes force future agents to waste tokens on redundant content. |
| "I'll keep the file just in case." | Stale files pollute context. Delete resolved work. |
.git/ or core project configuration files.development
Use after completing a bug fix, feature, refactor, or tk task when the first implementation taught enough context to replace it with a simpler, cleaner, or more coherent version before finalizing.
development
Use when writing, migrating, or reviewing Zig code across recent stable versions (0.14-0.16), especially to correct stale syntax or stdlib, build.zig, allocator, formatting, or runtime API knowledge.
documentation
Use when reviewing or revising text (prose, docs, commits) to remove AI patterns and improve voice/clarity.
content-media
Use when fetching X/Twitter post content by URL, or searching for recent X posts.