39 files, 16,356+ lines of config

Ship your FastAPI SaaS 10x faster with AI

Pre-configured Cursor Rules + Claude Code commands for FastAPI, SQLAlchemy & Stripe. Stop wasting tokens on bad AI output.

One-time purchaseLifetime updates30-day guarantee
terminal

Without proper AI configuration, you waste hours on:

AI IDEs are powerful, but they're generic by default. They don't know your stack, your patterns, or your preferences.

Outdated SQLAlchemy patterns

AI generates synchronous SQLAlchemy 1.x code instead of async 2.0 style with select() and AsyncSession.

Pydantic v1 confusion

AI mixes Pydantic v1 and v2 patterns, uses deprecated Config inner class instead of model_config, and ignores model_validator.

Missing type annotations

AI outputs untyped Python with no Annotated dependencies, no generics, and no proper return types on endpoints.

Insecure Stripe handling

No webhook signature verification, no idempotency keys, synchronous calls that block the event loop.

What's included

Everything your AI IDE needs to build production-grade SaaS

39 files, tested as an integrated system. Not a random collection of rules — a complete configuration that works together.

FastAPI Async Patterns

Routers, dependency injection, middleware

SQLAlchemy 2.0 Async

Async models, sessions, and queries

Pydantic v2 Validation & Settings

Schemas, model_config, BaseSettings

Stripe Webhook Handling

Signature verification & idempotency

pytest Async Fixtures & Factories

Test setup, factories, async testing

Docker Multi-Stage Deployment

Production Docker, Alembic migrations

Two AI IDEs. One unified configuration.

Whether you use Cursor, Claude Code, or both — this kit has you covered with consistent, high-quality AI output.

Cursor IDE
Cursor Rules

8 rule files and 38 code snippets for FastAPI & SQLAlchemy. Cursor instantly understands your Python project architecture.

  • .cursorrules master config
  • FastAPI async router rules
  • SQLAlchemy 2.0 model rules
  • Pydantic v2 schema rules
  • Stripe payments rules
  • Python type annotation rules
  • pytest testing rules
  • 38 code snippets included
Claude Code
Claude Code Ready

CLAUDE.md (2,527 lines) plus 7 custom slash commands and project memory that automate entire workflows — from project setup to deployment.

  • CLAUDE.md (2,527 lines)
  • /setup-project command
  • /add-auth command
  • /add-payments command
  • /add-crud command
  • /add-api-route command
  • /deploy command
  • Project memory file
Production Ready
Production Templates

SQLAlchemy models, auth middleware, Stripe webhooks, Docker, and Alembic configs — all production-tested and ready to use.

  • SQLAlchemy async models
  • JWT auth middleware
  • Stripe webhook handler
  • Docker multi-stage build
  • Alembic migration config
  • pytest fixtures & factories
  • Security best practices

A glimpse inside the config

This is a preview of CLAUDE.md — just 1 of 39 files included in the kit.

CLAUDE.md
2,527 lines | Preview
# CLAUDE.md — AI Dev Config Kit (Python/FastAPI)

## Tech Stack
- **Framework**: FastAPI 0.110+ (async)
- **Language**: Python 3.12+ (fully typed)
- **Database**: PostgreSQL + Supabase
- **ORM**: SQLAlchemy 2.0 (async)
- **Auth**: Supabase Auth + JWT middleware
- **Payments**: Stripe (Checkout, Subscriptions)
- **Validation**: Pydantic v2
- **Testing**: pytest + pytest-asyncio

## Architecture Rules
- Async endpoints by default
- Dependency injection for all services
- Pydantic models for request/response
- Validate ALL inputs with Pydantic v2
- Use Result pattern for error handling

## File Structure
app/
  api/
    v1/
      auth.py          # auth routes
      users.py         # user CRUD
      payments.py      # stripe routes
  core/
    config.py          # BaseSettings
    security.py        # JWT + deps
    database.py        # async engine
  models/
    user.py            # SQLAlchemy models
    subscription.py    # payment models
  schemas/
    user.py            # Pydantic schemas
    payment.py         # Stripe schemas
  services/
    stripe_service.py  # Stripe logic
alembic/               # migrations

## Anti-patterns (NEVER do these)
- Never use synchronous SQLAlchemy session
- Never use Pydantic v1 Config class
- Never skip type annotations
- Never use `Any` or `# type: ignore`
- Never hardcode API keys or secrets
- Never skip Stripe webhook verification
...

The full CLAUDE.md is 2,527 lines with detailed coding standards, architecture rules, anti-patterns, and 7 custom slash commands.

One purchase. Unlimited projects.

Stop wasting hours on AI configuration. Get it right from the start.

Most Popular
$29one-time

No subscription. No recurring fees. Pay once, use forever.

Everything included:

  • 8 Cursor rule files (.cursorrules + 7 .mdc)
  • 38 code snippets (FastAPI + SQLAlchemy)
  • CLAUDE.md (2,527 lines)
  • 7 Claude Code slash commands
  • Project memory file
  • Production SQLAlchemy models
  • JWT auth middleware
  • Stripe webhook handler
  • Docker & Alembic config
  • pytest fixtures & factories
  • 4 documentation guides
  • Lifetime free updates
Get the Kit — $29
30-day money-back guaranteeLifetime updatesSecure checkout via Gumroad

Frequently asked questions