Content model
Content is plain data in src/content/. Pages read it, so editing a value updates every place it appears. I only put content I wrote here. The blog is the one content source outside src/content/: posts live in Sanity and are published from its Studio. See Blog.
Roles
src/content/experience.ts exports experienceTimeline, newest first. Each item has this shape:
export type ExperienceTimelineItem = {
title: string;
slug: string;
label: string; // location label, e.g. "New York, NY"
company: string;
companyShort: string; // short form for page titles, which are capped near 60 characters
period: { start: string; end: string | "Present" };
website?: string;
description: string;
highlights: string[];
/** Optional long-form content (case studies, projects). Rendered on the role page only when present. */
sections?: { title: string; body: string }[];
/** Optional owner-written case study. Each field renders only when it has text. */
caseStudy?: ExperienceCaseStudy;
/** Optional owner-approved memories, in any order. Every entry must fall inside `period`. */
memories?: ExperienceMemory[];
};ExperienceMemory is defined in src/content/memories.ts. The role page sorts memories chronologically and shows a Memories section only when the role has some.
ExperienceCaseStudy is defined in src/content/experience.ts:
export type ExperienceCaseStudy = {
context?: string;
constraints?: string;
decision?: string;
result?: string;
diagram?: MemoryMedia; // `alt` is required
};The role page shows the fields in that order, after Memories. A field that is missing, empty or only whitespace renders nothing, with no heading and no placeholder, so a role without a caseStudy renders as it did before. diagram follows MemoryMedia from src/content/memories.ts. Only text I wrote goes in these fields.
To add or change a role, edit that array. These places update automatically:
- the landing page timeline,
- the
/experience/[slug]page for the role, with its previous and next navigation, - the
/resumepage, - the sitemap,
/llms.txtand the role’s Markdown alternate.
Skills
src/content/skills.ts exports skills. Each skill has a name, a key (its URL slug at /skills/[key]), a group, an optional icon (a skill without one shows a two-character fallback, see SkillIcon), a stack, a type and a self-assessed proficiency. The proficiency is internal: it orders skills and is never shown on the site. A skill can roll several technologies into one entry: includes lists them (searchable, and matched in the role copy as mentions of the entry), and keywords adds search-only terms that never match role copy. Searching “Elastic” finds Observability, and the row says “Covers Elastic Stack”. The stack value is one of ai-ml, leadership, frontend, backend, devops or design, and stackLabels in the same file gives each its display name. The key order of stackLabels is the order of the groups on the skills index and the resume, so AI Engineering leads. The landing skills index, the /skills/[skill] pages and the skills lists on /resume all read from here. Links between skills live in src/content/skillRelations.ts; see Skill relationships.
Resume
src/content/resume.tsholds the resume-only data: the contact line and the education list, plusRESUME_FILE_NAME.- The PDF itself is
private/resume.pdf, outsidepublic/so it is never served directly. Replace that file to change what is attached to the emailed copy.
The /resume page shows the roles from experience.ts, so the PDF and the page can differ. Keep them in step when you change either.
/resume.json serves the same data in the JSON Resume format for tools that ingest it. buildJsonResume in src/lib/jsonResume/ maps siteConfig, resume.ts, experience.ts and skills.ts and nothing else, so a field with no source (a phone number, a photo) is absent from the export. The route is static, so the file is built with the site. Dates are read with parseMonthLabel from src/lib/dateTime/, the same parser the role periods use, and become YYYY-MM, a role that is still current has no endDate, and a date the builder cannot read is left out rather than guessed. location is emitted only when site.location is exactly “City, Region”. The unit test validates the output against the vendored schema in src/lib/jsonResume/schema.json.
Printing /resume uses the print block in src/app/resume/Resume.css.ts: light palette, no site chrome, two pages on Letter or A4. Mark any new chrome element with data-print="hide" so it stays off the paper.
About and links
src/content/about.tsprovides the About copy shared by the landing page and/about, plus optional extra sections.src/content/links.tslists the social links. The footer links are defined insrc/containers/Footer/Footer.tsx.
How I check my own claims
context.md at the repository root is the register of my career and biography facts. Each row has an ID, a source, a status, a confirmation date and a public-use rule, and nothing in src/content/ should change except from a row I have accepted.
scripts/claims-audit/audit.mjs compares what the built site renders with that register. It reads the JSON Resume, the Markdown pages (every line of a role page, including memories and sections), the About page’s rendered HTML body, page metadata, JSON-LD and the vCard from a running production build, traces each claim-bearing sentence to a register row, and reports:
- role dates and employers that differ across surfaces or from the register, and a bullet registered under one role but published under another,
- copy that matches a row I have not released, or matches none,
- figures that no accepted row contains, and figures changed in rewording,
- skill “In use” figures, which are derived from role text and not confirmed tenures,
- phone numbers, addresses, amounts and declined topics on public surfaces,
- profile URLs the register does not write, and a resume PDF whose hash changed.
pnpm build && pnpm start -p 3100 # one terminal
node scripts/claims-audit/audit.mjs --base http://localhost:3100 --questionsIt sends GET requests only and writes nothing. A finding is a question for me, never a correction. The portfolio-claims-audit skill (.claude/skills/portfolio-claims-audit/) runs the whole workflow and prepares a questionnaire for me. Blog posts are fact-checked by the blog skills; a post that makes a claim about the owner cites a context.md ID.
What I will not publish
If I have not written it, it does not go in. My product brief marks metrics, project names, client names, quotes and case-study details as things that must never be fabricated.
Machine-readable versions
/llms.txt lists every page with a one-line description, and each of the home page, About, every role and every skill has a Markdown alternate at <page>/md: /md, /about/md, /experience/[slug]/md and /skills/[key]/md. Each HTML page links its alternate with <link rel="alternate" type="text/markdown">, set through the markdownPath option of pageMetadata.
The code is src/lib/markdown/. pages.ts builds one entry per page from the content modules above, the same data the HTML pages read, so adding a role or a skill adds its Markdown page and its llms.txt line with no further edit. The .md alternates are not in the sitemap, and /resume has none. The blog is the exception to “no further edit”: its posts come from Sanity, so getMarkdownPages(posts) takes them as an argument and adds /blog/md and /blog/[slug]/md only when there are posts. See Blog.
The About alternate carries only the copy I have confirmed: the summary, body, letter, pull quote and interests. The preferences, food cards and Now strip in about.ts are unverified drafts and never reach it. If you add About copy, decide whether it is confirmed before you add it to aboutPage in pages.ts.