generate-tasks

generate-tasks is a cursor rule for Cursor from ragnar-johannsson/mcp-sgf. It costs 0 tokens per session (902 once invoked), scanned A, a copy of generate-tasks, MIT.

A rule for turning a Product Requirements Document, or PRD, into a Markdown task plan for a developer. It creates high-level tasks first, then waits for confirmation before expanding them into smaller steps.

In plain words
What is it for?
Reading a PRD, creating a task file under /tasks, proposing parent tasks, and generating sub-tasks after the user says Go.
Why use it?
It converts feature requirements into an implementation checklist and prevents detailed work from starting before the main plan is approved.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

Good fit Reading a PRD, creating a task file under /tasks, proposing parent tasks, and generating sub-tasks after the user says Go.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/ragnar-johannsson/mcp-sgf/generate-tasks
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.

Clone the repo
git clone --depth 1 https://github.com/ragnar-johannsson/mcp-sgf

Made for: Cursor.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for generate-tasks

README.md
[![agentmods](https://agentmods.dev/badge/rules/ragnar-johannsson/mcp-sgf/generate-tasks/github.svg)](https://agentmods.dev/rules/ragnar-johannsson/mcp-sgf/generate-tasks)
Your own site
<a href="https://agentmods.dev/rules/ragnar-johannsson/mcp-sgf/generate-tasks"><img src="https://agentmods.dev/badge/rules/ragnar-johannsson/mcp-sgf/generate-tasks/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for generate-tasks

Your own site · 80×15
<a href="https://agentmods.dev/rules/ragnar-johannsson/mcp-sgf/generate-tasks"><img src="https://agentmods.dev/badge/rules/ragnar-johannsson/mcp-sgf/generate-tasks.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Nothing until a file matches its globs; then the whole rule loads.
When invoked 902 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 95% copy Near-identical to another mod 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.1 $0.00000 $0.00902
Opus 5 $0.00000 $0.00451
Sonnet 5 $0.00000 $0.00180
Haiku 4.5 $0.00000 $0.00090

Measured 8d ago against content hash 8dfd07eb2ad6, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

generate-tasks 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 8d 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.

Origin

This is a copy

95% identical to generate-tasks — 12 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.cursor/rules/generate-tasks.mdc · 65 lines

How it starts

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

Rule: Generating a Task List from a PRD

Goal

To guide an AI assistant in creating a detailed, step-by-step task list in Markdown format based on an existing Product Requirements Document (PRD). The task list should guide a developer through implementation.

Output

  • Format: Markdown (.md)
  • Location: /tasks/
  • Filename: tasks-[prd-file-name].md (e.g., tasks-prd-user-profile-editing.md)

Process

  1. Receive PRD Reference: The user points the AI to a specific PRD file
  2. Analyze PRD: The AI reads and analyzes the functional requirements, user stories, and other sections of the specified PRD.
  3. Phase 1: Generate Parent Tasks: Based on the PRD analysis, create the file and generate the main, high-level tasks required to implement the feature. Use your judgement on how many high-level tasks to use. It's likely to be about 5. Present these tasks to the user in the specified format (without sub-tasks yet). Inform the user: "I have generated the high-level tasks based on the PRD. Ready to generate the sub-tasks? Respond with 'Go' to proceed."
  4. Wait for Confirmation: Pause and wait for the user to respond with "Go".
  5. Phase 2: Generate Sub-Tasks: Once the user confirms, break down each parent task into smaller, actionable sub-tasks necessary to complete the parent task. Ensure sub-tasks logically follow from the parent task and cover the implementation details implied by the PRD.
  6. Identify Relevant Files: Based on the tasks and PRD, identify potential files that will need to be created or modified. List these under the Relevant Files section, including corresponding test files if applicable.
  7. Generate Final Output: Combine the parent tasks, sub-tasks, relevant files, and notes into the final Markdown structure.
  8. Save Task List: Save the generated document in the /tasks/ directory with the filename tasks-[prd-file-name].md, where [prd-file-name] matches the base name of the input PRD file (e.g., if the input was prd-user-profile-editing.md, the output is tasks-prd-user-profile-editing.md).

Read the full file on GitHub · 65 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. 8d ago First seen · 65 lines · 0 tokens per session scan A 8dfd07eb2ad6

Subscribe to this mod's changes

generate-tasks is a cursor rule published in the GitHub repository ragnar-johannsson/mcp-sgf (0 stars, last pushed 1y ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 902 tokens. A static security scan graded it A with 0 findings. It is 95% identical to generate-tasks, differing in 12 lines, and is treated as a copy.

Related

Other cursor rules, from other repositories

slice-tasks

PLANNING SPINE STEP 2 of 3 — Slice the work: break a scoped PRD into vertical-slice stories in specs/epics/. Use after scope-work (step 1), before plan-work (step 3). Not a substitute for scope-work or plan-work.

danielvm-git/bigpowers · 59 tokens

iris

GitHub operations specialist — branches, pull requests, issues, releases, tags. Called by zeus after review. Never pushes or merges without explicit human approval. Integrates with VS Code GitHub Pull Requests extension.

ils15/pantheon-legacy · 43 tokens

elite-orchestrator

Elite orchestrator for mission-critical, enterprise-scale tasks requiring strategic coordination of 7+ agents across all domains. Makes architectural decisions, manages risk, ensures business continuity, and delivers enterprise-grade outcomes. Use for platform migrations, security incidents, multi-system integrations…

MN-Lizard-Team/aiyu-multi-agent · 94 tokens

feedback-enhanced

Rules for an interactive feedback system that lets users and an AI agent discuss complex development work in real time. It includes guidance for recording decisions, tracking progress and handling detailed inputs such as code and diagrams.

Mr-chen-05/rules-2.1-optimized · 2,968 tokens

project-onboarding-rule

Automatically onboards existing projects into the AI-driven development workflow.

brunogama/ios-cursor-rules · 1,324 tokens

linear-in-review

After finishing a Linear issue, set its status to In Review (never Done).

nate-raubenheimer/lawpracticeza-mcp · 235 tokens