Talk

Claude Code Prompt Audit & Cleanup Workflow

From Wikiprompt, the free prompt encyclopedia

Coin Shot ☁️

Oct 1, 2026

Claude Code Prompt Audit & Cleanup Workflow A two-step workflow to audit and clean up CLAUDE.md files, skills, and subagents in Claude Code, flagging outdated instructions and then rewriting them with a structured prompt.

Prompt ContentSave

🌐
/doctor prompt-audit claude --add-dir ~/.claude "Go through the prompt-audit report above. Sort every finding into three groups: delete, rewrite, keep. For each rewrite, replace ALL-CAPS orders like CRITICAL, MUST and NEVER with one calm sentence that explains why the rule exists. Remove 'think step by step' and any manual reasoning scaffolds. Fix every stale path and command by checking what actually exists in the repo right now. Where a skill contradicts CLAUDE.md, show me both lines side by side and ask me which one wins. Leave safety rules, secrets handling and anything project-specific you can't verify untouched. Show me every change as a diff first. Do not edit anything until I approve."

Sign in to see the full prompt

Continue with:

By logging in, you agree to our Terms of Use and Privacy Policy

Usage

This prompt is designed for use with productivity. Copy the prompt content above and paste it into your preferred AI tool.

For best results, you may customize the placeholders (indicated by square brackets or capital letters) with your specific requirements.

References

Categories:productivity| twitter| claude-code| prompt-audit

Talk