agentleFS
floriscornelfloriscornel/todo-mcp/.cursor/rules/README.md

todo-mcp / rules

Cursor rule2 starsChanged 18 months agoMITView on GitHub

This directory contains Cursor rules that enforce development workflow and coding standards for the todo-mcp project. These rules ensure consistent development practices for solo open source development with automated CI/CD and GitHub Copilot integration.

The file

We split this README.md into the rules it gives an agent

5 rules. About 0 are common, 2 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Testing: Always use npm run test:coverage instead of npm test

    line 9
  2. Very specific:

    Publication: Never run npm publish manually - use GitHub releases

    line 12
  3. Distinctive:

    Test structure and naming conventions

    line 17
  4. Very specific:

    Use @ruleName to explicitly reference:

    line 60
  5. Distinctive:

    Coverage Over Tests: Always run coverage, maintain 80% thresholds

    line 66

≈ “Common” is an estimate: at least 1 in 5 of the 3,030 Cursor rule files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
README.md

Cursor Rules for Todo MCP

This directory contains Cursor rules that enforce development workflow and coding standards for the todo-mcp project.

Rules Overview

🔄 development-workflow.mdc (Always Applied)

Core development practices including:

  • Testing: Always use npm run test:coverage instead of npm test
  • Commit Structure: Conventional commits format
  • Branch Workflow: Feature branches with proper naming
  • Publication: Never run npm publish manually - use GitHub releases

🧪 testing-standards.mdc (Auto-Attached to test files)

Testing guidelines that activate when working with test files:

  • 80% coverage requirements
  • Test structure and naming conventions
  • Database testing patterns
  • Mock strategies

🔄 pr-automation.mdc (Manual)

PR creation and automated review preparation:

  • Pre-PR quality checklist
  • PR description templates for GitHub Copilot
  • CI validation requirements

🗄️ database-patterns.mdc (Auto-Attached to DB files)

Database development with Drizzle ORM:

  • Schema change workflow
  • Migration best practices
  • Type-safe database operations
  • Connection management

🚀 release-management.mdc (Manual)

Release and versioning workflow:

  • Semantic versioning guidelines
  • GitHub release process
  • Automated NPM publishing via CI
  • Pre-release checklists

🔧 mcp-development.mdc (Auto-Attached to MCP files)

Model Context Protocol development patterns:

  • Tool definition structure
  • Parameter validation with Zod
  • Response formatting standards
  • Error handling patterns

Usage

Always Active

  • development-workflow.mdc - Core practices always in context

Auto-Attached

Rules automatically activate when working with matching files:

  • Test files → testing-standards.mdc
  • Database files → database-patterns.mcp
  • MCP files → mcp-development.mcp

Manual Invocation

Use @ruleName to explicitly reference:

  • @pr-automation - When creating PRs
  • @release-management - When preparing releases

Key Principles

  1. Coverage Over Tests: Always run coverage, maintain 80% thresholds
  2. Structured Commits: Conventional format for automated processing
  3. Automated Publishing: GitHub releases trigger NPM publication
  4. Type Safety: Zod validation throughout the stack
  5. Copilot-Ready: PRs structured for automated review

Quick Commands

# Development
npm run test:coverage    # Always use this instead of npm test
npm run lint:fix        # Fix code style
npm run compile         # TypeScript check

# Database  
npm run db:generate     # Generate migrations
npm run db:migrate      # Apply migrations

# Build
npm run build          # Production build

These rules ensure consistent development practices for solo open source development with automated CI/CD and GitHub Copilot integration.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.