agentleFS
floriscornelfloriscornel/todo-mcp/.cursor/rules/development-workflow.mdc

todo-mcp / rules

Cursor rule2 starsChanged 18 months agoMITView on GitHub

Examples: - feat: add priority filtering to getTasks tool - fix: handle case-insensitive list names correctly - test: add edge cases for task completion

The file

Show its rules and text

We split this development-workflow.mdc into the rules it gives an agent

14 rules. About 0 are common, 9 are distinctive, and 5 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈9

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 5

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Before any commit, ensure all tests pass with coverage requirements

    line 10
  2. Very specific:

    Run npm run lint:fix to automatically fix code style issues

    line 11
  3. Very specific:

    Use npm run format for consistent formatting with Biome

    line 12
  4. Distinctive:

    Follow conventional commits format:

    line 15
  5. Distinctive:

    Use this flow for all requests:

    line 30
  6. Very specific:

    Run full test suite: npm run test:coverage

    line 34
  7. Very specific:

    Ensure TypeScript compiles: npm run compile

    line 35
  8. Distinctive:

    Use GitHub releases to trigger automated publishing

    line 41
  9. Distinctive:

    Test migrations with both dev and test databases

    line 47
  10. Distinctive:

    Use Zod for runtime validation

    line 52
  11. Distinctive:

    Follow the established error handling patterns

    line 53
  12. Distinctive:

    Keep functions focused and testable

    line 54
  13. Very specific:

    Use the todo MCP to manage tasks in a list called floriscornel/todo-mcp.

    line 57
  14. Distinctive:

    When the user asks you to do something, start by creating a plan and tasks in the mcp.

    line 58

≈ “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
development-workflow.mdc
---
description: 
globs: 
alwaysApply: true
---
# Development Workflow for Todo MCP

## Testing & Quality Assurance
- **ALWAYS run `npm run test:coverage` instead of `npm test`** - We maintain 80% coverage thresholds
- Before any commit, ensure all tests pass with coverage requirements
- Run `npm run lint:fix` to automatically fix code style issues
- Use `npm run format` for consistent formatting with Biome

## Commit Structure
Follow conventional commits format:
- `feat:` - New features
- `fix:` - Bug fixes  
- `docs:` - Documentation changes
- `test:` - Adding or updating tests
- `refactor:` - Code refactoring
- `chore:` - Dependency updates, build changes

Examples:
- `feat: add priority filtering to getTasks tool`
- `fix: handle case-insensitive list names correctly`
- `test: add edge cases for task completion`

## Branch & PR Workflow
You should not commit directly to the main branch!
Use this flow for all requests:
1. **Create feature branches** from `main`
2. **Branch naming**: `feature/short-description` or `fix/issue-description`
3. **Before creating PR**:
   - Run full test suite: `npm run test:coverage`
   - Ensure TypeScript compiles: `npm run compile`
   - Run linting: `npm run lint`
4. **PR should be reviewed by GitHub Copilot** (structured for automated review)

## Publication & Releases
- **NEVER run `npm publish` manually**
- Use GitHub releases to trigger automated publishing
- Version bumps should be in separate commits following semver
- Let the GitHub Actions workflow handle NPM publication

## Database Changes
- Generate migrations with `npm run db:generate` after schema changes
- Test migrations with both dev and test databases
- Include migration files in commits

## Code Quality Standards
- Maintain strict TypeScript configuration
- Use Zod for runtime validation
- Follow the established error handling patterns
- Keep functions focused and testable

## Task discovery and management
Use the `todo` MCP to manage tasks in a list called `floriscornel/todo-mcp`.
When the user asks you to do something, start by creating a plan and tasks in the mcp.
Complete tasks one by one in the mcp until everything is finished.

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.