Professional resume formatting and PDF generation tool. Use this skill when: (1) Creating a new resume tailored to a specific job description (2) Converting an existing resume to the standard HTML template (3) Generating a PDF from an HTML resume (4) Updating resume content while maintaining consistent formatting Produces professional, ATS-friendly resumes with consistent blue-themed styling.
Generate professional resumes with consistent styling and PDF output.
assets/resume_template.htmlscripts/generate_pdf.pyassets/resume_template.htmlpython scripts/generate_pdf.py resume.html -o resume.pdfThe HTML template uses these CSS classes:
| Element | Class | Purpose |
|---|---|---|
| Page wrapper | .container | Centers content, sets max-width |
| Name/contact | .header, .contact-info | Centered header section |
| Section titles | .section-header | Blue-accented section headers |
| Profile text | .profile | Summary paragraph |
| Job entry | .role-card | Blue left-border card for each role |
| Job title row | .job-header, .job-title, .company-name, .location-date | Flex layout |
| Achievements | .achievements li | Blue arrow bullets with <strong> headlines |
| Metrics box | .scale-snapshot | Highlighted metrics summary |
| Skills | .skills-grid, .skill-category, .skill-label, .skill-items | Inline label + items |
| Education | .education-entry, .degree, .university, .years | Stacked text |
<div class="role-card">
<div class="job-header">
<div class="job-title-company">
<h3 class="job-title">Head of Engineering</h3>
<span class="company-name">Company Name</span>
</div>
<div class="location-date">London, UK • May 2023–Present</div>
</div>
<ul class="achievements">
<li><strong>Achievement headline</strong>: Description with metrics and impact.</li>
</ul>
<div class="scale-snapshot">
Scale snapshot: £Xm revenue • Ym customers • Zm engineers
</div>
</div>
<div class="skill-category">
<span class="skill-label">Category Name:</span>
<span class="skill-items">Skill 1, Skill 2, Skill 3</span>
</div>
Prerequisite: pip install weasyprint
# Basic usage
python scripts/generate_pdf.py resume.html
# Custom output path
python scripts/generate_pdf.py resume.html -o output/my_resume.pdf
The script:
<strong>Bold headline</strong>: patternFor detailed content guidance, see references/content-guidelines.md.
assets/resume_template.htmlscripts/generate_pdf.pyreferences/content-guidelines.md