Cursor rules template for .cursor/rules
Cursor project rules for .cursor/rules/project.mdc, with an always-applied verification checklist.
Download project.mdc
How to use this template
- Read the template. Inspect the full file below and decide which instructions match your project.
- Adapt it to your repo. Save it as .cursor/rules/project.mdc. Replace placeholders and update stack choices, paths and verification commands to match your repository.
- Check and commit. Review the diff. Test the listed commands and keep the file in version control so future changes can be reviewed.
This uses the .mdc project-rule format and alwaysApply setting documented by Cursor. File-format source, checked 20 October 2026.
Complete template
---
description: Project conventions and verification
alwaysApply: true
---
# Project conventions
- Read AGENTS.md and the relevant source files before changing code.
- Implement the requested task within the existing architecture.
- Keep secrets out of source code and client bundles.
- Use the package versions installed in this repository.
- Run the project's build and relevant tests before reporting completion.
- Explain any check that could not run and the reason it failed.
- Review the diff and include only files changed for this task.