--- name: extract-resume description: Parse a resume's uploaded PDF into structured JSON (basics, experience, projects, skills, education) and save it to the editor. argument-hint: "[resume-id] [--force]" --- # Extract resume Read a resume's uploaded PDF, turn it into the JobPilot resume shape, and save it. ## 1. Target Follow `../_shared/setup.md`. Then: - `RESUME_ID`: the argument, else `user.primaryResumeId`. Neither: stop with "No primary resume set. Pass an id, or set a primary at $JOBPILOT_WEB/resumes." - `--force` anywhere: overwrite existing content. `GET /api/resumes/$RESUME_ID`. A `404`: say the id doesn't exist and stop. - `content` set and no `--force`: stop with "Resume (