A set of cursor rules I'm using and experimenting with
This repository contains a collection of Cursor AI rules designed to streamline software development workflows. These rules guide AI assistants through structured processes for creating Product Requirements Documents (PRDs) and generating detailed task lists for implementation.
Purpose: Generate comprehensive Product Requirements Documents from initial user prompts
What it does:
- Guides AI through asking clarifying questions before writing PRDs
- Creates structured PRDs with clear sections (goals, user stories, functional requirements, etc.)
- Targets junior developers as the primary audience
- Saves PRDs to
/tasks/prd-[feature-name].md
Key Features:
- Interactive clarification process
- Standardized PRD structure with 9 key sections
- Emphasis on clear, actionable requirements
- Scope management with explicit non-goals
Purpose: Convert PRDs into detailed, step-by-step implementation task lists
What it does:
- Analyzes existing PRDs to extract implementation requirements
- Creates hierarchical task lists with parent tasks and sub-tasks
- Identifies relevant files that need to be created or modified
- Uses a two-phase approach (high-level tasks β detailed sub-tasks)
Key Features:
- Interactive confirmation workflow ("Go" to proceed)
- Structured output format with checkboxes
- File identification with test file recommendations
- Junior developer-focused instructions
Purpose: Advanced task generation using the "tracer bullet" methodology
What it does:
- Implements tracer bullet development approach
- Creates minimal end-to-end feature slices for rapid validation
- Separates tracer bullet tasks (TB-) from production readiness tasks (PR-)
- Multi-phase workflow with validation checkpoints
Key Features:
- Tracer bullet methodology for rapid prototyping
- Two-phase development: minimal viable slice β production hardening
- Interactive gates with specific commands ("Go TB", "Go PR", "Go PR Sub")
- Focus on visible, working features before polish
Purpose: Simplified version of task list generation
What it does:
- Streamlined task generation from PRDs
- Similar to
process_task_list.mdcbut with a more concise approach - Focuses on core task breakdown without advanced methodologies
These rules are designed to work with Cursor AI to:
- Start with a feature idea β Use
create_prd.mdcto create a comprehensive PRD - Convert PRD to tasks β Use either:
process_task_list.mdcfor standard task breakdowngenerate_tasks_tracer.mdcfor tracer bullet methodologygenerate_tasks.mdcfor simplified task generation
All generated documents are saved to /tasks/ directory:
- PRDs:
prd-[feature-name].md - Task lists:
tasks-[prd-file-name].md
These rules assume the implementation will be done by junior developers, so they emphasize:
- Clear, unambiguous instructions
- Detailed step-by-step breakdowns
- Explicit file identification and testing guidelines
- Structured, consistent output formats