The spec your coding agent actually follows.
One sentence in. Out: the build spec — stack, schema, auth, pages, security, legal —
and the AGENTS.md, CLAUDE.md and Cursor rules that keep Claude Code,
Cursor or Lovable on it.
- 2 specs free, no account
- 8 files, every agent
- CLI + MCP server
# AGENTS.md
Instructions for AI coding agents working on **Ledgerly** (saas).
Generated by prompt-generator-website.com. Same answers, same file, byte for byte.
## Where the truth lives
The full specification is reproduced below and also stored in `spec.md` at the repo root.
Those two are the same document. If code and spec disagree, the spec wins until a human
changes the spec — do not "fix" the spec to match code you just wrote.
## Working agreement
- Read the whole specification before touching a file. Not the first section, all of it.
- Build section by section, in the order given. Finish one before starting the next.
- The "Implementation rules" section at the end is a set of invariants, not suggestions.
- Do not invent tables, routes or dependencies that are absent from the spec. If something
is genuinely missing, say so and stop; do not improvise it.
- Do not swap the tech stack for one you like better.
- Keep the file structure exactly as described.
## Full specification
# Complete Specification: Ledgerly
> This document is an exhaustive specification for building the **Ledgerly** project.
…
# CLAUDE.md — Ledgerly
The specification and the working agreement live in `AGENTS.md`, imported below, so Claude Code
and every AGENTS.md-aware agent work from the same brief. Edit `AGENTS.md`, not this file.
@AGENTS.md
## 3. Database Schema
### Table `users`
| Column | Type | Description |
|--------|------|-------------|
| id | INT PK AUTO | Unique identifier |
| email | VARCHAR(255) UNIQUE | Login email |
| password_hash | VARCHAR(255) | Hashed password (bcrypt) |
| first_name | VARCHAR(100) | First name |
| last_name | VARCHAR(100) | Last name |
| role | ENUM | User role |
| created_at | DATETIME | Creation date |
| updated_at | DATETIME | Last modified |
### Business-specific entities
Create tables for the following entities (with appropriate relationships):
Client, Invoice, LineItem, Expense, Receipt, PaymentReminder, Report
For each entity:
- Add `id`, `created_at`, `updated_at`
- Add appropriate foreign keys
- Add indexes on frequently queried columns
### Table `subscriptions`
| Column | Type | Description |
|--------|------|-------------|
| id | INT PK | Identifier |
| user_id | FK -> users | User |
| plan | VARCHAR | Subscribed plan |
| status | ENUM | active, canceled, expired |
…
## Data model
### `users`
Account identity for NextAuth (email/password + OAuth)
| Column | Type | Null | Notes |
|---|---|---|---|
| `id` | TEXT (cuid) PK | no | NextAuth compatible string id |
| `email` | VARCHAR(255) | no | UNIQUE, lowercased on write |
| `email_verified` | TIMESTAMPTZ | yes | NextAuth field |
| `password_hash` | VARCHAR(255) | yes | NULL for OAuth-only accounts; bcrypt cost 12 |
| `name` | VARCHAR(200) | yes | |
| `image` | TEXT | yes | Avatar URL |
| `is_platform_admin` | BOOLEAN | no | DEFAULT false; gates /admin |
| `banned_at` | TIMESTAMPTZ | yes | Banned users cannot sign in |
| `locale` | VARCHAR(5) | no | DEFAULT 'en', one of en\|fr |
| `default_org_id` | TEXT | yes | Last used organization |
| `deleted_at` | TIMESTAMPTZ | yes | GDPR soft delete before purge job |
| `created_at` | TIMESTAMPTZ | no | DEFAULT now() |
| `updated_at` | TIMESTAMPTZ | no | |
Relations: default_org_id -> organizations.id, set null
Indexes: UNIQUE(email); INDEX(banned_at)
### `accounts`
NextAuth OAuth provider links (Google, GitHub)
| Column | Type | Null | Notes |
|---|---|---|---|
| `id` | TEXT PK | no | |
…
A specification of this quality
Not a simple brief. A complete technical specification that covers every detail of your project.
## 1. Overview
- Name : MySaaS
- Description : Invoice management tool for freelancers
- Audience : Freelancers and solopreneurs
## 2. Tech stack
- Framework : Next.js (App Router, TypeScript)
- ORM : Prisma + PostgreSQL
- Auth : NextAuth.js (Email + Google OAuth)
## 3. Database schema
## 4. Authentication (complete flows)
## 5. SaaS features (plans, stripe, dashboard...)
## 6-13. Design, SEO, security, deployment...
// + 2,000 lines of detailed specs
That's a mockup. Read the full 395-line specification the engine actually produced →
How it works
3 steps. 5 minutes. A perfect specification.
Describe it, or pick a type
One paragraph and the AI drafts every answer — or choose among SaaS, e-commerce, marketplace, blog, web app, landing page, business site.
Check the answers
The questions developers always forget: auth, payments, edge cases, SEO, security. Correct what the draft got wrong.
Copy, paste, done
Download the spec and one config file per agent. Drop them at the root of your repo; every agent finds its own.
7 supported project types
Each type has its own questions. We only ask what's relevant.
SaaS Application
Web application with subscription, dashboard, auth
E-commerce
Online store, cart, payment, shipping
Business Website
Presentation website, portfolio, landing page
Marketplace
Multi-vendor platform, commissions, reviews
Blog / Media
Blog, magazine, editorial content, newsletter
Web App / Tool
Online tool, calculator, generator, converter
Landing Page
Single conversion page, email collection, launch
Why use a prompt generator?
The problem isn't the tool. It's the specification.
The right questions
We ask the questions you'd forget. What happens when the subscription expires? Who pays Stripe fees? Refund policy?
Complete specification
Not a vague brief. An exhaustive document: DB schema, auth flows, SEO, security, design system, file structure.
One copy-paste
Paste the specification into Claude Code, Cursor or Bolt. Everything is there to generate a working site on the first try.
Adapted to your project
Questions change based on project type. A SaaS doesn't have the same needs as an e-commerce store.
Security by default
CSRF, XSS, SQL injection, bcrypt, HTTPS... all best practices are built into every specification.
Built-in SEO
Meta tags, schema.org, OpenGraph, sitemap, performance... your site will be optimized from day one.
Inside Claude Code, Cursor and your terminal
The same generator, where you already work. Open source, free to install.
MCP server
Your agent reads the questionnaire, answers it from your repo and the conversation, and writes AGENTS.md and CLAUDE.md itself.
claude mcp add --transport http specpack https://prompt-generator-website.com/mcp
Audit in CI
Scores CLAUDE.md, AGENTS.md, .cursorrules for bloat — the lines that cost context on every session and change nothing. Offline.
npx specpack audit --max-bloat 40
API
Types, questionnaire, specs and AI drafts over plain JSON. Two specs free per address, keys for more.
curl https://prompt-generator-website.com/api/v1/types
Simple, transparent pricing
Choose your plan and start generating specifications in minutes.
- 2 template specs
- 3 AI drafts of the questionnaire
- 8-file export pack
- CLI audit & MCP server
- Deep spec (tables, routes, build plan)
- 5 deep specs written for your project
- Unlimited specs for 7 days
- 30 AI drafts
- Saved history & API key
- Never renews — passes stack
- 10 deep specs a month
- Unlimited specs
- 100 AI drafts a month
- Saved history & API keys
- Cancel anytime
Ready to generate your first specification?
No account needed. Describe it, or answer the questions yourself.
Start with a description