Skip to main content

Configuration

Resume as Code uses a layered configuration system with sensible defaults.

Configuration Files

Project Configuration (.resume.yaml)

Located in your project root, this file contains project-specific settings:

# .resume.yaml
schema_version: "1.0.0"

# Profile information
profile:
name: "Your Name"
email: "you@example.com"
phone: "+1-555-123-4567"
location: "San Francisco, CA"
linkedin: "linkedin.com/in/yourprofile"
github: "github.com/yourusername"

# Output settings
output:
directory: "dist"
formats:
- pdf
- docx
template: "modern"

# Selection tuning
selection:
min_relevance_score: 0.3
max_work_units: 15
skill_weight: 0.4

User Configuration

Global settings at ~/.config/resume-as-code/config.yaml:

# User-level defaults
default_template: "executive"
default_output_dir: "~/resumes"

Configuration Options

Profile Section

FieldTypeDescription
namestringYour full name
emailstringContact email
phonestringPhone number (E.164 format preferred)
locationstringCity, State/Country
linkedinstringLinkedIn profile URL
githubstringGitHub profile URL
websitestringPersonal website URL

Output Section

FieldTypeDefaultDescription
directorystringdistOutput directory
formatslist[pdf, docx]Output formats
templatestringmodernTemplate name

Selection Section

FieldTypeDefaultDescription
min_relevance_scorefloat0.3Minimum BM25 score
max_work_unitsint15Maximum units to include
skill_weightfloat0.4Weight for skill matching

Environment Variables

Override any configuration with environment variables:

RESUME_OUTPUT_DIR=/custom/path resume build --jd job.txt
RESUME_TEMPLATE=executive resume build --jd job.txt

Template Selection

Available templates:

TemplateBest For
modernGeneral professional use
executiveSenior/C-level positions
ats-safeApplicant tracking systems
academicResearch/academic positions
# Use a specific template
resume build --jd job.txt --template executive

Validation

Check your configuration:

# Validate config file
resume config --validate

# Show current configuration
resume config