Skip to main content
Use Cursor to help write and maintain your documentation. This guide shows how to configure Cursor for better results on technical writing tasks and using Mintlify components.

Prerequisites

  • Cursor editor installed
  • Access to your documentation repository

Project rules

Create project rules that all team members can use. In your documentation repository root:
Create .cursor/rules.md for the Starter Kit project:
This configuration helps Cursor understand:
  • Next.js 15 patterns: Server Components, Server Actions, App Router
  • TypeScript best practices: Strict types, explicit interfaces
  • Authentication: JWT-based with Cloud API integration
  • Styling: Tailwind CSS with dark mode support
  • Testing: Vitest and Playwright patterns
  • Project structure: Component organization and file naming

Save configuration

Commit .cursor/rules.md to version control:
All team members working with Cursor will now have consistent AI assistance tailored to the Starter Kit project.

Usage tips

  • Reference project files: Ask “How does authentication work?” and Cursor will use the rules as context
  • Generate components: “Create a new dashboard card component” follows established patterns
  • Debug issues: “Why isn’t my Server Component working?” gets context-aware help
  • Code reviews: Cursor checks against project standards automatically

Next steps

Claude Code

Configure Claude Code for the Starter Kit

Windsurf

Set up Windsurf IDE integration