Spec Writing
Also known as: AI spec, product spec for AI, spec-first development
Spec writing is what separates fast, directed AI-assisted development from slow, iterative correction loops. When you prompt an AI to build something without a clear spec, the first output is usually a reasonable misinterpretation: you meant X, the AI built Y, and you spend three rounds correcting it back toward X. A good spec narrows the interpretation space before code is written.
The practice has grown alongside vibe coding and spec-driven development. Tools like Claude and ChatGPT have gotten good enough at code generation that the bottleneck is now the quality of the instruction, not the execution. Many experienced builders now invest 15-30 minutes writing a spec before touching a model, and spend less total time than teams that start prompting immediately.
A good AI spec typically includes: what the thing does (the happy path), what it doesn't do (scope boundaries), data shapes, error cases, style preferences (for UI), and any constraints on implementation. Claude.md and AGENTS.md files are persistent versions of the same idea, carrying spec-level instructions across all sessions rather than per-prompt.