Skip to content

case study

Seven working templates for a lead engineer

My role: I wrote these in 2026 as my own working templates. They use no employer or client material, and the source is public.

Scope and constraints

Ownership
A solo set of templates, written from general engineering practice and my own opinions.
Scale
Seven Markdown templates, a README and one test file.
Constraints
Plain Markdown with fill-in fields, copied and edited by the reader, with no assumption about tools. A field that does not apply gets "not applicable" and a reason.
Judgment calls
A fixed review order, an owner and a proof for each follow-up, a rollback read before a release, and templates short enough to be used.

What was delivered and checked

  • 21 tests pass with the Node test runner (node --test).
  • The tests check the required headings in each template, one top-level heading per file with no jumps in heading level, that relative links point to files that exist, that each template has at least one fill-in field, that the README lists each file in the playbook folder exactly once, and that no file contains a word from a banned list.
  • The tests do not check whether the advice is right for a given team.

What it is

A small set of working templates for a lead engineer: onboarding a developer for two weeks, a pull request review checklist, a release runbook, an incident write-up, a mentoring plan, a definition of ready and done, and a decision record. They are plain Markdown files with fill-in fields. I wrote them from general practice and my own opinions, and they are not tied to one company, product or tool.

How a lead uses it

Copy the template you need into your own repository or wiki, fill in every field written in capital letters in square brackets, adapt the steps to the team, and revisit the templates after each release, incident or onboarding. Each template is used at a different moment.

Illustration of the playbook structure. Each row names the moment a template is used.

Decisions

  • A change is reviewed in a fixed order

    The review checklist starts with intent, then risk, tests, naming, security and rollout, and says to stop early if the intent is wrong, because there is no point polishing names in a change that should not exist. The cost is that stopping early leaves the later sections unread until the intent is settled.

  • A follow-up has one owner and a check that proves it is done

    The incident write-up asks for an owner, a due date and a check that proves it is done for each follow-up, and says that "improve monitoring" is not a follow-up. The release after-action points to the same table. The cost is that each item takes longer to write than a wish does.

  • A runbook has a rollback section before it is used

    The release runbook lists a read rollback path, with its backup or previous version in place, as a pre-check, and the owner decides to roll back without needing permission. The cost is that the rollback has to be written and read before the release starts.

  • A release is checked on the live system

    The verify section says to prove the release worked by looking at the live system, not at the deploy log, and that a release is not finished until the checks pass and the watch period is over. The cost is a longer wait before anyone calls it done.

  • An incident write-up is about the system and the process

    It asks what people knew at the time, describes a chain of causes instead of one root, and keeps blame out of it. The cost is that it can feel less satisfying than naming a cause.

  • Templates stay short

    The mentoring plan and the decision record are kept to a page, and the ready and done lists are kept short enough to be read. The cost is that a team has to add whatever detail it needs.

Scope and limits

  • Starting points, not a standard

    The templates reflect one person’s opinions and are meant to be copied, edited and argued with.

  • No tools are assumed

    They say nothing about tools, so the commands and links in each field are for the reader to supply.

  • No results are claimed

    Nothing here has been measured against outcomes. It is not a record of what any team does or achieved.

  • The tests check structure only

    They do not check whether the advice is right for a given team, spelling, grammar, tone, or links to external websites.

Source and tests

The templates and the tests are in the engineering-playbook repository, under the MIT licence. npm test runs the tests, on Node 20 or later with no install step.

Stack

  • Markdown
  • Node.js
  • Node test runner

More case studies

    Engineering notes: the decisions behind the work