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.
- 1
A new starter arrives
onboarding-first-two-weeks.md
A day-by-day plan to a first shipped change, and a weekly mentor check-in script.
- 2
Before work starts, and before it is called finished
definition-of-ready-and-done.md
Two short lists, one for ready and one for done, with a section for exceptions.
- 3
Each change
pull-request-review-checklist.md
Intent, risk, tests, naming, security and rollout, in that order, then how to word comments.
- 4
Each release
release-runbook-template.md
Pre-checks, plan, apply, verify, rollback, communication and after-action.
- 5
After an incident
incident-writeup-template.md
Timeline, impact, causes, what helped and hurt, and follow-ups with an owner and a proof.
- 6
A decision that is hard to reverse
decision-record-template.md
Problem, context, decision, alternatives, consequences and how it will be checked.
- 7
A mentoring period
mentoring-plan-template.md
Goals, observable behaviours and feedback cadence, with a worked example.
Each template is a copy-and-edit file with fill-in fields written in capital letters in square brackets.
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