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.
Where files are headingNew Cursor rule files have more rules about planning and tracking tasks, and fewer about code style.
Of the Cursor rule files we read, the 1,533 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository6 other files it gives its agents.
- .cursor/rules/database-patterns.mdcCursor rule
- .cursor/rules/development-workflow.mdcCursor rule
- .cursor/rules/mcp-development.mdcCursor rule
- .cursor/rules/pr-automation.mdcCursor rule
- .cursor/rules/release-management.mdcCursor rule
- .cursor/rules/testing-standards.mdcCursor rule
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
- Very specific: line 9
Testing: Always use npm run test:coverage instead of npm test
- Very specific: line 12
Publication: Never run npm publish manually - use GitHub releases
- Distinctive: line 17
Test structure and naming conventions
- Very specific: line 60
Use @ruleName to explicitly reference:
- Distinctive: line 66
Coverage Over Tests: Always run coverage, maintain 80% thresholds
≈ “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.
Files
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:coverageinstead ofnpm test - Commit Structure: Conventional commits format
- Branch Workflow: Feature branches with proper naming
- Publication: Never run
npm publishmanually - 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
- Coverage Over Tests: Always run coverage, maintain 80% thresholds
- Structured Commits: Conventional format for automated processing
- Automated Publishing: GitHub releases trigger NPM publication
- Type Safety: Zod validation throughout the stack
- 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 buildThese rules ensure consistent development practices for solo open source development with automated CI/CD and GitHub Copilot integration.
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
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.

