From 213aa63aa143037b4f08d5960f9cc10e1c765f53 Mon Sep 17 00:00:00 2001 From: ahuston-0 Date: Fri, 27 Mar 2026 16:13:07 -0400 Subject: [PATCH] rename main to resume --- .github/copilot-instructions.md | 4 +++- .github/prompts/resume-review.prompt.md | 6 +++--- flake.nix | 2 +- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index 2fa1365..08f2dbf 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -13,7 +13,8 @@ - `glyphtounicode` is included for text extractability/ATS friendliness via `\pdfgentounicode=1`. ## Build and Test -- Build PDF (preferred): `latexmk -pdf resume.tex` +- Preferred reproducible build: `nix build .#default` (outputs `result/resume.pdf`) +- Local TeX build: `latexmk -pdf resume.tex` - Alternative build: `pdflatex resume.tex` (run multiple times if references/layout need settling) - Clean artifacts: `latexmk -c` - Validate by checking successful compile and reviewing resulting `resume.pdf` for layout overflow/line wrapping regressions. @@ -23,6 +24,7 @@ - Keep section/list structure aligned with current pattern: `\resumeSubHeadingListStart` / `\resumeSubHeadingListEnd` and `\resumeItemListStart` / `\resumeItemListEnd`. - Keep content concise and achievement-oriented; avoid large prose blocks that break one-page layout assumptions. - Do not manually edit generated files (`*.aux`, `*.fdb_latexmk`, `*.fls`, etc.); `.gitignore` already treats these as build outputs. +- Prefer linking to existing guidance instead of duplicating it: see `.github/prompts/resume-review.prompt.md` for the structured review workflow. ## Integration Points - External links are rendered with `hyperref` (`hidelinks`) and should stay valid/HTTPS. diff --git a/.github/prompts/resume-review.prompt.md b/.github/prompts/resume-review.prompt.md index a3976b1..695dfc2 100644 --- a/.github/prompts/resume-review.prompt.md +++ b/.github/prompts/resume-review.prompt.md @@ -29,11 +29,11 @@ If the build produces errors, include them as a finding under **Formatting & Lay Clean up any stale preview files, then convert the first page of the built PDF to a PNG and view it: ``` -rm -f main-preview*.png -pdftoppm -r 150 -png main.pdf main-preview +rm -f resume-preview*.png +pdftoppm -r 150 -png resume.pdf resume-preview ``` -Then use #tool:view_image to view `main-preview-1.png`. +Then use #tool:view_image to view `resume-preview-1.png`. If this step fails for any reason (conversion error, tool unavailable, file not found), note it briefly — e.g., *"PDF preview unavailable — layout assessment based on LaTeX source only"* — and proceed. Do not retry or block on this step. diff --git a/flake.nix b/flake.nix index 10173e8..bd95bf2 100644 --- a/flake.nix +++ b/flake.nix @@ -47,7 +47,7 @@ buildPhase = '' runHook preBuild latexmk -pdf -interaction=nonstopmode -halt-on-error resume.tex - mv main.pdf ${resume_final_pdf} + mv resume.pdf ${resume_final_pdf} runHook postBuild '';