cursorrules

A task-tracking rule for coding work that requires each feature or bug fix to be recorded and claimed in Moo Tasks before code changes begin.

In plain words
What is it for?
Creating and claiming implementation tasks, documenting technical plans, listing acceptance criteria, and tracking coding work.
Why use it?
It keeps work tied to a documented task with a clear goal, plan, affected files, and completion checks.

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/shekarsiri/moo-tasks/cursorrules
Clone the repo
git clone --depth 1 https://github.com/shekarsiri/moo-tasks

Made for: Cursor.

Per session 867 This file is loaded in full into every session.
When invoked 867 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.00867 $0.00867
Opus 5 $0.00434 $0.00434
Sonnet 5 $0.00173 $0.00173
Haiku 4.5 $0.00087 $0.00087

Measured yesterday against content hash 7f151bb7c443, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

cursorrules 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 yesterday.

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.

.cursorrules · 64 lines

How it starts

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

🐮 AGENT GUIDELINES & PROTOCOL (Moo Tasks)

⚠️ CRITICAL DIRECTIVE: You are connected to the Moo Tasks MCP server. For EVERY user instruction, bug fix, or feature request, you MUST record and track your work in Moo Tasks with FULL TECHNICAL DETAILS BEFORE modifying code or running terminal commands. Never edit code without an active claimed task ID.


When the user asks you to implement a feature or fix an issue, use moo_quick_start to atomically create and claim the task in a single step with complete specifications:

{
  "title": "Implement feature X",
  "type": "feature",
  "tags": ["backend", "api"],
  "description": "### Technical Overview\nDetailed design, architectural breakdown, and step-by-step implementation plan.\n\n### Implementation Plan\n1. Step 1...\n2. Step 2...",
  "acceptanceCriteria": "- [ ] Clear, testable markdown definition of done\n- [ ] Unit tests pass",
  "priority": "high",
  "declaredFiles": ["src/feature.ts"]
}

🎯 Full Mandatory 6-Step Workflow Protocol

1. Goal Anchoring (Prevent Scope Drift)

  • Always anchor the human user's overarching request with moo_create_goal(title, verbatimPrompt, description).
  • Always include:
    • verbatimPrompt: Store the user's EXACT verbatim prompt to maintain fidelity.
    • description: Full rich Markdown PRD, architectural breakdown, component boundaries, and milestones.

2. Task Planning & Full Specifications

  • Break down the goal into small, atomic tasks before touching code:
    • Call moo_create_task or moo_create_tasks_batch.
    • Task titles must be clean, descriptive text — do NOT embed priority codes, category prefixes, or sequence numbers in titles (e.g. avoid "C1: …", "H2: …", "UX-3: …", "M1 — …"). Use the priority, type, and tags fields for classification.
    • ALWAYS write a comprehensive description containing:
      1. Technical Overview & Architecture: Why and how this is built.
      2. Step-by-Step Implementation Plan: Numbered actionable steps.
      3. Design Decisions / Code Snippets: Key types, schemas, or endpoints.
    • ALWAYS write testable acceptanceCriteria in Markdown with checkboxes (- [ ]) BEFORE touching code.
    • Declare declaredFiles and prerequisite dependsOnTaskIds (DAG cycle prevention is enforced).
    • Open tasks cap (max 10 open items per goal) is strictly enforced to prevent over-planning.

Read the full file on GitHub · 64 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. yesterday First seen · 64 lines · 867 tokens per session scan A 7f151bb7c443

Subscribe to this mod's changes

cursorrules is a cursor rule published in the GitHub repository shekarsiri/moo-tasks (2 stars, last pushed 12d ago), licensed MIT. It adds 867 tokens to every session, about $0.0043 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.