development-workflow

Repository rules for developing Todo MCP, including testing, code formatting, commit messages, branches, pull requests, and releases. A pull request is a proposed code change submitted for review before merging.

In plain words
What is it for?
Use them before committing or publishing changes: run the required tests and checks, format the code, create the right branch, and use the expected commit style.
Why use it?
They create a repeatable process that helps catch errors, maintain code quality, and keep project history organized.

Cursor rule for Cursor

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add rules/floriscornel/todo-mcp/development-workflow
Clone the repo
git clone --depth 1 https://github.com/floriscornel/todo-mcp

Made for: Cursor.

Per session 506 This file is loaded in full into every session.
When invoked 506 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00506 $0.00506
Opus 5 $0.00253 $0.00253
Sonnet 5 $0.00101 $0.00101
Haiku 4.5 $0.00051 $0.00051

Measured 3d ago against content hash 739d81bfc3f7, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

development-workflow scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.cursor/rules/development-workflow.mdc · 60 lines

How it starts

The opening of the file, as written. The whole thing — 60 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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.

Read the full file on GitHub · 60 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 60 lines · 506 tokens per session scan A 739d81bfc3f7

Subscribe to this mod's changes

development-workflow is a cursor rule published in the GitHub repository floriscornel/todo-mcp (2 stars, last pushed 6mo ago), licensed MIT. It adds 506 tokens to every session, about $0.0025 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.