> - **`profile`** — Clears candidate data from the skill files (profile, behavioral, STAR examples, profile statements). The framework structure and writing rules are preserved. Use this to re-run `/setup` from scratch.
> - **`documents`** — Deletes all files you've placed in the `documents/` folder (CV PDFs, LinkedIn export, diplomas, references, past applications). The folder structure and `README.md` are preserved.
>
> - **`all`** — Both of the above.
>
> Reply with `profile`, `documents`, or `all`.
Wait for the user's response before continuing.
---
## Step 1: Show Exactly What Will Be Cleared
Before doing anything, show the user precisely what will be wiped.
### If scope includes `profile`:
Read the current state of these files and report whether each has content or is already empty:
Profile statement templates will be cleared. LaTeX structure and tailoring guidelines are preserved.
- 07-interview-prep.md — [has STAR examples / already blank]
STAR examples and any STAR candidate stubs will be cleared. Framework, tough questions, and roleplay guidelines are preserved.
The following files are NOT touched (they contain framework rules, not candidate data):
- 03-writing-style.md
- 04-job-evaluation.md
- 06-cover-letter-templates.md
```
### If scope includes `documents`:
Use Glob to list all files present in `documents/cv/`, `documents/linkedin/`, `documents/diplomas/`, `documents/references/`, and `documents/applications/`. Present as:
```
## Documents reset will delete:
documents/cv/
- [filename] or "(empty)"
documents/linkedin/
- [filename] or "(empty)"
documents/diplomas/
- [filename] or "(empty)"
documents/references/
- [filename] or "(empty)"
documents/applications/
- [subfolder/filename] or "(empty)"
documents/README.md — NOT deleted (instructions file)
```
If all document subfolders are already empty, state "All document subfolders are already empty — nothing to delete." and skip the confirmation step for this scope.
---
## Step 2: Require Explicit Confirmation
Present the confirmation prompt:
> **This cannot be undone.**
>
> Type **`RESET`** (all caps) to confirm, or anything else to cancel.
Wait for the user's response.
- If the user types exactly `RESET`: proceed to Step 3.
- If the user types anything else: abort and tell them "Reset cancelled. Nothing was changed."
---
## Step 3: Execute the Reset
### Profile reset
**For `01-candidate-profile.md`**, replace the file content with:
**For `05-cv-templates.md`**, locate the section that begins with `**Profile statement templates` and extends through the role-specific template blocks. Replace only that section with:
Leave all other content in `07-interview-prep.md` intact (STAR format explanation, tough questions, questions to ask interviewers, phone/video tips, follow-up etiquette, roleplay guidelines).
### Documents reset
For each non-empty document subfolder, delete all files within it using Bash `rm`. Do not delete the folder itself, and do not delete `documents/README.md`.
```bash
rm -f documents/cv/*
rm -f documents/linkedin/*
rm -f documents/diplomas/*
rm -f documents/references/*
rm -rf documents/applications/*/
```
---
## Step 4: Confirm What Was Done and Next Steps
After the reset is complete, report:
```
## Reset complete
### Cleared
[List each file/folder that was actually modified or cleared]
### Unchanged
[List anything that was already empty or was intentionally preserved]
```
Then tell the user what to do next based on what was reset:
> Your candidate profile is now blank. Run `/setup` to repopulate it. The command auto-detects any files in your `documents/` folder and offers to read from there; otherwise it walks you through a CV import or interactive interview.
> The `documents/` folder is now empty. Add your career documents and run `/setup` to populate your profile. See `documents/README.md` for instructions on what to put where.
> Both your profile files and documents folder are now empty. Add documents to `documents/` (or skip and use the CV import / interview path), then run `/setup`.