JD Resume Tailor
by @26048608982lp-ai
Generate job-specific tailored resumes from a base profile and job description. First collects structured user info (personal details, work history, side pro...
clawhub install jd-resume-tailor๐ About This Skill
name: resume-tailor description: Generate job-specific tailored resumes from a base profile and job description. First collects structured user info (personal details, work history, side projects, education, skills, certificates), then reads a target JD to produce a polished HTML resume customized to match. Outputs print-optimized HTML that exports cleanly to PDF via browser print. Use when user wants to create/rewrite/tailor a resume for a specific job posting, optimize a resume for ATS, build a resume from scratch, or says "make me a resume" / "tailor my resume" / "customize resume for this job". Supports Chinese and English resumes. security: Uses --headless browser (msedge/chrome) for PDF export only. No network requests, no credential access, no file system operations outside workspace/resumes/.
Resume Tailor
Generate a polished, job-specific HTML resume. Two-phase workflow: collect profile โ match JD.
Phase 1: Profile Collection
On first run (no base profile exists), collect user info in this structured order. Ask one section at a time, confirm before moving to next. Save completed profile to resume-profile.md in workspace.
Before collecting, confirm preferences:
1. Accent color โ Ask user to pick a theme color (default: #6b4c9a purple). Accept hex, color name, or "default". This applies to all generated resumes unless overridden per-JD.
2. Language โ Chinese (ไธญๆ) or English resume? Default based on user's communication language.
3. Target region/culture โ e.g., mainland China (include birth date, photo slot), overseas (exclude).
1.1 Personal Information (ไธชไบบไฟกๆฏ)
1.2 Education (ๆ่ฒ่ๆฏ)
1.3 Work Experience (ๅทฅไฝ็ปๅ)
For each role, collect:1.4 Side Projects / Personal Projects (ไธชไบบ้กน็ฎ)
For each project:1.5 Skills (ๆ่ฝ)
Group into categories:1.6 Certificates & Awards (่ฏไนฆ & ่ฃ่ช)
1.7 Save Profile
After collecting all sections, save as resume-profile.md:
# Resume Profile: [Name]
> Last updated: YYYY-MM-DDPersonal
[structured data]Education
[structured data]Work Experience
[per-role structured data with bullets]Projects
[per-project structured data]Skills
[categorized list]Certificates
[list]
On subsequent runs, read resume-profile.md first. Ask only: "Profile loaded. Anything to update?" If changes needed, edit specific sections.
Phase 2: JD Match & Resume Generation
2.1 Collect Job Description
Always ask the user to provide the JD. Accept via:
After reading the JD, confirm with user:
๐ JD็กฎ่ฎค๏ผ
ๅฒไฝ๏ผ[Job Title]
ๅ
ฌๅธ๏ผ[Company]
ๆ ธๅฟ่ฆๆฑ๏ผ[3-5 key requirements]
ๅ ๅ้กน๏ผ[preferred qualifications] ไปฅไธๆๅๆญฃ็กฎๅ๏ผๆ่กฅๅ
ๆไฟฎๆญฃๅ๏ผ
Only proceed after user confirms the JD parsing is correct.
2.2 Match Analysis (show to user before generating)
๐ฏ Target: [Job Title] at [Company]
๐ Match: [High/Medium/Low]โ
Strong matches:
[match 1: profile strength โ JD requirement]
[match 2]
[match 3] โ ๏ธ Gaps (be honest):
[gap 1: JD wants X, profile has limited Y]
[gap 2] ๐ Tailoring strategy:
Emphasize: [what to highlight and expand]
Reframe: [how to position existing experience]
Downplay: [what to shorten or combine] ๐จ Accent color: [using default / user's choice / suggest per JD tone]
Wait for user confirmation or adjustments before generating.
2.3 Generate HTML Resume
Produce a single self-contained HTML file with all CSS inline. Reference references/html-template-guide.md for detailed template specs.
Content rules:
Style defaults (overridable per user preference):
#6b4c9a (purple) โ ask user on first run, store in profile"Microsoft YaHei", "PingFang SC", sans-serif (Chinese) or "Inter", sans-serif (English)@media print { print-color-adjust: exact; }@page { margin: 0; }2.4 Auto Export PDF
After saving the HTML file, automatically export to PDF using headless browser.
Edge (preferred, Windows built-in):
& "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --headless --print-to-pdf="$outputPath" --no-margins --disable-gpu "$htmlPath"
Chrome fallback:
& "C:\Program Files\Google\Chrome\Application\chrome.exe" --headless --print-to-pdf="$outputPath" --no-margins --disable-gpu "$htmlPath"
Rules:
[Name]-[JobTitle].pdf in same resumes/ directory--no-margins since the HTML template handles its own padding2.5 Deliver Result
Save both files to resumes/:
[Name]-[JobTitle].html[Name]-[JobTitle].pdfTell user:
> โ
Resume generated! PDF saved to resumes/[Name]-[JobTitle].pdf
>
> Verify before sending:
> - [ ] Contact info correct
> - [ ] Dates accurate
> - [ ] No typos in company/project names
> - [ ] Achievements not overstated
> - [ ] PDF formatting looks correct (open and scroll through)
File Structure
workspace/
โโโ resume-profile.md # Base profile (created on first run)
โโโ resumes/
โ โโโ [Name]-[JobTitle].html
โ โโโ [Name]-[JobTitle].pdf
โ โโโ ...
โโโ skills/
โโโ resume-tailor/
โโโ SKILL.md
โโโ references/
โโโ html-template-guide.md
See references/html-template-guide.md for the complete HTML template structure with all sections, CSS classes, and print optimization details.