to-functional-spec

Installation
SKILL.md

A functional spec describes what the system does and how it behaves from the user's perspective. It defines product behavior only — no source code, no types, no interface signatures, no technology choices. Implementation lives elsewhere.

The spec is the source of truth for behavior.

This skill applies to any system regardless of its surface — CLI, HTTP API, library, web app, mobile app, embedded device, internal service. The structure below is universal; section names and examples should be adapted to the system at hand.

Inputs to confirm before writing

Confirm from the conversation, project files, or one consolidated clarifying question:

  1. What the system is — what it does, who it's for, what it replaces or competes with, what it explicitly is not.
  2. The primary consumer — the first-class user. Their default experience.
  3. Invariants — guarantees the system must always uphold.
  4. Scope — what's in this version and what's explicitly excluded.
  5. Features — the discrete user-visible capabilities the spec needs to cover (commands, endpoints, screens, methods, actions — whatever applies).

If any are missing, ask. Do not invent.

Output location

Installs
3
GitHub Stars
1
First Seen
Jun 19, 2026