personal website

Commit 646f180e

646f180e6b00Merged

Justin Dorfman <[email protected]> · 8 months ago · 6 files · +4 added · ~2 modified

Description

feat: add resume PDF automation workflow (#60)

  • feat: add resume page and update navigation
  • Add resume.html with full resume content
  • Update hero button to link to local resume page instead of LinkedIn
  • feat: add PDF download button and last updated section
  • Add styled download button with PDF icon in resume header
  • Include resume.pdf for direct download
  • Add "Last updated: January 2025" footer
  • Remove Education section
  • Hide download button in print view
  • feat: add resume PDF automation workflow

Document the resume maintenance flow, add a reusable PDF generation script, and refresh the checked-in resume content and PDF so the site assets stay in sync.

Made-with: Cursor

  • feat: add Sourcegraph MCP/Windsurf video as new featured card, shift older videos down

New video "How to Setup Sourcegraph's MCP Server with Windsurf" becomes Horizontal Video Card 1. All existing featured videos shift down one position, and the two oldest small cards ("Using Claude Code with Sourcegraph's MCP server" and "Getting started with Amp's TypeScript SDK") are archived to the More section.

Made-with: Cursor

  • docs: add /git skill documentation to README

Documents the global /git Cursor AI skill, including usage, behavior, and file location. Also adds a Table of Contents for easier navigation.

Made-with: Cursor

Details

Commit
646f180e6b00
Parent
e7332e7e65d4

.cursor/skills/resume/SKILL.mdaddedView file

1+---
2+name: resume
3+description: Generate `resume.pdf` from `resume.html` and verify whether the checked-in PDF is stale. Use when the user types `/resume`, asks to regenerate the resume PDF, or wants to check whether `resume.pdf` matches the current HTML.
4+---
5+
6+# Resume PDF
7+
8+When the user types `/resume`, follow this workflow.
9+
10+## Goal
11+
12+Keep `resume.pdf` in sync with `resume.html` using the repository's script instead of manual browser printing.
13+
14+## Steps
15+
16+1. Check whether `resume.pdf` is stale:
17+ - Compare modification times for `resume.html` and `resume.pdf`.
18+ - If `resume.html` is newer, say the existing PDF is stale before regenerating.
19+
20+2. Generate the PDF with:
21+
22+```bash
23+./scripts/generate-resume-pdf.sh
24+```
25+
26+3. Verify success:
27+ - Run `ls -lh resume.pdf`
28+ - Report the file size and modified time
29+
30+4. If generation fails:
31+ - Check whether Chrome is installed at a standard macOS path or via `CHROME_BIN`
32+ - If a local server is already serving the repo on `127.0.0.1:8080`, the script reuses it
33+ - Otherwise, the script starts a temporary `npx live-server` instance automatically
34+
35+## Notes
36+
37+- Do not hand-edit `resume.pdf`.
38+- Prefer the script even if a browser tab is already open; it gives a repeatable result.
39+- The script waits for runtime-rendered content in `resume.html` before writing the PDF.