H1 Signature Handbook · Web engineering sample

A codebase your team keeps extending.
Not a rewrite they put off.

Below is a sanitized sample from a hypothetical mid-market web engagement with Cloudwrit (the same fictional document platform we use elsewhere). Names changed, numbers representative, structure real. This is what a web engineering handbook looks like when we deliver one.

NexcurAI Handbook · Vol. II WEB-2026-Q1

The Cloudwrit Web Engineering Handbook,
written so your next hire ships on day eleven.

A seventy-eight page account of how a document platform's web estate stays shippable as the team triples. Nineteen findings. Three critical. Twenty-seven decisions recorded. One opinion about the rendering boundary that we hold firmly.

Sanitized sample · Not a real engagement

Chapter 01 The web estate today, in one page.

Cloudwrit's public web surface is two applications and a content layer. The marketing site is 240 pages on Next.js 14, migrated from Create React App in mid-2024. The admin app is 320 routes, also Next.js 14, with a rendering boundary that was drawn sensibly at the time and has held up with exactly one exception. Combined test coverage sits at 68 percent, which is above your peer group median. Lighthouse is 88 / 96 / 100 / 91 on marketing, and 62 / 94 / 91 / 78 on admin, which is the specific number this handbook exists to change.

The thesis of this handbook is that your codebase is one sprint of attention away from very good, and three quarters away from excellent. There is no rewrite here. There is a cluster of bounded fixes, a rendering-boundary document your entire engineering team should read once, and a CI gate that will keep the work from regressing after we leave.

North star By Q4 2026, Cloudwrit's admin app should ship with a green Lighthouse score on every PR, a 200kb main-bundle budget enforced by CI, WCAG 2.2 AA compliance on every primary flow, and a rendering boundary documented well enough that a new engineer can place new code correctly without asking.

We wrote this for three readers. R. Ahmed, who will own the web platform day to day. J. Kim, who approves the quarterly engineering budget. And the senior you will hire in Q3, who needs to understand which decisions are load-bearing and which are reversible, without interviewing anyone.

Chapter 02 Three things to fix this quarter.

We ran an eight day engagement across your marketing repo, your admin repo, your CI configuration, and a representative slice of the CMS. Nineteen findings total. Three we believe require action inside this quarter. The remaining sixteen are sequenced in chapter six.

F-001

Admin main bundle is 512kb, blocking first interaction on 3G

The admin app main bundle is 512kb gzipped. Time to interactive on a throttled Moto G4 (the Chrome team baseline) is 4.1 seconds. Analysis shows 186kb of the main bundle is an icon library loaded wholesale, and 94kb is a chart library used on three routes. Code-splitting both would land main under 250kb with no feature change.

Critical
F-002

Eight admin pages fail WCAG 2.2 AA on keyboard and screen reader

Specifically: missing accessible names on icon-only buttons (four pages), focus traps absent from two modals, form fields without visible focus indicators (three forms), and one color-contrast failure in the sidebar. Axe and manual screen reader testing confirmed. Fix code is inline in Appendix B.

High
F-003

CMS preview route intermittently SSR-breaks on product pages

The marketing CMS preview renders correctly for blog posts and case studies. On product pages, roughly 1 in 8 previews shows a hydration mismatch warning and the metadata block falls back to client render. Root cause: a useEffect that reads navigator.userAgent on first render, inside a component that the marketing editor added in February. Fix is two lines.

High

The common thread across the three is not skill; it is the absence of an automated gate. Each of these would have been caught by a CI check that does not exist yet. Chapter 05 defines that gate. Chapter 06 sequences the fixes and the gate together, so the gate turns on the week after the fixes land.

Chapter 03 Findings, with evidence and fix code.

The full chapter reproduces all nineteen findings with the repro command, the measured metric before and after, the proposed fix (inline code, not a link), and an initials field for the engineer who closes it. The transcripts of Claude's reasoning for each finding are in Appendix D so your team can audit, disagree, or extend.

A fragment follows. The full chapter is omitted from the sample.

Chapter 04 How your rendering boundary actually works.

Two people at Cloudwrit can draw this accurately. By the end of this chapter, all of engineering can. That matters because three of your last six P2 incidents had the same shape: a component was moved across the boundary without the author realising, and the failure mode was subtle enough to ship. Your postmortems name the component, not the pattern. This chapter names the pattern.

  1. What renders on the server, what renders on the client, and why the split was made in October 2024.
  2. The four hydration rules and the specific APIs that break them (useEffect, useLayoutEffect, window reads, crypto.randomUUID).
  3. The three “sharp edge” components currently straddling the boundary and the reasoning for leaving each there.
  4. The four places in the codebase that do something non-obvious for performance reasons, with the before-and-after metric that justifies each.
  5. Where we believe the boundary should move in 12 months, and why not sooner.

Chapter 05 Performance budgets and the CI gate.

Every bundle bloats between audits, not because anyone is careless, but because nothing stops it. This chapter defines three budgets, the GitHub Action that enforces them, and the failure mode when a PR blows the budget. The budgets are: main bundle under 250kb gzipped on admin, Lighthouse performance above 85 on every route, and zero axe-core violations on every PR. Each budget has a one-week warning window before it starts blocking merges, so your team can respond rather than be surprised.

Chapter 06 The six month roadmap, sequenced.

Everything in the handbook resolves to this chapter. Nineteen findings plus three structural initiatives (the boundary doc, the CI gate, and the performance culture shift), ordered by when they should happen under your current staffing. Every line has an owner, an estimate, a definition of done, and a reviewer. If we have done our job, this chapter survives contact with your sprint planning without modification.

Opinion, clearly marked as such We would sequence F-003 (preview route) before F-001 (admin bundle) even though F-001 is the larger user-facing win. Reason: F-003 is a two-line fix with an obvious rollback, F-001 is a two-week program with coordination cost across three feature teams. Ship the cheap critical first so the bundle work is not the first thing the team ships under the new gate. You may disagree, and the chapter explains how to re-sequence if you do.

The remaining pages continue in this register: plain, sequenced, specific. There is an appendix with measured before-and-after numbers for every fix we recommend, a record of Claude's reasoning chain on each finding, and a decision log that starts today and keeps a running record of every web architecture choice you make for as long as this handbook is live.

End of sample The remaining fifty-three pages cover the full findings list, the boundary documentation, the performance culture chapter, and appendices. If this is the kind of artifact you want for your own web estate - not a report, but a thing your engineers actually reopen - we would like to write one for you.
H2 Other handbook shapes

The same artifact, four more ways.

Every engagement ends with a Signature Handbook. The structure is consistent. The content is wholly yours. Browse the other four samples to see how the shape bends across service lines.

Ready when you are

Commission a web handbook tailored to your codebase.

Start with a scoping sprint. We read the code, measure the metrics, and scope the engagement before either of us commits to the full shape.

Start a project