Spec-First Library

Spec Coding Blog

Practical articles for teams using spec-first delivery. The focus is on writing clearer requirements, tightening review loops, and shipping with fewer surprises.

38 ArticlesCovering writing, API contracts, delivery process, case studies, and resources
7 TopicsOrganized for faster browsing across adoption, execution, and review
4 per pageStatic pagination keeps long archives readable

All Articles

Filter by topic, then scan four focused entries per page. Start with the article that matches your current delivery risk, then continue through the related routes below.

Updated 2026-05-11 · 38 long-form articles

Browse by topic

OpenSpec, Superpowers, and Spec Kit: SDD Patterns

Compare OpenSpec, Superpowers, and GitHub Spec Kit through the practical SDD patterns they share: specs, plans, tasks, tests, review gates, and evidence.

Read article

AI Coding Spec Packet Before Code Generation

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 article

Refund Example: Vibe vs Spec Coding

Same order refund feature built two ways — vibe coding ships fast but drowns in edge-case bugs,…

Read article

Acceptance Criteria Examples You Can Copy

20 real-world acceptance criteria examples in Given/When/Then format covering authentication, e-commerce, APIs, data processing, payments, and notifications.

Read article

Technical Spec Template, Examples, and Generator

How 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 article

Building a Test Harness for API Services

A practical guide to building test harness infrastructure for backend API services — from fixtures and mocks to contract tests and CI integration,…

Read article

Superpowers for Spec-First AI Coding

Superpowers is an open-source framework that enforces spec-first discipline on AI coding agents.

Read article

Backward Compatibility Specs and Deprecation Paths

Define backward compatibility rules for API specs, including deprecation timelines, migration paths, Sunset headers, and breaking-change review.

Read article

Database Schema Specs Before Migrations

Define database schemas before writing migrations, including columns, constraints, indexes, API alignment, and rollout order.

Read article

AI Coding Prompts That Follow Specs

AI coding tools drift without constraints — adding fields, renaming functions, expanding scope.

Read article

AI Coding Governance with Spec-Driven Prompts

Govern AI-assisted coding with spec-driven prompts: define scope, boundaries, evidence, and audit trails before generated code reaches review.

Read article

AI Coding PR Review with Acceptance Criteria

Review AI-generated pull requests against acceptance criteria: inspect the diff, run evidence checks, and catch failures a quick skim misses.

Read article

AI Coding Risk Register Before Merge

Use a pre-merge risk register for AI-generated code: flag auth, data, contract, migration, rollback, and observability risks.

Read article

AI Coding with Test-Evidence Gates

Use test-evidence gates for AI-generated code: require meaningful tests before merge and catch hallucinated implementations before release.

Read article

API Change Management for AI-Generated Clients

Manage API changes for AI-generated clients with structured changelogs, announcement channels, compatibility rules, and CI gates.

Read article

API Error Taxonomy for AI-Assisted Integrations

Design API error taxonomies AI-generated clients can use, with stable codes, retry categories, and machine-readable details.

Read article

API Schema Diff Review Before Release

How 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 article

Designing API Specs for Agentic Clients

Design API specs for LLM-powered agentic clients with discoverable fields, idempotency, dry-runs, semantic descriptions, and safe destructive actions.

Read article

Spec Skills Case Study: From Ticket to Spec

Follow a vague support ticket as it becomes a shippable technical spec using Spec Skills, guided questions, and review-ready output.

Read article

Spec Skills and Spec-First Delivery

See how Spec Skills fits spec-first delivery through constrained prompts, spec injection, boundary enforcement, and reviewable AI output.

Read article

Quality Gates for AI-Assisted Development Specs

Quality gates for AI-assisted code: pre-prompt spec checks, diff review, test evidence, and human sign-off before generated code ships.

Read article

Real-Time Collaboration Spec: Conflict Resolution

How to spec real-time collaboration: OT vs CRDT, presence protocol, offline edits, conflict resolution, and the operational transform vs three-way-merge decision.

Read article

Contract Testing Plan: From OpenAPI to CI

Add contract testing from OpenAPI to CI with generated tests, provider checks, consumer expectations, and reliable fixtures.

Read article

Data Sync Between Services: Spec Guide

