SecondPen.ai

Templates · Engineering & architecture

Google design doc template

Origin: Google engineering culture; the canonical pre-implementation review doc.

Start from this templateFree, no account needed. The blank is written with guidance in each section, ready to fill in.

Sections

  1. Context & scope
  2. Goals & non-goals
  3. Design (overview, APIs, data, diagrams)
  4. Alternatives considered
  5. Cross-cutting concerns (security, privacy, observability)

How a tough reader scores it

When you score a draft against this format, the Critic evaluates this design doc. The weights add up to 100; the fixes for the weakest criteria arrive as cards in the editor.

CriterionWeight
Context lets an outsider understand the problem10
Goals and non-goals are sharp10
Design is concrete enough to implement and review20
Trade-offs are explicit throughout20
Alternatives are real and fairly assessed15
Security, privacy, reliability, and observability addressed15
Rollout and migration plan is safe10

How it works in SecondPen.ai

Open the template and the editor writes the blank once, with a line of guidance under each heading that you delete as you fill it in. Write your abstract and the editor names the format it reads like. Ask for a document with a slash command and it offers to start from the matching format. When the draft is ready, the Critic scores it against the criteria above, the way this format's toughest reader would, and the three highest-leverage fixes become Editor cards.

More in Engineering & architecture