Scope before prose
Directory-aware globs keep frontend guidance out of migrations, scripts, and unrelated code.
Project context, without the prompt archaeology.
Build clean, directory-aware .mdc files for the stack you actually use. Correct frontmatter, focused globs, and practical defaults — ready to paste into .cursor/rules.
Pick your stack
Preview the rule
Copy into Cursor
Live rule workbench
Choose a template, inspect the exact .mdc output, then adapt it to the conventions already present in your repository.
STACK PRESETS
---
description: Focused project guidance for matching files
globs: ["app/**/*.{ts,tsx}", "components/**/*.tsx"]
alwaysApply: false
---
# Next.js App Router
- Use Server Components by default.
- Add "use client" only when a component needs state, event handlers, or browser APIs.
- Keep data access and secrets in server-only modules.
- Use the App Router file conventions for pages, layouts, loading, and errors.
- Follow the repository's existing import and naming conventions.
Rules that earn their context window
A useful rule is not a giant style guide. It is a precise instruction attached to the files where it matters.
Directory-aware globs keep frontend guidance out of migrations, scripts, and unrelated code.
Every preset is short enough to review, edit, and trust before it shapes generated code.
Launch copy, metadata, presets, and calls to action all live in config/site.ts for fast iteration.
Early access
New stack presets, field-tested rule patterns, and launch notes. Useful updates only.