Spring Boot 3 + Java 21
Package-by-feature layout, ProblemDetail errors, Flyway + JPA rules that prevent N+1, Spring Security 6 lambda DSL, Testcontainers tests.
Drop-in rules for Cursor (.cursor/rules/*.mdc) and Claude Code (CLAUDE.md) that tell your AI assistant exactly how your project is structured, tested, secured and migrated — instead of generic “write clean code” advice.
Download the zip (6 rule files)View on GitHub
To use them in Cursor, copy the files from the rules folder into your project's .cursor/rules/ folder. The files are MIT licensed. We will send occasional updates about the rules packs to the address you entered. To unsubscribe, email [email protected].
globs, so context stays small.CLAUDE.md (well under the 200-line size Anthropic's docs recommend) with commands, architecture and conventions.Package-by-feature layout, ProblemDetail errors, Flyway + JPA rules that prevent N+1, Spring Security 6 lambda DSL, Testcontainers tests.
Pydantic v2 and SQLAlchemy 2.0 async only (no legacy APIs), router → service → repository layering, Alembic migrations, JWT auth, pytest + httpx.
Server Components by default, async params/cookies, typed Server Actions with Zod, Drizzle migrations, security headers, Vitest + Playwright.
$12
One stack: all rule files, CLAUDE.md, README with install steps.
Buy a pack$29
Spring Boot, FastAPI and Next.js packs together.
Buy the bundle$0
Two real rule files from each pack. No email required.
Checkout and sales tax handled by Polar.
One-time purchase. Use in any number of your own or your employer's projects.