Colophon
How Stack & Skill is made, and the idea behind it: building software takes craftsmanship at every stage, from the first question to the last line. Then the stack, and the rules we hold ourselves to.
Exploded view
What a page is made of
Before a craftsman builds a piece, they draw it taken apart: every part in order, numbered, with a list beside it. This is that drawing for Stack & Skill: the five layers a request can pass through.
Watch the dot. Most requests stop at the edge cache and come straight back; only a few go all the way down to the database.
- Reader
- Edge cache
- Next.js
- Server logic
- PostgreSQL
Craftsmanship, not just code
“Code is only the part of software you can see. Craftsmanship is in every stage around it: the question you ask before you start, the tool you choose and why, the name you give a thing, the test that proves it, and how it behaves when it fails at three in the morning.”

That is the idea behind Stack & Skill. We want craftsman developers: people who bring craftsmanship to every step of building software, not only to the moment they type. They meet a language, a framework, or a tool with the curiosity of someone who asks why, and the discipline of an engineer who solves the problem in front of them.
Good engineering is part philosophy and part problem solving. It asks what the problem really is, what each option costs, and what we don't know yet. Then it builds something, measures it, and is honest about the result.
You can see it in how articles here are written: the reasoning comes with the code, the versions it was tested with are stated, decisions list the options they turned down, and incidents are told without blame. And you can see it below, in how this site is made.
What it asks of an engineer
Start with the question
Before a tool or a line of code: what is the problem, who has it, and what would solved look like?
Every stage takes craftsmanship
A clear name, a careful migration, an honest error message, a test that would catch the bug: none of it is “just code”.
Choose tools with craftsmanship
For the material and the cut, not for fashion: know what a language, a framework, or a database is good at, and what it costs.
Understand why it works
A copied answer fixes today's problem. Knowing why it works fixes the next one too.
Name the trade-off
Every choice gives something up: speed for simplicity, flexibility for clarity. Say what you gave up, then decide.
Show your work
Write down the reasoning, the options you turned down, and what went wrong, so others can check it and build on it.
From the workshop to the codebase
Woodworkers, smiths, and masons worked out the habits of good work long before software existed. Most of them translate line for line.
- In the workshop: “Measure twice, cut once.”
- In the codebase: Reproduce the bug and read the logs before you change a line.
- In the workshop: “Work with the grain.”
- In the codebase: Use a language or a framework the way it was designed, not against it.
- In the workshop: “A bad workman blames his tools.”
- In the codebase: Suspect your own code before the compiler, the framework, or the database.
- In the workshop: “A chain is only as strong as its weakest link.”
- In the codebase: A system is only as reliable as its least-tested path.
- In the workshop: “Haste makes waste.”
- In the codebase: The shortcut you take today is the incident you debug next month.
- In the workshop: “Leave the workbench cleaner than you found it.”
- In the codebase: Leave the codebase better than you found it: one clear name, one test, one note at a time.
The stack
- framework
- Next.js 16 (App Router), React 19, TypeScript# pages render on the server; most need no JavaScript to read
- hosting
- Vercel, functions in Frankfurt (fra1)# next to the database, close to European readers
- database
- PostgreSQL on Neon (Frankfurt), Prisma 7# one source of truth, schema changes as migrations
- accounts
- Better Auth: email and password, GitHub, Google# sessions in our own database
- security
- Cloudflare Turnstile, Upstash Redis rate limits, two-factor sign-in# bots stopped at the forms; every editorial action checked on the server
- articles
- Markdown → unified (remark, rehype), sanitized# no MDX: an article can never run code
- code
- Shiki through rehype-pretty-code, on the server# highlighted HTML, no highlighter shipped to you
- math
- KaTeX, on the server# formulas arrive as HTML and MathML
- styles
- Tailwind CSS 4, light and dark themes# one set of design tokens, AA contrast in both
- fonts
- Newsreader, IBM Plex Sans, JetBrains Mono# self-hosted by next/font: no font requests to Google
- images
- Vercel Blob, re-encoded to WebP by sharp# at most 2000px wide, and a photo's location is stripped
- Resend, with a daily budget# newsletter and account email; sign-in links always get through
- tests
- Vitest: unit tests and a real PostgreSQL suite# lint, types, and tests pass before anything ships
- monitoring
- A smoke test every three hours, alerts by email# we hear about a problem before readers do
- backups
- A nightly encrypted copy of the database# kept two weeks, away from where it runs
The rules
Reading needs nothing
Articles are HTML from the server. Highlighting, math, sidenotes, and the incident timeline are done before the page reaches you, and the sidenotes open with a checkbox, not a script. JavaScript adds likes, bookmarks, and search; the text never waits for it.
Static first, fresh enough
Pages are cached at the edge and rebuilt when something is published, or at most an hour later. A reader's request rarely touches the database.
Nothing executable in an article
Every article goes through GitHub's sanitization rules: scripts, event handlers, iframes, inline styles, and
javascript:links are removed. A strict Content-Security-Policy allows scripts only from this site and two services we trust: Vercel's analytics and Cloudflare's bot check.Keyboard and screen readers
Press ? for shortcuts (j/k move through lists, / searches). Every control has a visible focus ring and a name, and motion stops when your system asks it to.
Measured, in public
The footer shows what the page you're on cost to load, measured by your own browser: bytes, requests, and seconds. If a change makes it heavier, you'll see it there before we do.
The audit
Google PageSpeed Insights on the home page, on a phone and on a computer, 1 November 2026.
| Category | Mobile | Desktop |
|---|---|---|
| Performance | 100 | 100 |
| Accessibility | 100 | 100 |
| Best practices | 100 | 100 |
| SEO | 100 | 100 |
| Agentic navigation | 3/3 | 3/3 |
desktop run: measured, and its share of the score
- FCPFirst Contentful Paint0.3 s+10/10
- LCPLargest Contentful Paint0.7 s+25/25
- TBTTotal Blocking Time20 ms+30/30
- CLSCumulative Layout Shift0+25/25
- SISpeed Index0.5 s+10/10
How it's protected
- Bots
- Cloudflare Turnstile checks sign-up, sign-in, password reset, the newsletter, pitches, and the contact form, invisibly for people.
- Floods
- Rate limits are shared by every server through Upstash Redis, the sensitive ones backed by PostgreSQL, on top of Vercel's DDoS protection.
- Editors' accounts
- Two-factor authentication is required for editors and admins, every admin action is checked on the server, and each one is kept in an audit log.
- The database
- Every query is parameterized through Prisma: no SQL is ever built from what a visitor typed.
- Uploads
- An image must be the type it claims, byte for byte; it's re-encoded and stripped of its metadata, and each member has a quota.
- A daily budget keeps room for confirm-address and password-reset emails, whatever else is sent.
- Data
- An encrypted backup every night, kept two weeks away from the database; a live article is never deleted in one step.
- Watching
- The site is tested every three hours; an outage, a run of errors, or a store filling up emails the people who run it.