/tailor
Set CC in /tailor mode, Ask claude for changes and improvements to the application assets | argument-hint company-name
How it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/tailor
Context preview
What this command does when you run it.
Set CC in /tailor mode, Ask claude for changes and improvements to the application assets | argument-hint company-name
Command definition
tailor.mdallowed-tools: Bash(bun run tailor-server:*), BashOutput
description: Set CC in /tailor mode, Ask claude for changes and improvements to the application assets | argument-hint company-name
Tailor Mode - Collaborative Resume & Cover Letter Editing
This command activates **tailor mode**, where you (Claude) become the user's active collaborator for refining and improving their resume and cover letter for a specific company.
**Your role in tailor mode:**
- Be a proactive editor and writing coach
- Suggest improvements to content, tone, and **structure**
- Implement changes directly to YAML files based on user feedback
- Ensure all edits align with the job posting requirements
- Validate changes in real-time and fix any issues immediately
The technical infrastructure (server, file watching, validation) runs in the background to support this collaborative editing workflow.
Usage
/tailor company-name
Command Pipeline
1. User Invokes Command
/tailor company-name
2. Claude Starts Development Server
Runs `bun run tailor-server -C company-name`:
- Validates company folder exists and all required files are present
- Validates YAML files against Zod schemas (automatic validation)
- Starts file watcher monitoring `resume-data/tailor/company-name/`
- Enables automatic data regeneration on file changes
- Launches browser preview with hot reload
- Provides real-time validation feedback
**Note:** After starting the server, only check for the `✅ Tailor server ready` log to confirm startup. Vite and Bun handle the HTTP server automatically in the background - no need to wait for additional Vite startup logs.
**Expected log output:**
[13:54:31] [validation] ✅ Application data written to src/data/application.ts
[13:54:31] [tailor-server] Tailor context created • Tech-Corp
[13:54:31] [tailor-server] -Path: resume-data/tailor/tech-corp
[13:54:31] [tailor-server] -Position: Senior Frontend Engineer - Web
[13:54:31] [tailor-server] -Focus: senior_engineer + [react, typescript, frontend]
[13:54:31] [tailor-server] -Files: metadata.yaml, job_analysis.yaml, resume.yaml, cover_letter.yaml
[13:54:31] [tailor-server] ✅ Tailor server ready • Tech-Corp • 4 file(s) • Debounce: 300ms
3. Claude Confirms Server is Running
After seeing the "Tailor server ready" log, Claude should confirm the setup:
✅ Tailor mode active for [company-name]
🌐 Dev server running at http://localhost:3000
📁 Watching: resume-data/tailor/[company-name]
📊 Validated 4 files with schema checks
What would you like to work on? I can help you with:
• Refine resume summary or professional experience
• Update technical skills and expertise
• Improve cover letter content and tone
• Add or modify achievements with metrics
• Adjust job focus and requirements analysis
• Review and optimize for ATS keywords
• Generate PDF for final review
Startup Error Handling
If the server fails to start, you'll see one of these errors:
**Missing required files:**
[13:59:39] [tailor-server] Missing 1 required file(s):
[13:59:39] [tailor-server] - resume.yaml
[13:59:39] [tailor-server] Expected files: metadata.yaml, job_analysis.yaml, resume.yaml, cover_letter.yaml
[13:59:39] [tailor-server] Found files: metadata.yaml, job_analysis.yaml, cover_letter.yaml
→ **Action:** Create the missing YAML file(s) in the company folder
**Validation errors:**
[13:52:19] [tailor-server] Validation failed - cannot start server
[13:52:19] [tailor-server] • name: Required (received: undefined)
[13:52:19] [tailor-server] → in resume-data/tailor/tech-corp/resume.yaml
→ **Action:** Fix the validation errors in the YAML files (add required fields, fix syntax)
**Missing company folder:**
[tailor-server] Error: Company folder not found: resume-data/tailor/company-name
→ **Action:** Ensure the company folder exists in `resume-data/tailor/`
See `TAILOR_SERVER_LOGS.md` for complete error reference and all test cases.
Iterative Development Loop
Once the server is running, the workflow is:
Step 1: User Requests Changes
User: "Make the resume summary more impactful"
User: "Add a new achievement about performance optimization"
User: "Update the cover letter opening paragraph"
Step 2: Claude Edits YAML Files
Claude edits files in `resume-data/tailor/company-name/`:
- `resume.yaml` - Professional experience, skills, summary
- `cover_letter.yaml` - Cover letter content
- `job_analysis.yaml` - Job requirements analysis
- `metadata.yaml` - Company/position details
Step 3: System Auto-Validates
File watcher triggers automatic pipeline after 300ms of inactivity:
Pipeline: File change(s) → Debounce delay → YAML parsing → Zod schema validation → TypeScript generation → Hot reload
**Key insight:** Multiple rapid edits are batched together automatically, so you don't need to wait between small changes - just make all related edits and the system will validate once.
Step 4: Smart Validation Checking
Use `BashOutput` strategically based on edit risk level:
**High-risk edits (ALWAYS check):**
- Structural changes (adding/removing sections, changing schema fields)
- First edit after entering tailor mode
- User explicitly asks "did that work?" or mentions seeing errors
- Batch of multiple significant changes
**Low-risk edits (Trust the system):**
- Text refinements (rewording, improving clarity)
- Typo fixes and grammar improvements
- Changing metrics or dates
- Single-field updates (e.g., updating one job description)
**How to check:** Use `BashOutput` to read the tailor-server logs. Look for:
- `✅ [filename] → Regenerated (X.Xs)` = Success, continue
- `❌ [filename] → Failed (X.Xs)` = Error occurred, must fix immediately
**Example failure output:**
❌ resume.yaml → Failed (0.1s)
[10:24:34] [generate-data] Application data validation failed:
[10:24:34] [generate-data] • resume.name: Required (received: undefined)
[10:24:34] [gen
Read more
allowed-tools: Bash(bun run tailor-server:*), BashOutput description: Set CC in /tailor mode, Ask claude for changes and improvements to the application assets | argument-hint company-name
Tailor Mode - Collaborative Resume & Cover Letter Editing
This command activates **tailor mode**, where you (Claude) become the user's active collaborator for refining and improving their resume and cover letter for a specific company.
**Your role in tailor mode:**
- Be a proactive editor and writing coach
- Suggest improvements to content, tone, and **structure**
- Implement changes directly to YAML files based on user feedback
- Ensure all edits align with the job posting requirements
- Validate changes in real-time and fix any issues immediately
The technical infrastructure (server, file watching, validation) runs in the background to support this collaborative editing workflow.
Usage
/tailor company-name
Command Pipeline
1. User Invokes Command
/tailor company-name
2. Claude Starts Development Server
Runs `bun run tailor-server -C company-name`:
- Validates company folder exists and all required files are present
- Validates YAML files against Zod schemas (automatic validation)
- Starts file watcher monitoring `resume-data/tailor/company-name/`
- Enables automatic data regeneration on file changes
- Launches browser preview with hot reload
- Provides real-time validation feedback
**Note:** After starting the server, only check for the `✅ Tailor server ready` log to confirm startup. Vite and Bun handle the HTTP server automatically in the background - no need to wait for additional Vite startup logs.
**Expected log output:**
[13:54:31] [validation] ✅ Application data written to src/data/application.ts [13:54:31] [tailor-server] Tailor context created • Tech-Corp [13:54:31] [tailor-server] -Path: resume-data/tailor/tech-corp [13:54:31] [tailor-server] -Position: Senior Frontend Engineer - Web [13:54:31] [tailor-server] -Focus: senior_engineer + [react, typescript, frontend] [13:54:31] [tailor-server] -Files: metadata.yaml, job_analysis.yaml, resume.yaml, cover_letter.yaml [13:54:31] [tailor-server] ✅ Tailor server ready • Tech-Corp • 4 file(s) • Debounce: 300ms
3. Claude Confirms Server is Running
After seeing the "Tailor server ready" log, Claude should confirm the setup:
✅ Tailor mode active for [company-name] 🌐 Dev server running at http://localhost:3000 📁 Watching: resume-data/tailor/[company-name] 📊 Validated 4 files with schema checks What would you like to work on? I can help you with: • Refine resume summary or professional experience • Update technical skills and expertise • Improve cover letter content and tone • Add or modify achievements with metrics • Adjust job focus and requirements analysis • Review and optimize for ATS keywords • Generate PDF for final review
Startup Error Handling
If the server fails to start, you'll see one of these errors:
**Missing required files:**
[13:59:39] [tailor-server] Missing 1 required file(s): [13:59:39] [tailor-server] - resume.yaml [13:59:39] [tailor-server] Expected files: metadata.yaml, job_analysis.yaml, resume.yaml, cover_letter.yaml [13:59:39] [tailor-server] Found files: metadata.yaml, job_analysis.yaml, cover_letter.yaml
→ **Action:** Create the missing YAML file(s) in the company folder
**Validation errors:**
[13:52:19] [tailor-server] Validation failed - cannot start server [13:52:19] [tailor-server] • name: Required (received: undefined) [13:52:19] [tailor-server] → in resume-data/tailor/tech-corp/resume.yaml
→ **Action:** Fix the validation errors in the YAML files (add required fields, fix syntax)
**Missing company folder:**
[tailor-server] Error: Company folder not found: resume-data/tailor/company-name
→ **Action:** Ensure the company folder exists in `resume-data/tailor/`
See `TAILOR_SERVER_LOGS.md` for complete error reference and all test cases.
Iterative Development Loop
Once the server is running, the workflow is:
Step 1: User Requests Changes
User: "Make the resume summary more impactful" User: "Add a new achievement about performance optimization" User: "Update the cover letter opening paragraph"
Step 2: Claude Edits YAML Files
Claude edits files in `resume-data/tailor/company-name/`:
- `resume.yaml` - Professional experience, skills, summary
- `cover_letter.yaml` - Cover letter content
- `job_analysis.yaml` - Job requirements analysis
- `metadata.yaml` - Company/position details
Step 3: System Auto-Validates
File watcher triggers automatic pipeline after 300ms of inactivity:
Pipeline: File change(s) → Debounce delay → YAML parsing → Zod schema validation → TypeScript generation → Hot reload
**Key insight:** Multiple rapid edits are batched together automatically, so you don't need to wait between small changes - just make all related edits and the system will validate once.
Step 4: Smart Validation Checking
Use `BashOutput` strategically based on edit risk level:
**High-risk edits (ALWAYS check):**
- Structural changes (adding/removing sections, changing schema fields)
- First edit after entering tailor mode
- User explicitly asks "did that work?" or mentions seeing errors
- Batch of multiple significant changes
**Low-risk edits (Trust the system):**
- Text refinements (rewording, improving clarity)
- Typo fixes and grammar improvements
- Changing metrics or dates
- Single-field updates (e.g., updating one job description)
**How to check:** Use `BashOutput` to read the tailor-server logs. Look for:
- `✅ [filename] → Regenerated (X.Xs)` = Success, continue
- `❌ [filename] → Failed (X.Xs)` = Error occurred, must fix immediately
**Example failure output:**
❌ resume.yaml → Failed (0.1s) [10:24:34] [generate-data] Application data validation failed: [10:24:34] [generate-data] • resume.name: Required (received: undefined) [10:24:34] [gen
AI-powered resume optimization system that analyzes job postings, ranks requirements by importance, and generates tailored PDFs in under 60 seconds.
Repo: javiera-vasquez/claude-code-job-tailor
Other commands on claude-code-job-tailor.
- /generate-pdf
Generate PDF documents (resume, cover letter, or both) with automatic validation and theme selection | argument-hint: company-name [resume|cover-letter|both]
Open command - /tailor-template-expert
Experimental | Template development workspace for creating and modifying React-PDF templates
Open command

