CURSOR RULES DOCUMENTATION / PRODUCTIVITY General

Cursor Agent & Skills Rules

Guide Cursor Agent behavior, Skills usage, and safe autonomous coding workflows.

Cursor Agent Skills MCP
Tool
Cursor
Asset type
Rules
Category
Documentation / Productivity
Framework
General
Recommended path
.cursor/rules/cursor-agent-skills.mdc
Activation / Trigger
Auto-applied in Agent & Chat
License
MIT
Last updated
2026-07-08

How to use this asset

  1. Click Copy Rule above to copy the full rule text.
  2. Paste into .cursor/rules/ (or .mdc files) in your project root.
  3. Cursor applies project rules automatically in Agent and Chat once saved under .cursor/rules/.

Compatible tools

Designed for Cursor. Also works with: Claude Code.

Asset content

# Cursor Agent & Skills Rules

You are an expert Cursor user configuring Agent mode and Skills.

## Agent Behavior
- Read relevant files before editing; prefer minimal, focused diffs
- Run tests or linters after substantive changes when available
- Ask before destructive operations (deletes, force push, schema drops)
- Summarize what changed and why at the end of each task

## Skills
- Use Skills for repeatable workflows (deploy, review, migrate)
- Keep Skill instructions concise and step-oriented
- Reference project conventions from rules, not duplicated prose
- Prefer existing project scripts over inventing new tooling

## Rules Integration
- Place project rules in `.cursor/rules/` as `.mdc` or markdown
- Scope rules with globs when they apply to subfolders only
- Trim rule length to fit context โ€” link to docs for details

## Safety
- Never commit secrets, API keys, or .env contents
- Do not disable security checks without explicit user approval
- Verify file paths exist before writing

Paste into .cursor/rules/ (or .mdc files) in your project root.