dev_workflow

dev_workflow is a cursor rule for Cursor from jgardner04/Ghost-MCP-Server. It costs 4,568 tokens per session, scanned A, a copy of windsurfrules, MIT.

A set of project rules for using a task-management workflow through the task-master command or its development script. It covers creating projects, listing tasks, selecting the next task, and expanding work items.

In plain words
What is it for?
Use it to initialize task files, inspect task status, analyze task complexity, and manage task-driven coding work.
Why use it?
It gives a consistent way to break development work into tracked tasks and continue from the current project state.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

Good fit Use it to initialize task files, inspect task status, analyze task complexity, and manage task-driven coding work.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/jgardner04/ghost-mcp-server/dev_workflow
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/jgardner04/Ghost-MCP-Server

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 dev_workflow

README.md
[![agentmods](https://agentmods.dev/badge/rules/jgardner04/ghost-mcp-server/dev_workflow/github.svg)](https://agentmods.dev/rules/jgardner04/ghost-mcp-server/dev_workflow)
Your own site
<a href="https://agentmods.dev/rules/jgardner04/ghost-mcp-server/dev_workflow"><img src="https://agentmods.dev/badge/rules/jgardner04/ghost-mcp-server/dev_workflow/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 dev_workflow

Your own site · 80×15
<a href="https://agentmods.dev/rules/jgardner04/ghost-mcp-server/dev_workflow"><img src="https://agentmods.dev/badge/rules/jgardner04/ghost-mcp-server/dev_workflow.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 4,568 This file is loaded in full into every session.
When invoked 4,568 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 92% 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.04568 $0.04568
Opus 5.5 $0.01827 $0.01827
Sonnet 5.5 $0.00914 $0.00914
Haiku 4.5 $0.00457 $0.00457

Measured 1mo ago against content hash 1187dd5bd109, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

dev_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 1mo 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

92% identical to windsurfrules — 161 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/dev_workflow.mdc · 334 lines

How it starts

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

  • Global CLI Commands

    • Task Master now provides a global CLI through the task-master command
    • All functionality from scripts/dev.js is available through this interface
    • Install globally with npm install -g claude-task-master or use locally via npx
    • Use task-master <command> instead of node scripts/dev.js <command>
    • Examples:
      • task-master list instead of node scripts/dev.js list
      • task-master next instead of node scripts/dev.js next
      • task-master expand --id=3 instead of node scripts/dev.js expand --id=3
    • All commands accept the same options as their script equivalents
    • The CLI provides additional commands like task-master init for project setup
  • Development Workflow Process

    • Start new projects by running task-master init or node scripts/dev.js parse-prd --input=<prd-file.txt> to generate initial tasks.json
    • Begin coding sessions with task-master list to see current tasks, status, and IDs
    • Analyze task complexity with task-master analyze-complexity --research before breaking down tasks
    • Select tasks based on dependencies (all marked 'done'), priority level, and ID order
    • Clarify tasks by checking task files in tasks/ directory or asking for user input
    • View specific task details using task-master show <id> to understand implementation requirements
    • Break down complex tasks using task-master expand --id=<id> with appropriate flags
    • Clear existing subtasks if needed using task-master clear-subtasks --id=<id> before regenerating
    • Implement code following task details, dependencies, and project standards
    • Verify tasks according to test strategies before marking as complete
    • Mark completed tasks with task-master set-status --id=<id> --status=done
    • Update dependent tasks when implementation differs from original plan
    • Generate task files with task-master generate after updating tasks.json
    • Maintain valid dependency structure with task-master fix-dependencies when needed
    • Respect dependency chains and task priorities when selecting work
    • Report progress regularly using the list command
  • Task Complexity Analysis

    • Run node scripts/dev.js analyze-complexity --research for comprehensive analysis
    • Review complexity report in scripts/task-complexity-report.json
    • Or use node scripts/dev.js complexity-report for a formatted, readable version of the report
    • Focus on tasks with highest complexity scores (8-10) for detailed breakdown
    • Use analysis results to determine appropriate subtask allocation
    • Note that reports are automatically used by the expand command
  • Task Breakdown Process

    • For tasks with complexity analysis, use node scripts/dev.js expand --id=<id>
    • Otherwise use node scripts/dev.js expand --id=<id> --subtasks=<number>
    • Add --research flag to leverage Perplexity AI for research-backed expansion
    • Use --prompt="<context>" to provide additional context when needed
    • Review and adjust generated subtasks as necessary
    • Use --all flag to expand multiple pending tasks at once
    • If subtasks need regeneration, clear them first with clear-subtasks command
  • Implementation Drift Handling

    • When implementation differs significantly from planned approach
    • When future tasks need modification due to current implementation choices
    • When new dependencies or requirements emerge
    • Call node scripts/dev.js update --from=<futureTaskId> --prompt="<explanation>" to update tasks.json
  • Task Status Management

    • Use 'pending' for tasks ready to be worked on
    • Use 'done' for completed and verified tasks
    • Use 'deferred' for postponed tasks
    • Add custom status values as needed for project-specific workflows
  • Task File Format Reference

    # Task ID: <id>
    # Title: <title>
    # Status: <status>
    # Dependencies: <comma-separated list of dependency IDs>
    # Priority: <priority>
    # Description: <brief description>
    # Details:
    <detailed implementation notes>
    
    # Test Strategy:
    <verification approach>
    

Read the full file on GitHub · 334 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. 1mo ago First seen · 334 lines · 4,568 tokens per session scan A 1187dd5bd109

Subscribe to this mod's changes

dev_workflow is a cursor rule published in the GitHub repository jgardner04/Ghost-MCP-Server (8 stars, last pushed 1mo ago), licensed MIT. It adds 4,568 tokens to every session, about $0.0183 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 92% identical to windsurfrules, differing in 161 lines, and is treated as a copy.