You are resetting parts of the job search framework back to a blank state so the user can start fresh with `/setup`.
**This command is destructive.** Nothing is deleted until the user explicitly confirms. Follow these steps exactly in order.
---
## Step 0: Parse Scope from Arguments
Check `$ARGUMENTS` for a scope keyword:
-`profile` — clears candidate profile data from skill files only
-`documents` — deletes user-provided files from the `documents/` folder only
-`all` — both of the above
If `$ARGUMENTS` is empty or does not contain a recognized scope keyword, ask:
> **What would you like to reset?**
>
> - **`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, pasted job postings, 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:
Use Glob to list all files present in `documents/cv/`, `documents/linkedin/`, `documents/diplomas/`, `documents/references/`, `documents/postings/`, `documents/sources/`, and `documents/applications/`. Present as:
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:
```markdown
# Candidate Profile
<!-- Run /setup to populate this file -->
## Identity
## Education
## Professional Experience
## Independent Projects
## Technical Skills
## Publications
## Awards
## References
```
**For `02-behavioral-profile.md`**, replace the file content with:
```markdown
# Behavioral Profile
<!-- Run /setup to populate this file -->
## Overview
## Strongest Behavioral Traits
## How I Work Best
## Growth Areas
## Mapping to Job Posting Language
## Management Style Preferences
## Using This in Applications
```
**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:
```markdown
**Profile statement templates:**
<!-- Run /setup to populate role-specific profile statements -->
```
Leave all other content in `05-cv-templates.md` intact.
**For `07-interview-prep.md`**, locate and remove:
- The entire `## Ready-Made STAR Examples` section and all numbered STAR examples under it
- Any `## STAR Candidates (Complete Manually)` section added by `/setup` Path A
Replace with:
```markdown
## Ready-Made STAR Examples
<!-- Run /setup to populate STAR examples from your actual experience -->
```
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`.
[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:
**If profile 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.
**If documents were reset:**
> 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.
**If both were reset:**
> 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`.