Focused .mdc output
Each generated rule includes description, globs, alwaysApply, and short sections Cursor can retrieve for the matching files.
A Cursor rules generator creates copy-ready .cursor/rules files that tell Cursor how to work inside your codebase. Choose a stack, add architecture and verification rules, then copy a modern .mdc file with frontmatter.
---
description: Next.js App Router Standards rules for Next.js projects
globs: src/app/**/*.{ts,tsx},src/components/**/*.{ts,tsx}
alwaysApply: false
---
# Next.js App Router Standards
## Architecture
- Prefer server components for route shells.
- Keep client components small and colocated with the route that owns them.
- Export metadata from the page or layout that owns the URL.
## Code style
- Reuse existing design tokens and components.
- Use lucide-react icons for actions.
- Keep labels and generated output readable on mobile widths.
## Verification
- Run npm run lint.
- Run npm run build.
- Smoke-test the generated route and copy/download actions.
## Pull request checklist
- Confirm generated files match the selected stack and globs.
- Confirm public-facing copy is specific, accurate, and mobile-safe.
- Confirm verification commands and any skipped checks are documented.
Each generated rule includes description, globs, alwaysApply, and short sections Cursor can retrieve for the matching files.
Start from Next.js, Python CLI, or documentation defaults, then tailor the rule to your repository and review workflow.
Your project guidance stays in the page session. The generator formats text locally for copy or download.
A Cursor rules generator creates .cursor/rules .mdc files that tell Cursor how to work in a codebase, including architecture preferences, file globs, style rules, and verification commands.
Save generated project rules in .cursor/rules at the repository root. Each rule should use the .mdc extension and include frontmatter with description, globs, and alwaysApply.
Use alwaysApply only for broad standards that are relevant to every file and prompt. Use globs for framework, folder, or workflow-specific rules.
Good Cursor rules include project architecture, coding style, data boundaries, testing commands, review expectations, and any patterns the team wants repeated consistently.
No. The generator runs in your browser and does not send your rule text to Tornic or a third-party service.