name: ats-resume-pipeline description: Use when the user wants to generate an ATS-optimized resume and cover letter from a job description. Runs a 6-step pipeline: ATS analysis, resume rewrite, cover letter generation, PDF compilation, JD archival, and visual eye test audit. Trigger on keywords like "job description", "resume", "cover letter", "ATS", "apply", "job application", "tailor resume", "optimize resume".
ATS Resume Pipeline
End-to-end pipeline that takes a Job Description (JD) and produces a tailored ATS-optimized resume + cover letter as compiled PDFs, plus an archived JD reference and a visual-optimized alternate version.
Pipeline Overview
JD + Base Resume + Project Portfolio
│
▼
Step 1: ATS Analysis ──► ATS_Report.md
│
▼
Step 2: Resume Rewrite ──► Resume.md + Resume.tex
│
▼
Step 3: Cover Letter ──► Cover_Letter.md + Cover_Letter.tex
│
▼
Step 4: PDF Compilation ──► Resume.pdf + Cover_Letter.pdf
│
▼
Step 5: JD Archival ──► Job_Description.pdf (interview reference)
│
▼
Step 6: Visual Eye Test ──► Layout Audit + Resume_v2.pdf (if needed)
Prerequisites
- Base Files Directory:
C:\Users\sagar\Documents\Claude Code JobSearch\Base Files\Markdownfiles\resume.md(English version)resume_de.md(German version)project_info.md(project portfolio)
- LaTeX Installation: MikTeX with
pdflatexavailable on PATH - Working Directory:
C:\Users\sagar\Documents\ATS-Based-Resume-Builder-DE-DA-AE\
Input Required
The user must provide:
- Job Description — paste the full JD text
- (Optional) Language override — if the user wants the output in a specific language different from the JD language
Execution — Run All 6 Steps Sequentially
STEP 1: ATS Analysis & Gap Detection
Read and execute the full instructions in 01_ats_analysis.md.
What this step does:
- Detects JD language (English or German)
- Loads the matching base resume and project portfolio
- Scores the current resume against a German-market ATS matrix (0–100)
- Identifies gaps: missing keywords, irrelevant projects, missing skills
- Generates a project swap directive (3–4 projects max)
- Outputs
ATS_Report.mdinto a new folder:[Company Name] — [Job Role]/
Key rules:
- Extract requirements ONLY from candidate-facing sections (ignore culture/perks)
- Score using the 5-category ATS matrix (Keywords 25, Experience 25, Technical 20, Formatting 15, Soft Skills 15)
- Output the Improvement Blueprint in strict order: Language → Density Audit → Project Swap → Keywords → Skills Tuning → Quantified Outcomes
Output: ATS_Report.md in [Company Name] — [Job Role]/ folder
STEP 2: Resume Rewrite & LaTeX Mapping
Read and execute the full instructions in 02_resume_rewrite.md.
What this step does:
- Takes the ATS_Report.md from Step 1
- Rewrites the resume following all optimization directives
- Outputs both Markdown and LaTeX (.tex) versions
Key rules:
- Execute ALL Step 1 directives: remove flagged projects, add missing skills, inject keywords
- Match the JD language exactly (German JD → German resume, English JD → English resume)
- NO section numbering (plain uppercase headers only)
- Target 1.5-page breathable layout
- Summary: max 4 lines, honest project-based framing
- Technical Skills: bold category labels, standard text for skills
- Professional Experience: company left-aligned, date right-aligned, job title on NEW line in small italic
- LaTeX: use
\jobEntry{...}{...} \\[2pt] \jobTitle{...}pattern - Projects: 3–4 total, use
\resumeItem{...}bullets with\projectTools{...}
Output: Resume.md + Resume.tex in the same company folder
STEP 3: Cover Letter Generation
Read and execute the full instructions in 03_cover_letter.md.
What this step does:
- Generates a formal cover letter grounded in project metrics
- Follows German business letter layout (Geschäftsbrief) adapted to target language
Key rules:
- Match JD language exactly
- Sender block → Recipient block → Date (right-aligned) → Subject (bold) → Opening → Body (max 4 paragraphs, 280–320 words) → Closing
- No corporate flattery or emotional clichés
- Ground every claim in specific project metrics from portfolio
- Mention: B1 German studies (A2 completed), local LLM/RAG/LangGraph work, GitHub portfolio
- LaTeX: 12pt, 1in margins, lmodern, fully justified
Output: Cover_Letter.md + Cover_Letter.tex in the same company folder
STEP 4: PDF Compilation
Read and execute the full instructions in 04_pdf_compilation.md.
What this step does:
- Escapes special LaTeX characters in both .tex files
- Compiles both documents to PDF using two-pass pdflatex
- Cleans up auxiliary files
Pre-compilation audit (auto-fix these):
&→\&%→\%_→\_$→\$or$\sim$for approximate numbers
Compilation commands:
cd "C:\Users\sagar\Documents\ATS-Based-Resume-Builder-DE-DA-AE\[Company Name] — [Job Role]\"
# Resume (2 passes)
pdflatex -interaction=nonstopmode -halt-on-error "SAGAR_MARTHANDAN_Resume.tex"
pdflatex -interaction=nonstopmode -halt-on-error "SAGAR_MARTHANDAN_Resume.tex"
# Cover Letter (2 passes)
pdflatex -interaction=nonstopmode -halt-on-error "SAGAR_MARTHANDAN_Cover_Letter.tex"
pdflatex -interaction=nonstopmode -halt-on-error "SAGAR_MARTHANDAN_Cover_Letter.tex"
Post-compilation: Delete .aux, .log, .out files from the company folder.
Output: SAGAR_MARTHANDAN_Resume.pdf + SAGAR_MARTHANDAN_Cover_Letter.pdf
STEP 5: Job Description Archival
Read and execute the full instructions in 05_job_description_archival.md.
What this step does:
- Cleans and formats the raw JD into a structured markdown document
- Generates a standalone LaTeX file for PDF compilation
- Creates a permanent reference asset for interview preparation
Key rules:
- Strip web tracking metadata, cookies, application buttons, deadlines, duplicate fields
- Structure with clean headers: Company — Position, Core Role Overview, Requirements, Responsibilities, Tech Stack
- LaTeX: 11pt, 0.8in margins, lmodern sans-serif, clean corporate layout
- Escape all special characters (
&→\&,%→\%,_→\_)
Compilation commands:
cd "C:\Users\sagar\Documents\Claude Code JobSearch\[Company Name] — [Job Role]\"
# Job Description (2 passes)
pdflatex -interaction=nonstopmode -halt-on-error "Job_Description.tex"
pdflatex -interaction=nonstopmode -halt-on-error "Job_Description.tex"
Output: Job_Description.md + Job_Description.tex + Job_Description.pdf in the same company folder
STEP 6: Visual Layout & Eye Test Audit
Read and execute the full instructions in 06_visual_layout_and_eye_test.md.
What this step does:
- Audits the resume for visual ergonomics and 6-second recruiter eye test
- Checks page-boundary splits, cognitive load, density, bullet wrapping
- Generates a Layout Audit Report with pass/fail diagnostics
- If issues found, creates an optimized
_v2version with adjusted layout
Key rules:
- Verify no section splits awkwardly across page boundaries
- Summary: max 4 lines, no redundant tool lists (already in skills block)
- Technical Skills: if a category row wraps past 2 lines, prune it
- Bullets: if any wraps to 3rd line, refactor for conciseness
- Projects: strict 2 bullets baseline, max 3 only for major quantified metrics
- If layout changes needed, output
SAGAR_MARTHANDAN_Resume_v2.texand compile
Compilation commands (if v2 generated):
cd "C:\Users\sagar\Documents\Claude Code JobSearch\[Company Name] — [Job Role]\"
# Resume v2 (2 passes)
pdflatex -interaction=nonstopmode -halt-on-error "SAGAR_MARTHANDAN_Resume_v2.tex"
pdflatex -interaction=nonstopmode -halt-on-error "SAGAR_MARTHANDAN_Resume_v2.tex"
Output: Layout_Audit_report.md + optionally SAGAR_MARTHANDAN_Resume_v2.pdf
Error Handling
If pdflatex fails at any pass:
- Check the
.logfile for the specific error - Common fixes:
- Missing package: run
mpm --admin --install=[package]via MikTeX Console - Unmatched environments: verify
\begin{itemize}/\end{itemize}pairs - Overfull hbox: shorten text lines that exceed margin bounds
- Missing package: run
- Fix the
.texsource and re-run the two-pass compilation
Completion Checklist
After all 6 steps complete, verify:
-
ATS_Report.mdexists in company folder -
Resume.mdandResume.texexist -
Cover_Letter.mdandCover_Letter.texexist -
SAGAR_MARTHANDAN_Resume.pdfcompiled successfully -
SAGAR_MARTHANDAN_Cover_Letter.pdfcompiled successfully -
Job_Description.mdandJob_Description.texexist -
Job_Description.pdfcompiled successfully -
Layout_Audit_report.mdgenerated -
SAGAR_MARTHANDAN_Resume_v2.pdfcompiled (if layout issues found) - All auxiliary files cleaned up
- Resume has 3–4 projects with quantified outcomes
- Cover letter fits one A4 page
- Both documents match the JD language
- Resume passes 6-second eye test