Skip to content

CV generator v2: reusable tailored variants and PDF automation - #2

Draft
yotamon wants to merge 20 commits into
mainfrom
cv-generator-v2
Draft

CV generator v2: reusable tailored variants and PDF automation#2
yotamon wants to merge 20 commits into
mainfrom
cv-generator-v2

Conversation

@yotamon

@yotamon yotamon commented Sep 3, 2026

Copy link
Copy Markdown
Collaborator

What this changes

Turns the CV PDF workflow into a reusable variant system instead of one-off document edits.

Architecture

  • keeps the existing canonical CV and shared React PDF layout as the source of truth
  • adds typed tailored CV configs in lib/cv/cv-variants.ts
  • prevents tailored variants from changing factual employment identity fields such as company, title, dates, duration, or location
  • supports per-variant headline, summary, experience emphasis, skill ordering/content, portfolio order, and deterministic filenames

Initial reusable variants

  • product-frontend
  • fullstack-healthcare
  • product-ai

All three preserve the full employment history and strengthen the Curalife telemedicine ownership story without invented metrics.

Generation workflow

  • cross-platform command wrapper: node scripts/cv.mjs
  • list, render <variant>, and render-all commands
  • deterministic output under gitignored generated/cv/
  • optional --output directory for experiments

Validation

  • variant integrity tests
  • factual identity preservation tests
  • existing canonical PDF export regression test
  • tailored PDF tests enforce searchable two-page output for all three variants
  • GitHub Actions renders and uploads PDFs as an artifact

Verification

The branch CI completed successfully, including dependency install, all CV tests, PDF rendering, and artifact upload.

This PR is intentionally draft so the public CV / main branch remains unchanged until reviewed.

@vercel

vercel Bot commented Sep 3, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
cart-shift-studio Error Error Sep 3, 2026 2:58pm UTC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant