ChooChoo for Cursor.
Pair program at scale. Without the drift.
The AI code editor built for deep code understanding. ChooChoo generates .cursor/rules so every AI suggestion in Cursor follows your team's patterns — consistently, across the entire team.
ChooChoo keeps your Cursor rules fresh.
Cursor's rules files define how the AI suggests and generates code. ChooChoo compiles them from your real codebase — so AI suggestions reflect your actual standards, not a snapshot from six months ago.
- .cursor/rules with required patterns and prohibited anti-patterns
- Auto-updated when your linting config, ADRs, or standards change
- Committed to git so the whole team stays in sync
---
description: Project rules for payments-api
globs: ["**/*.py", "**/*.ts"]
alwaysApply: true
---
# Code Standards
You are working on payments-api, a FastAPI service
handling financial transactions. Follow these rules
in all code suggestions and completions.
## Required Patterns
- Use get_db() dependency for all database access
- Validate all inputs with Pydantic before DB writes
- Return typed response schemas from all endpoints
- Full type annotations on all new functions
## Prohibited Patterns
- No raw SQL strings — use SQLAlchemy ORM only
- No print() in production code — use logger
- Never log PII, card numbers, or auth tokens
## Security
- Rate limiting required on all public endpoints
- API keys from environment variables only
- Parameterize all database queries Why use ChooChoo with Cursor?
Cursor is only as good as the rules you give it. ChooChoo writes those rules from your actual codebase.
Consistent Output
Generated code follows your linting rules from the start, reducing cleanup work before code review.
Fewer Iterations
The AI understands your standards upfront, producing acceptable code faster and with less back-and-forth.
Team Alignment
Everyone's AI assistant generates code that matches your team's style guide — automatically.
Zero Configuration
Get started instantly with sensible defaults that work out of the box for most projects.
Type-Safe Code
Strict linting rules catch potential bugs and enforce type safety before they reach review.
AI-Ready Rules
Purpose-built rules that AI models understand and follow consistently, session after session.
Ready to level up Cursor?
Generate rules that keep Cursor's suggestions aligned with your team's standards, automatically.