How They Use AI  |  Newest

<< Home  |  Work

Increased rule adherence from 60% to 90%

AreaWork
AI usedCursor
Sourcer/cursor
Posted2026-02-16

The move

Split your .cursorrules into a tiered system of always-on, glob-attached, and agent-requested files to optimize context window usage.

Steps

  1. Create two short 'always-on' files for project context and global code standards.
  2. Create domain-specific files for zones like frontend, backend, and database.
  3. Configure auto-attach globs for each domain file so they only load when editing relevant code.
  4. Create agent-requested files with clear descriptions for specialized tasks like security or feature checklists.
  5. Review and prune rules every few weeks to remove stale patterns.

Prompt for your AI

Analyze my current codebase and suggest a folder structure for .cursor/rules/ files. Group my existing rules into three tiers: 1. Always-on (project context/global standards), 2. Domain-specific (auto-attached via globs for [e.g., frontend/backend]), and 3. Agent-requested (for [e.g., security/feature checklists]). Ensure rules describe patterns and conventions rather than specific features.

What happened

The user struggled with Cursor ignoring instructions because a single massive rules file consumed too much context. By migrating to the .cursor/rules/ system, they categorized rules into three tiers: essential project context, domain-specific rules triggered by file globs, and agent-requested files for specialized tasks. This modular approach ensured Cursor only processed relevant instructions, significantly improving code quality and consistency.

Watch out

Over-segmenting rules can lead to fragmented logic if domains overlap significantly. Stale rules in specific files can cause Cursor to suggest outdated patterns.

Give it to your agent

Read https://howtheyuse.ai/p/increased-rule-adherence-from-60-to-90.md and help me do this.

Sources



Last updated November 26, 2026.