Instruction file imported from Harp-Andres/mi-portafolio (
.github/instructions/cv-management.instructions.md). Copyright stays with the author.
CV / Hoja de Vida management skill
Role: portfolio-cv-manager (see .github/agents/portfolio-cv-manager.agent.md).
- Source of truth for CV content is
apps/web/src/utils/cv-data.ts(orpackages/core/src/data/cv-data.tsif shared). Never hardcode CV text elsewhere. - Generated PDFs live in
apps/web/public/cv/. Filenames must exactly match whatCVDownloads.tsx/download-cv.tsreference — verify withgrepbefore renaming. - Any CV asset path must be built from
import.meta.env.BASE_URL, never a hardcoded root-absolute path (this repo deploys under a non-root base path on GitHub Pages). - CV generation scripts live in
scripts/hv/. Run viapnpm generate:cv(seeapps/web/package.json). - After regenerating a CV, verify the download E2E tests still pass (
apps/web/tests/e2e/02-cv-download.spec.ts) using the real Playwrightdownloadevent, not just a filesystem check.