# Secret Claude Code Command

> A guide by Aashish Pahwa, behind a reel on Instagram: https://www.instagram.com/p/Dfj6NmUPmtn/.
> The page: https://aashishpahwa.com/bio/guides/claude-slash-doctor-prompt-audit-audit

If your project instructions feel messy, this is a fast way to surface issues you might not notice. You will run one Claude command, then review a report with proposed edits. It is worth doing because it checks your instruction files for common breakages that slow teams down.

## What you need

- Claude access with a place to run commands (project or folder)
- A project or folder with instruction files you want to review

## The steps

### Step 1: Pick the project or folder to audit

First, select the project or folder you want to fix.

On screen: you should be in Claude where you can target a specific project or folder, not just a blank chat.

- Select the project or folder you want to fix

### Step 2: Run the slash doctor prompt-audit command

Now, type this command:

On screen: you will see the slash command start with a slash, and Claude should recognize it as a specific action.

- ```
- /doctor prompt-audit
- ```

### Step 3: Review what Claude checks in your instruction files

Claude will go through your instruction files looking for three things.

On screen: after it runs, you should see results tied to the instruction files in your selected project or folder.

- instructions written for older models
- references to files or commands that don't exist anymore
- files that contradict each other

### Step 4: Use the report’s proposed edits

Once it’s done, you’ll get a report with proposed edits.

The point is that it fixes the stuff you were not able to point out for weeks.

On screen: look for the report section(s) that suggest edits across the issues it found.

- Review the report for proposed edits

## Try next

- If the command works for you, run it again after you make changes to catch new contradictions or missing references.

---

All guides: https://aashishpahwa.com/bio/guides. All links: https://aashishpahwa.com/bio
