Next.js + TypeScript
*.ts, *.tsxApp Router RSC boundaries, strict TypeScript without any, Server Action authz checks, and Tailwind token hygiene.
add preset nextjs-typescript
One zero-dependency CLI installs lean always-on rules, 9 native slash commands, 6 isolated subagents, Open-Standard skills, stack presets, and a cross-platform shell guard across Cursor, Claude Code, Codex, Copilot, and Windsurf.
Select only the AI tools, stack presets, and flags your repository needs. Existing files are never overwritten unless you pass --force.
npx cursor-agent-starter-kit init --yes
Invoke repeatable workflows directly in Cursor chat instead of re-typing process instructions. Use arrow keys or click any command to inspect its output contract.
Each preset uses YAML globs frontmatter so rules only enter context when editing matching source files. Auto-detected on init or installed individually anytime.
App Router RSC boundaries, strict TypeScript without any, Server Action authz checks, and Tailwind token hygiene.
add preset nextjs-typescript
Thin HTTP handlers, pure domain services, Zod boundary validation, structured API errors, and AbortSignal timeouts.
add preset node-typescript
Python 3.12+ annotations, Pydantic v2 DTOs, non-blocking async I/O hygiene, parameterized SQL, ruff/mypy, and pytest.
add preset python-fastapi
Multi-tenant isolation (anti-IDOR), additive zero-downtime migrations, idempotent Stripe webhooks, and startup env validation.
add preset fullstack-saas
Consumer-side small interfaces, first-arg context.Context, %w error wrapping, goroutine ownership, and go test -race.
add preset go-backend
Rust, Vue/Nuxt, Laravel, Flutter, or Spring Boot presets are single .mdc files. Open a preset issue or PR in minutes.
Implemented in pure Node.js so it works identically on Windows, macOS, and Linux. Test the exact pattern rules executed by .cursor/hooks/pre-tool-guard.mjs before any shell call runs.
Heavy monolithic rule files silently degrade reasoning and burn tokens every turn. This kit holds always-on instructions near ~1,088 tokens and loads deeper playbooks only when triggered.
Verify token budgets, frontmatter schemas, hook integrity, and .gitignore hygiene in CI with npx cursor-agent-starter-kit doctor --strict.
| Failure mode | Unconfigured agent | With starter kit |
|---|---|---|
| Scope creep | Rewrites unrelated modules while fixing a localized bug | Bounded diffs enforced by 03-surgical-changes.mdc and /fix |
| Hidden assumptions | Starts editing immediately on ambiguous requirements | Spec, non-goals, and file plan gated via /plan |
| Destructive shell ops | Executes force-push, hard reset, or reads .env |
Blocked pre-execution across OSes by pre-tool-guard.mjs |
| Mixed team tooling | Rules locked to a single IDE format | Native files for Cursor, Claude Code, Codex, Copilot, and Windsurf |
| MCP boilerplate | Manual wiring of common developer MCP servers | Ready-to-copy mcp.json.example (Context7, GitHub, Playwright, Memory) |