What Is Spec-First Development? (Complete Guide)
Use this as the orientation piece if you want the overall model, tradeoffs, and where spec-first work pays off.
Read the full guidePractical articles for teams using spec-first delivery. The focus is on writing clearer requirements, tightening review loops, and shipping with fewer surprises.
Use this as the orientation piece if you want the overall model, tradeoffs, and where spec-first work pays off.
Read the full guideA complete template, worked example, and free generator covering acceptance criteria, edge cases, and the sections every spec needs.
Open the template guideIf you are moving beyond a solo trial, this gives you a concrete rollout rhythm and measurement model.
See the 30-day planPick the path that matches the problem in front of you. Each path starts with a practical article, then points toward a template, checklist, or tool you can use in the same session.
Start with the complete guide, then compare spec-first with agile and use the adoption plan only after the team agrees on the behavior you want to protect.
Start the foundations pathUse the technical spec guide, acceptance criteria examples, and edge-case articles when a ticket is too broad for implementation.
Follow the writing pathStart here when a change touches external consumers, database shape, idempotency, compatibility, or release safety.
Follow the contract pathStart with a spec packet, then move into prompts, risk registers, PR review gates, and test evidence before generated code reaches production.
Follow the AI pathUse these hubs when you want a structured route through the library instead of one article at a time. Each hub includes a decision table, copy-ready block, and related guides.
Start here for the method, core decisions, review gates, and evidence habits.
Open hubUse this route for schema diffs, compatibility, versioning, webhooks, and deprecation.
Open hubTurn success statements into testable criteria with failure paths and proof.
Open hubConnect prompts, risk registers, acceptance mapping, and test evidence.
Open hubBrowse by topic first, then move into pagination. It is the fastest way to find material that fits your current delivery stage.
A copy-ready packet for giving AI coding tools a bounded task, acceptance criteria, file ownership, tests, and review evidence before code generation starts.
Read articleSame order refund feature built two ways — vibe coding ships fast but drowns in edge-case bugs,…
Read article20 real-world acceptance criteria examples in Given/When/Then format covering authentication, e-commerce, APIs, data processing, payments, and notifications.
Read articleHow to write a technical specification: a complete template, real-world walkthrough, section-by-section guidance, and a free online generator to draft your own.
Read articleA practical guide to building test harness infrastructure for backend API services — from fixtures and mocks to contract tests and CI integration,…
Read articleSuperpowers is an open-source framework that enforces spec-first discipline on AI coding agents.
Read articleLearn when specs help, when they slow teams down, and which spec review anti-patterns create ceremony without reducing risk.
Read articleSpecify feature flags with lifecycle rules, audience targeting, canary rollout, dark launch behavior, monitoring, and cleanup criteria.
Read articleDefine backward compatibility rules for API specs, including deprecation timelines, migration paths, Sunset headers, and breaking-change review.
Read articleHarness engineering builds validation infrastructure. Spec-first defines correctness before code is written. Two approaches that work better together than alone.
Read articleDefine database schemas before writing migrations, including columns, constraints, indexes, API alignment, and rollout order.
Read articleAI coding tools drift without constraints — adding fields, renaming functions, expanding scope.
Read articleGovern AI-assisted coding with spec-driven prompts: define scope, boundaries, evidence, and audit trails before generated code reaches review.
Read articleReview AI-generated pull requests against acceptance criteria: inspect the diff, run evidence checks, and catch failures a quick skim misses.
Read articleUse a pre-merge risk register for AI-generated code: flag auth, data, contract, migration, rollback, and observability risks.
Read articleUse test-evidence gates for AI-generated code: require meaningful tests before merge and catch hallucinated implementations before release.
Read articleManage API changes for AI-generated clients with structured changelogs, announcement channels, compatibility rules, and CI gates.
Read articleDesign API error taxonomies AI-generated clients can use, with stable codes, retry categories, and machine-readable details.
Read articleHow to run an API schema diff review before every release: what diff tools catch, what they miss, and the human checks that still matter for OpenAPI and GraphQL.
Read articleGenerate SDKs from an API contract with a clean split between generated clients, hand-authored ergonomics, and the human review gate that matters.
Read articleDesign API specs for LLM-powered agentic clients with discoverable fields, idempotency, dry-runs, semantic descriptions, and safe destructive actions.
Read articleReview AI-written database migrations for locking behavior, rollback safety, batch size, dry-run evidence, and production data scale.
Read articleUsing Spec Skills to triage bug reports into actionable incident notes: the repro-check pass, severity inference, and the postmortem-seed prompt that saves hours.
Read articleFollow a vague support ticket as it becomes a shippable technical spec using Spec Skills, guided questions, and review-ready output.
Read articleSee how Spec Skills fits spec-first delivery through constrained prompts, spec injection, boundary enforcement, and reviewable AI output.
Read articleDrafting testable acceptance criteria with Spec Skills: the structured prompt, the failure-mode pass, and the human review that catches what the AI misses.
Read articleBuilding and maintaining a Spec Skills prompt library for product teams: what to store, how to version, which prompts earn their keep, and which become landfill.
Read articleUse Spec Skills prompt patterns for feature specs, acceptance criteria, spec reviews, risk registers, and controlled AI coding workflows.
Read articleCompare Spec Skills with general AI coding tools across spec discipline, guardrails, context control, review workflows, and team adoption.
Read articleSetting up a Spec Skills workspace for a dev team: repo layout, the /specs directory, prompt library location, CI gates, and the rollout week-by-week.
Read articlePrompt templates for usable acceptance criteria: five-slot structure, failure-mode seeding, and a review loop before scenarios reach QA.
Read articleUse Spec Skills to review API contract changes with schema diffs, semantic drift checks, breaking-change flags, and consumer impact prompts.
Read articleBuild API deprecation into the contract with Sunset headers, migration timelines, customer notices, and usage reporting from day one.
Read articleWrite a marketplace payout spec with reconciliation rules, dispute handling, hold periods, ledger entries, audit evidence, and payout review gates.
Read articleSpec patterns for mobile push notification preferences: category vs channel model, quiet hours, OS-level permission handling, and the cross-device delivery contract.
Read articleUse this partner API onboarding checklist for sandbox access, rate plans, agreements, go-live gates, monitoring, and offboarding.
Read articleQuality gates for AI-assisted code: pre-prompt spec checks, diff review, test evidence, and human sign-off before generated code ships.
Read articleHow to spec real-time collaboration: OT vs CRDT, presence protocol, offline edits, conflict resolution, and the operational transform vs three-way-merge decision.
Read articleUse spec-first work to align frontend and backend teams around shared schemas, generated clients, error shapes, and parallel-build review.
Read articleWrite subscription change specs for proration, mid-cycle plan changes, trials, downgrades, credit handling, and renewal boundaries.
Read articleWrite backward-compatible API change specs with additive fields, safer input widening, enum expansion, default values, and release review rules.
Read articleWrite a billing reconciliation spec with tolerance thresholds, exception queues, daily close rules, and clear handling for penny-level differences.
Read articleAdd contract testing from OpenAPI to CI with generated tests, provider checks, consumer expectations, and reliable fixtures.
Read articleSpecify cross-service data sync with ordering guarantees, conflict handling, backfill plans, and event-driven or pull-based tradeoffs.
Read articleWrite database migration rules into your spec, including expand-contract steps, compatibility windows, online DDL, and rollback plans.
Read articleHow to specify idempotency keys, deduplication windows, and state-machine transitions so retries and partial failures don't double-charge or corrupt data.
Read articleSpecification patterns for event-driven systems: schema versioning, command vs fact events, orchestration choices, idempotent handlers, and replay safety.
Read articleWrite non-goals that stop scope creep, name deferred work, and give reviewers a clear boundary before implementation starts.
Read articleSpec a mobile API for offline mode with local-first writes, sync windows, conflict handling, outbox behavior, and rejection recovery.
Read articleSpec notification delivery guarantees by channel, fallback ladder, suppression rules, and the at-most-once vs at-least-once decision.
Read articleWrite payment workflow specs with retryable errors, declined-card handling, timeout behavior, 3DS branches, and dunning states.
Read articleWrite queue contracts for at-least-once delivery with idempotent consumers, dead-letter rules, replay procedures, and duplicate safeguards.
Read articleDesign high-risk releases with stop-loss metrics, rollout windows, rollback types, and owners who can pause expansion.
Read articleError-handling patterns the spec must decide before implementation: envelope shape, retryable categories, partial-success semantics, and the rule for 5xx vs 4xx.
Read articleCompare URL, header, date-based, and evolution-only API versioning, with spec rules for compatibility and deprecation timelines.
Read articleHow to write a webhook consumer spec: signature verification, replay protection, retry and backoff rules, ordering assumptions, and idempotent handler design.
Read articleWrite edge cases QA can execute with concrete inputs, starting states, expected outputs, and release-blocking priority.
Read articleA postmortem-style walkthrough of a billing bug that shipped because the spec never addressed proration, and the exact sections that would have caught it.
Read articleAvoid ten specification mistakes that hide decisions, blur acceptance criteria, skip failure paths, and push scope arguments into implementation.
Read articleA 30-day adoption plan for Spec-First: choose the first workflow, set a review threshold, and measure whether rework drops.
Read articleTurn software requirements into testable specs with observable outputs, failure paths, evidence types, and QA-ready acceptance criteria.
Read articlePRD vs Technical Spec: What's the Difference becomes clearer when the team makes the hidden decisions visible before coding starts.
Read articleFit Spec-First into agile delivery by defining which tickets need a spec, where review belongs, and how sprint rework gets reduced.
Read articleUse this pre-coding review checklist to separate blockers from preferences, record accepted risks, and attach test evidence before implementation begins.
Read articleWhat is spec-first development? A complete guide to surfacing hidden decisions about scope, contracts, edge cases, and acceptance criteria before coding starts.
Read articleMost design reviews waste time on bikeshedding because there is no spec to anchor the conversation. Learn how to structure reviews that produce decisions.
Read articleArchitecture Decision Records capture the reasoning behind technical choices.
Read articleWrite postmortems that produce owned action items, trace incidents to missing decisions, and prevent the same failure from recurring.
Read articleA practical framework for categorizing technical debt, measuring its real cost with code metrics and incident data, prioritizing paydown work,…
Read articlePractical code review techniques that catch real defects: how specs with acceptance criteria change what reviewers look for,…
Read articleA reconstructed postmortem of a breaking API change that reached production because no contract test caught the field rename.
Read articleHow to turn spec-first acceptance criteria into executable test cases using your test harness.
Read articleStatic pagination · Page 1/18 · 72 articles