Templates

Steal these. Modify them. Use them today.

Starting points, not finished products. Copy one, adapt it, ship the thing.

Category
Audience
Difficulty
SPEC WRITINGTEMPLATE

Product Requirements Document

The one-page brief that tells you and your agent what you're building.

SPEC WRITINGTEMPLATE

Feature Specification

A spec for one feature, written tightly enough for an agent to build it.

SPEC WRITINGTEMPLATE

CLAUDE.md

The project-context file every coding-agent project needs on day one.

PROJECTTEMPLATE

Small Business Website

Five pages, a contact form, a domain. Live by Sunday.

PROJECTTEMPLATE

Internal Dashboard

A single-page app for the metrics, reports, or tools your team checks daily.

PROJECTTEMPLATE

REST/GraphQL API Skeleton

A backend skeleton for builders who already know which stack they want.

AGENTTEMPLATE

Gmail + Calendar Agent

An agent that reads your inbox, drafts replies, and books meetings on your calendar.

AGENTTEMPLATE

Customer Scheduling Agent

Customers book themselves; the agent confirms, reschedules, and reminds.

AGENTTEMPLATE

Inventory and Reorder Agent

Watches your stock, flags what's running low, and drafts the reorder for you.

SPEC WRITINGTEMPLATE

AGENTS.md

The tool-agnostic sibling of CLAUDE.md, read by every coding agent that isn't Claude too.

SPEC WRITINGTEMPLATE

API Contract Spec

An endpoint-by-endpoint contract, request and response shapes included, written before any code exists.

SPEC WRITINGTEMPLATE

Architecture Decision Record

A one-page record of what you decided, what you rejected, and why, written before you forget.

SPEC WRITINGTEMPLATE

Bug Report with Repro Steps

A bug report with numbered repro steps an agent can execute without asking you anything.

SPEC WRITINGTEMPLATE

Data Model Spec

Tables, fields, and relationships in plain language first, with a SQL sketch the agent can build from.

SPEC WRITINGTEMPLATE

Migration Plan Spec

A step-by-step plan for changing a live system, with verification after every step and a rollback you wrote first.

SPEC WRITINGTEMPLATE

Test Plan Spec

What to verify, how to verify it, and what counts as passing, decided before the agent writes a single test.

PROJECTTEMPLATE

Blog with MDX and RSS

A writing site where posts are MDX files in a folder, with an RSS feed and none of the CMS you were about to install.

PROJECTTEMPLATE

Chrome Extension

A Manifest V3 extension with a popup and a content script, scoped to the fewest permissions that still do the job.

PROJECTTEMPLATE

Command-Line Tool

A command-line utility with proper args, help text, exit codes, and output that other programs can consume.

PROJECTTEMPLATE

Landing Page with Waitlist

A one-page site that collects emails for a product that does not exist yet, without leaking them or losing them.

PROJECTTEMPLATE

Portfolio Site

A work-samples site built around case studies, with the project data separated from the layout so updates don't require a rebuild of your life.

AGENTTEMPLATE

Code Review Agent

Reviews a diff against an explicit checklist and files structured findings you can filter and track.

AGENTTEMPLATE

Customer Support Agent

Answers tickets from your actual docs, quotes its sources, and escalates everything it can't ground.

AGENTTEMPLATE

Document Processing Agent

Extracts structured data from PDFs and images against a schema, with confidence scores and a human review queue.

AGENTTEMPLATE

Invoice Chasing Agent

Polite, escalating reminders for unpaid invoices, drafted for your approval and never sent twice.

AGENTTEMPLATE

Monitoring Alert Agent

A cron job does the checking; the agent wakes on failure, gathers context, and drafts an alert with a suggested fix.

AGENTTEMPLATE

Research Agent

Multi-source research with a citation per claim and a synthesis step that can only draw from the notes.

PAYMENTSTEMPLATE

Stripe One-Time Checkout

Sell a single thing with Stripe Checkout and fulfill it from the webhook, not the thank-you page.

PAYMENTSTEMPLATE

Stripe Subscription Billing

A spec for recurring billing with Checkout, the customer portal, and a webhook handler that owns the truth.

PAYMENTSTEMPLATE

Stripe Webhook Handler

The one webhook handler every Stripe integration needs, with signature checks and idempotency baked in.

AUTHTEMPLATE

Password Reset Flow

A reset flow with expiring single-use tokens, no user enumeration, and session invalidation on success.

AUTHTEMPLATE

Role-Based Access Control

Admin, member, and viewer roles enforced by row-level security in the database, not by hidden buttons.

AUTHTEMPLATE

Supabase Email Auth

Email/password auth with a confirmation flow, server-side session checks, and a profile row that creates itself.

EMAILTEMPLATE

Contact Form with Resend

A contact form that lands in your inbox via Resend, with spam protection that costs your visitors nothing.

EMAILTEMPLATE

Transactional Email Set

Welcome, receipt, and password reset: the minimum email set every product needs, specced with the safety rules baked in.

ANALYTICSTEMPLATE

Event Taxonomy

A naming convention and tracking plan so your funnels still mean something in six months.

ANALYTICSTEMPLATE

PostHog Setup

PostHog wired correctly the first time, with pageviews, identify on login, reset on logout, and money events captured server-side.

ANALYTICSTEMPLATE

Sentry Error Tracking

Sentry with readable stack traces, releases tied to commits, and alerts a human actually receives.

DEPLOYTEMPLATE

Backups and Restore Runbook

A backup schedule, retention policy, and the restore drill you actually run, because an untested backup is a rumor.

DEPLOYTEMPLATE

Docker Compose Local Stack

An annotated docker-compose.yml that brings up your app, database, and dependencies with one command and resets them with another.

DEPLOYTEMPLATE

GitHub Actions CI Workflow

A workflow that runs lint, tests, and a real build on every push, so broken code gets caught in the pull request instead of in production.

DEPLOYTEMPLATE

Scheduled Jobs Spec

Scheduled work on Vercel cron or a worker, with the auth, idempotency, and dead-man's switch that keep it from failing silently.

DEPLOYTEMPLATE

Vercel Deployment Spec

A deployment spec for Vercel that keeps production keys out of preview builds and gives you a one-click rollback.

DATA & RAGTEMPLATE

CSV Import/Export Spec

The CSV import every internal tool eventually needs, with validation, a dry-run mode, and an error report that names the row and the reason.

DATA & RAGTEMPLATE

Document Ingestion Pipeline

A files-to-chunks-to-embeddings pipeline you can run on the same folder twice without duplicate chunks or a doubled embedding bill.

DATA & RAGTEMPLATE

Postgres + pgvector RAG Pipeline

A retrieval pipeline on Postgres and pgvector, from schema to hybrid query to the eval that tells you whether it actually works.

DATA & RAGTEMPLATE

Postgres Schema Starter

A starting Postgres schema with ids, timestamps, and soft deletes already decided, and the reasoning inline where the decisions live.

INTEGRATIONSTEMPLATE

File Uploads to S3

Direct-to-S3 uploads with presigned URLs, a private bucket, and server-side limits the browser cannot talk its way around.

INTEGRATIONSTEMPLATE

Slack Integration

Slash commands and incoming webhooks with signature verification, the three-second ack, and no bot token where it doesn't belong.

INTEGRATIONSTEMPLATE

Webhook Receiver

An endpoint that receives third-party webhooks and verifies, dedupes, and survives retries instead of trusting the internet.