Skip to content
Back to skills

Write The Spec

ASecurity

Before any code, write a one-page spec — the problem, what done looks like as checks anyone can run, what is out of scope, and the open questions — and get it approved.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 22, 2026
ai-agentsperformance

Security analysis

A100/100

Scanned October 22, 2026

npx -y skills add gaurav8936/oneroof --skill write-the-spec --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Write The Spec?

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

Security grade badge for Write The Spec
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/gaurav8936-write-the-spec/badge)](https://www.skillsdirectory.com/skills/gaurav8936-write-the-spec)

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: write-the-spec
description: Before any code, write a one-page spec — the problem, what done looks like as checks anyone can run, what is out of scope, and the open questions — and get it approved.
runtime: [shared]
triggers: [write the spec, spec this, define done, what does done look like]
---

# write-the-spec — agree on done before anyone builds

Agents build whatever they are asked for, fast. A spec makes sure it is the right thing. Keep it to one page.

## Steps

1. **Restate the problem** in two or three sentences, in the user's terms, not the code's. Who has it, and what
   happens today?
2. **Write the done-when checks.** Each is something anyone can run or see: a command that must exit 0, a test that
   must pass, a page that must show a specific thing. Three to seven checks. No "works well" or "is clean".
3. **List what is out of scope.** The nearby things you will *not* do. This stops the work from growing quietly.
4. **Name the constraints**: files or modules that must not change, performance or cost limits, compatibility.
5. **List open questions**, each with your recommended answer, so a reviewer can approve with one word.
6. **Save it** next to the work (e.g. `docs/specs/YYYYMMDD_<topic>.md`) and ask for approval. Do not start building
   until the checks are agreed.

## Template

```markdown
# Spec: <title>
**Problem:** …
**Done when:**
- [ ] `npm test -- cart` passes, including the new test for empty carts
- [ ] …
**Out of scope:** …
**Constraints:** …
**Open questions:** 1. … (recommend: …)
```

## Never

- Never write implementation steps here; that is the plan's job (`plan-objective`).
- Never leave a check that only a person's opinion can settle.

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.

Comments

Loading comments…

Newsletter

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