generating-cover-letters
Skill8 starsChanged 12 months agoMITView on GitHub
Generates professional cover letters matching resume templates. Use when the user needs a cover letter, is applying for a job, or wants matching application materials with consistent styling.
- Installs packages
In this repository8 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- coaching-resume-contentSkill
- extracting-resumesSkill
- formatting-resumesSkill
- optimizing-resumesSkill
- reviewing-resumesSkill
- managing-resume-versionsSkill
- creating-resume-templatesSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
22 rules. About 0 are common, 15 are distinctive, and 7 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈15
Distinctive · estimate
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 110
Check contact info matches resume exactly
- Distinctive: line 111
Verify company-specific details are accurate
- Distinctive: line 113
Test text extraction (copy-paste from PDF)
- Distinctive: line 129
Use metrics and quantifiable impact
- Distinctive: line 137
Call to action (discuss further, interview request)
- Distinctive: line 141
Keep to one page (600-800 words max)
- Distinctive: line 142
Use active voice and strong action verbs
- Distinctive: line 145
Avoid generic phrases ("I am writing to apply...")
- Very specific: line 183
State: Use resume-state to manage resume versions
- Very specific: line 184
Extract: Use resume-extractor to convert resume to YAML
- Very specific: line 185
Optimize: Use resume-optimizer to tailor resume for target role
- Very specific: line 186
Format: Use resume-formatter to generate resume PDF
- Very specific: line 187
Cover Letter: Use resume-coverletter (this skill) to generate matching cover letter
- Distinctive: line 218
Use job description keywords naturally
- Distinctive: line 224
Ensure contact info is identical to resume
- Distinctive: line 225
Keep to single page
- Distinctive: line 226
Use consistent date formats
- Distinctive: line 227
Test PDF text extraction
- Very specific: line 238
Template not found: Check available templates with ls assets/templates/ or use one of: tech-modern-cover, executive-cover, generic-cover
- Distinctive: line 240
Contact info mismatch: Ensure resume YAML has complete contact section matching your actual resume
- Very specific: line 244
Typst compile errors: Check typst --version; escape special characters in YAML
- Distinctive: line 246
Generic vs. specific: Use generic template for reusable letters.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Resume Cover Letter Generator
Overview
Generate professional cover letters that match your resume's design language. Choose from templates that align with resume styles (executive, tech-modern, generic) or create custom letters for specific companies and roles.
Quick Start
# Generate cover letter from resume YAML + job description
uv run scripts/generate_cover_letter.py resume.yaml \
--template tech-modern-cover \
--company "Block" \
--position "Outsourcing Program Manager" \
--job-file job_description.txt \
--output cover_letter.typ
# Compile to PDF
uv run scripts/compile_cover_letter.py cover_letter.typ --output cover_letter.pdfAvailable Templates
tech-modern-cover
- Best for: Modern tech/creative roles
- Style: Deep lavender palette, Carlito font
- Matches: tech-modern resume template
- Features: Contemporary professional aesthetic
executive-cover
- Best for: Professional/executive roles
- Style: Navy/blue accents, Inter font
- Matches: executive resume template
- Features: Clean, traditional professional layout
generic-cover
- Best for: Reusable letters, industry-agnostic
- Style: Neutral, adaptable design
- Matches: Any resume template
- Features: Flexible content structure
Workflow
1. Generate Cover Letter
uv run scripts/generate_cover_letter.py <resume.yaml> \
--template <template_name> \
--company "Company Name" \
--position "Job Title" \
[--job-file job_description.txt] \
[--output cover_letter.typ]Parameters:
resume.yaml: Source resume data (uses contact info, experience, skills)--template: Cover letter template (tech-modern-cover, executive-cover, generic-cover)--company: Target company name (optional for generic)--position: Job title/position (optional for generic)--job-file: Job description text file for context (optional)--output: Output .typ file path (default: stdout)
Examples:
# Company-specific letter with job description
uv run scripts/generate_cover_letter.py resume.yaml \
--template executive-cover \
--company "Acme Corp" \
--position "Senior Manager" \
--job-file job_acme.txt \
--output cover_acme.typ
# Generic letter (no specific company)
uv run scripts/generate_cover_letter.py resume.yaml \
--template generic-cover \
--output cover_generic.typ
# Tech role with job URL (fetch job description first)
uv run .claude/skills/resume-optimizer/scripts/fetch_job_posting.py \
"https://jobs.company.com/123" --output job.txt
uv run scripts/generate_cover_letter.py resume.yaml \
--template tech-modern-cover \
--company "Tech Startup" \
--position "Engineering Manager" \
--job-file job.txt \
--output cover_tech.typ2. Compile to PDF
uv run scripts/compile_cover_letter.py <cover_letter.typ> [--output <output.pdf>]Example:
uv run scripts/compile_cover_letter.py cover_acme.typ --output cover_acme.pdf3. Review and Iterate
After compilation:
- Review PDF for layout, spacing, content flow
- Check contact info matches resume exactly
- Verify company-specific details are accurate
- Ensure single-page format
- Test text extraction (copy-paste from PDF)
To revise:
- Regenerate .typ with adjusted parameters
- Recompile to PDF
- Review again
Content Strategy
Opening Paragraph
- Express specific interest in the role/company
- Briefly state years of experience and core expertise
- Connect your background to the role's requirements
Body Paragraphs (2-3)
- Highlight 3-5 key achievements from resume
- Use metrics and quantifiable impact
- Map your experience to job requirements
- Show cross-functional collaboration
- Demonstrate industry knowledge
Closing Paragraph
- Reinforce enthusiasm for the opportunity
- Summarize unique value proposition
- Call to action (discuss further, interview request)
- Thank the reader
Best Practices
- Keep to one page (600-800 words max)
- Use active voice and strong action verbs
- Mirror language from job description
- Balance confidence with humility
- Avoid generic phrases ("I am writing to apply...")
- Customize for each company/role
Template Selection Guide
| Resume Template | Matching Cover Letter |
| executive | executive-cover |
| tech-modern | tech-modern-cover |
| modern-dense | executive-cover or tech-modern-cover |
| compact | executive-cover |
| minimal | executive-cover or generic-cover |
Auto-detection: Script will detect resume template from YAML metadata (if present) and suggest matching cover letter template.
Prerequisites
Typst Installation:
# macOS
brew install typst
# Linux
cargo install typst-cli
# Windows
winget install --id Typst.TypstVerify:
typst --versionIntegration with Other Skills
Complete application workflow:
- State: Use
resume-stateto manage resume versions - Extract: Use
resume-extractorto convert resume to YAML - Optimize: Use
resume-optimizerto tailor resume for target role - Format: Use
resume-formatterto generate resume PDF - Cover Letter: Use
resume-coverletter(this skill) to generate matching cover letter - Review: Review both documents together for consistency
Job application package:
# Optimize resume for role
uv run .claude/skills/resume-optimizer/scripts/fetch_job_posting.py \
"<job_url>" --output job.txt
# Generate resume PDF
uv run .claude/skills/resume-formatter/scripts/yaml_to_typst.py \
resume.yaml tech-modern --output resume.typ
uv run .claude/skills/resume-formatter/scripts/compile_typst.py \
resume.typ --output resume.pdf
# Generate matching cover letter
uv run scripts/generate_cover_letter.py resume.yaml \
--template tech-modern-cover \
--company "Target Company" \
--position "Target Role" \
--job-file job.txt \
--output cover_letter.typ
uv run scripts/compile_cover_letter.py \
cover_letter.typ --output cover_letter.pdfTips for Best Results
Content:
- Extract top 3-5 achievements from resume
- Quantify impact with metrics
- Use job description keywords naturally
- Show understanding of company/industry
- Be specific about why this role/company
Formatting:
- Match cover letter template to resume template
- Ensure contact info is identical to resume
- Keep to single page
- Use consistent date formats
- Test PDF text extraction
Customization:
- Research company before writing
- Reference specific company initiatives/values
- Tailor achievements to role requirements
- Adjust tone for industry (formal vs. creative)
- Proofread for company-specific details
Troubleshooting
Template not found: Check available templates with ls assets/templates/ or use one of: tech-modern-cover, executive-cover, generic-cover
Contact info mismatch: Ensure resume YAML has complete contact section matching your actual resume
Content overflow: Reduce achievements to 3-5 key points; aim for 600-800 words total
Typst compile errors: Check typst --version; escape special characters in YAML
Generic vs. specific: Use generic template for reusable letters; use company-specific for targeted applications
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

