Curated, locale-aware sample resumes for YAMLResume.
pnpm add @yamlresume/samples
import { getSampleResume } from '@yamlresume/samples'
const yaml = getSampleResume('software-engineer', 'en')
import { listSampleResumes } from '@yamlresume/samples'
const samples = listSampleResumes()
// full sample entries including metadata and localized YAML contents
import {
listSampleResumesByCategory,
listSampleResumesByLanguage,
listSampleResumesByTag,
listSampleResumeCategories,
listSampleResumeTags,
} from '@yamlresume/samples'
const engineering = listSampleResumesByCategory('Engineering')
const english = listSampleResumesByLanguage('en')
const python = listSampleResumesByTag('python')
const categories = listSampleResumeCategories()
const tags = listSampleResumeTags()
The yamlresume CLI can create a new resume from any sample:
yamlresume new resume.yml --sample software-engineer
yamlresume new resume.yml --sample software-engineer --language zh-hans
POSITIONS in src/types.ts.pnpm build:catalog to generate meta.yml, all meta.<locale>.yml
files, and all resume files for the supported locale languages, then
regenerate src/catalog.json.Build generation uses @yamlresume/ai and requires an OPENAI_API_KEY
environment variable. You can override the default model with
YAMLRESUME_AI_MODEL, or use another provider via MOONSHOT_API_KEY,
DEEPSEEK_API_KEY, or OLLAMA_HOST.
OPENAI_API_KEY=sk-... pnpm build:catalog
If you only want to rebuild src/catalog.json from existing files without
generating anything, use the --catalog-only flag:
pnpm build:catalog --catalog-only
If you only want to generate metadata files (meta.yml and meta.<locale>.yml)
without generating resumes or building src/catalog.json, use the --meta-only
flag:
OPENAI_API_KEY=sk-... pnpm build:catalog --meta-only
To force regeneration of all metadata and resumes, use the --force flag:
OPENAI_API_KEY=sk-... pnpm build:catalog --force
All meta.yml and meta.<locale>.yml files are validated with Zod schemas,
and all resume YAMLs are validated against the @yamlresume/core schema at
build time.