Files
ai-job-search/.claude/commands/reset.md
T
Mads LorentzenandClaude Opus 4.7 974b29ec3a refactor: fold /setup_docs into /setup as third onboarding path (#9)
* refactor: fold /setup_docs into /setup as third onboarding path

- Auto-detect documents/ at /setup Step 0; offer three paths (documents
  folder, single CV import, interview).
- Inline document-driven merge logic into setup.md as Path A: read-before-
  write, additive vs. conflicting bucket merge with per-conflict prompts,
  inference labeling for behavioral and style files, STAR-stub generation
  instead of fabrication.
- Step 3 substeps for skill files skip when Path A populated them; non-
  skill substeps (CLAUDE.md, cv/main_example.tex, search-queries.md)
  always run. Path C interview preserved verbatim. /setup --section <name>
  update flow preserved.
- Delete .claude/commands/setup_docs.md.
- Update /reset prompts to point only at /setup. Update documents/README.md
  to reference /setup throughout. Update README.md to drop the standalone
  /setup_docs section and add upskill/ to the skills tree.
- Remove the trailing comma left in .claude/settings.local.json after the
  PR #6 revert (was technically invalid JSON).

Single onboarding entry point. documents/ folder convention unchanged.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* docs(README): finish readme alignment for the /setup fold

- Update onboarding-paths tip to reflect three paths (was "Either"
  before /setup_docs landed in PR #6).
- Add documents/ and upskill/ entries to the file tree, both relied
  on by the new /setup Path A and by /upskill respectively.
- Add a brief "Other commands" section briefly describing /expand and
  /upskill so users discover them without having to read individual
  command files. /reset stays in the existing "Starting over"
  subsection, now linked from the new section.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-29 09:57:33 +02:00

6.6 KiB

/reset - Reset Candidate Profile Data

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, 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:

  • .claude/skills/job-application-assistant/01-candidate-profile.md
  • .claude/skills/job-application-assistant/02-behavioral-profile.md
  • .claude/skills/job-application-assistant/05-cv-templates.md (profile statements section only — framework structure is preserved)
  • .claude/skills/job-application-assistant/07-interview-prep.md (STAR examples and STAR candidates sections only — framework structure is preserved)

Present as:

## Profile reset will clear:

- 01-candidate-profile.md — [has content / already empty]
  Full file will be replaced with a blank template.

- 02-behavioral-profile.md — [has content / already empty]
  Full file will be replaced with a blank template.

- 05-cv-templates.md — [has profile statements / already blank]
  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:

# 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:

# 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:

**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:

## 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.

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:

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.