Skip to content
Back to skills

Design Doc

ASecurity

Generate a Google-style engineering design doc (problem, goals/non-goals, options considered, recommended approach, risks, rollout) from a feature brief or short description. Use when the user wants to draft a design doc, technical proposal, or one-pager for an engineering review.

  • 2 stars
  • 0 votes
  • 4 copies
  • 27 views
  • Added September 19, 2026
ai-agentsgoapi

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned December 3, 2026

npx -y skills add sananthanarayan/skilldrop --skill design-doc --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Design Doc?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Design Doc
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/sananthanarayan-design-doc/badge)](https://www.skillsdirectory.com/skills/sananthanarayan-design-doc)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: design-doc
description: Generate a Google-style engineering design doc (problem, goals/non-goals, options considered, recommended approach, risks, rollout) from a feature brief or short description. Use when the user wants to draft a design doc, technical proposal, or one-pager for an engineering review.
---

# design-doc

You help the user turn a feature brief into a structured design doc that an engineering team can review and approve.

## How to respond

**These rules come before the steps and outrank them:**

- **The request's length, shape and reader win.** One page means one page (about 450 words), and a word limit is counted before you hand over. Write for the person who will act on it: a reader who signs off or votes gets the recommendation, the cost, the wording to approve and a place to sign, in their own vocabulary, not engineering headings. The standard structure below is for a request that sets no shape, and a section with nothing to say is dropped, not left empty.
- **Answer what was asked, first.** Open with the answer, the decision or the recommendation, in plain words. If the request asks for a number the input does not hold, give a labelled estimate: the assumptions, a low-to-high range or a few scenarios, and how to measure the real value. A bare formula or "unknown" does not answer it.
- **Facts are theirs; the design is yours.** Don't invent facts about their world: names, owners, dates, measured figures, incidents, history, or reasons something was ruled out. Never mark as confirmed what the input only claims. Do bring the engineering a reviewer expects: failure and edge cases, reliability needs, and a phased plan where the stated deadline cannot be met in one step. State how a tool behaves by default only when you are sure; otherwise say to set it explicitly.
- **Check the input's own numbers and dates.** Redo the sums, compare each stated duration or size with the target it must meet, and check dates against each other and against today. Say plainly what does not agree, at the point in the doc where it matters.
- **Where people disagree, be fair, then decide.** Set out each position in terms its holder would accept, then give one recommendation.
- **Hand over a finished document.** No placeholders, empty fields, working notes or notes on what to cut. Unknowns appear once, as open questions with who can answer; they are not repeated as assumptions and again as items to confirm.
- **Write for someone who has never heard of this skill.** No skill names, no paths or scripts from this folder, no internal terms, and nothing about how the run was set up.

1. **Understand the brief.** Make sure you know:
   - **What we're building** (one sentence)
   - **Who's affected** (users, callers, teams)
   - **Why now** (the forcing function — outage, regulatory, competitor, scaling cliff)

   If one is missing and the request gives you enough to draft, draft, and name the gap in one line. Ask only when there is nothing to work on.

2. **Where the request sets no shape, use the standard structure** in [`templates/design-doc.md`](templates/design-doc.md):
   1. Title + status (Draft / In Review / Approved) + author + date
   2. **TL;DR** — three bullets, readable in 30 seconds
   3. **Context** — why is this being proposed
   4. **Goals / Non-goals** — explicit non-goals matter as much as goals
   5. **Proposal** — the actual design (this is the longest section)
   6. **Alternatives considered** — at least 2 alternatives with why-not
   7. **Risks & mitigations**
   8. **Rollout plan** — staged rollout, feature flag, rollback criteria
   9. **Open questions**

3. **Length discipline.** With no length requested, a good design doc is **2–5 pages** rendered. If you blow past that, you're either solving too many problems in one doc or writing reference material that belongs elsewhere.

4. **Show, don't tell.** Where the design is structural, embed a Mermaid diagram. Where it's about flows, embed a sequence diagram. Where it's about API shape, embed a small example request/response.

5. **End with explicit asks.** The "Open questions" section is where the doc earns its keep — list the *real* unresolved questions, with the names of people who should answer them.

## Quality bar

- **Non-goals are real, not throat-clearing.** If your non-goals list reads "we're not solving world hunger", delete it. Good non-goals are things a reasonable reader might assume you *are* doing ("not migrating existing customers in v1").
- **Alternatives have a why-not, not just a description.** Two sentences each: what is it, why didn't we pick it.
- **Risks have mitigations.** A bare list of "things that could go wrong" is anxiety, not engineering.
- **Rollout criteria are concrete.** "We'll monitor closely" is not a criterion. "Roll forward to 100% if p99 < 80ms for 48h after 10% rollout" is.

## Anti-patterns to avoid

- ❌ Starting with implementation detail before establishing the problem.
- ❌ "Future work" sections that double the doc length with hypotheticals.
- ❌ Using passive voice to avoid naming who owns what ("it will be deployed" — by whom?).
- ❌ Skipping the alternatives section because "we already know what to do" — this is *exactly* when a design review catches blind spots.
- ❌ More than ~5 pages. Cut, link out, or split into multiple docs.

Files in this skill

  • SKILL.md3.1 KB
  • evals/eval_queries.json833 B
  • evals/evals.json770 B
  • manifest.json714 B
  • templates/design-doc.md2.7 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.