Specify cross-service data sync with ordering guarantees, conflict handling, backfill plans, and event-driven or pull-based tradeoffs.

Read article

Designing Idempotent Workflows with Specs

How to specify idempotency keys, deduplication windows, and state-machine transitions so retries and partial failures don't double-charge or corrupt data.

Read article

Event-Driven Systems: Specification Patterns

Specification patterns for event-driven systems: schema versioning, command vs fact events, orchestration choices, idempotent handlers, and replay safety.

Read article

How to Scope Non-Goals in Technical Specs

Write non-goals that stop scope creep, name deferred work, and give reviewers a clear boundary before implementation starts.

Read article

Mobile API Spec Considerations for Offline Mode

Spec a mobile API for offline mode with local-first writes, sync windows, conflict handling, outbox behavior, and rejection recovery.

Read article

Payment Workflow Spec: Failure and Retry Matrix

Write payment workflow specs with retryable errors, declined-card handling, timeout behavior, 3DS branches, and dunning states.

Read article

Rollout and Rollback Design for High-Risk Releases

Design high-risk releases with stop-loss metrics, rollout windows, rollback types, and owners who can pause expansion.

Read article

Webhook Consumer Spec: Signature, Retry, and Order

How to write a webhook consumer spec: signature verification, replay protection, retry and backoff rules, ordering assumptions, and idempotent handler design.

Read article

Writing Edge Cases That QA Can Actually Test

Write edge cases QA can execute with concrete inputs, starting states, expected outputs, and release-blocking priority.

Read article

10 Common Mistakes in Software Specifications

Avoid ten specification mistakes that hide decisions, blur acceptance criteria, skip failure paths, and push scope arguments into implementation.

Read article

How to Adopt Spec-First in a Team (30-Day Plan)

A 30-day adoption plan for Spec-First: choose the first workflow, set a review threshold, and measure whether rework drops.

Read article

How to Write Testable Software Specifications

Turn software requirements into testable specs with observable outputs, failure paths, evidence types, and QA-ready acceptance criteria.

Read article

PRD vs Technical Spec: What's the Difference?

PRD vs Technical Spec: What's the Difference becomes clearer when the team makes the hidden decisions visible before coding starts.

Read article

Spec Review Checklist Before Coding

Use this pre-coding review checklist to separate blockers from preferences, record accepted risks, and attach test evidence before implementation begins.

Read article

What Is Spec-First Development? (Complete Guide)

What is spec-first development? A complete guide to surfacing hidden decisions about scope, contracts, edge cases, and acceptance criteria before coding starts.

Read article

Static pagination · Page 1/10 · 38 articles

Recommended Path

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 guide
Most Useful

How to Write a Technical Spec

A complete template, worked example, and free generator covering acceptance criteria, edge cases, and the sections every spec needs.

Open the template guide
Team Rollout

How to Adopt Spec-First in a Team (30-Day Plan)

If you are moving beyond a solo trial, this gives you a concrete rollout rhythm and measurement model.

See the 30-day plan

Choose a Learning Path

Pick 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.

Paths for readers, reviewers, and AI-assisted teams

New to spec-first

Learn the method before you change your process

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 path
Writing specs

Turn vague requirements into testable criteria

Use the technical spec guide, acceptance criteria examples, and edge-case articles when a ticket is too broad for implementation.

Follow the writing path
API and data

Protect contracts, migrations, and rollback paths

Start here when a change touches external consumers, database shape, idempotency, compatibility, or release safety.

Follow the contract path
AI coding

Give AI tools boundaries they can be reviewed against

Start with a spec packet, then move into prompts, risk registers, PR review gates, and test evidence before generated code reaches production.

Follow the AI path

Topic Hubs

Use 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.

4 practical routes

Foundations

Spec-First Development Hub

Start here for the method, core decisions, review gates, and evidence habits.

Open hub
Contracts

API Contracts Hub

Use this route for schema diffs, compatibility, versioning, webhooks, and deprecation.

Open hub
Testing

Acceptance Criteria Hub

Turn success statements into testable criteria with failure paths and proof.

Open hub
AI delivery

AI Coding Governance Hub

Connect prompts, risk registers, acceptance mapping, and test evidence.

Open hub