cursorrules

cursorrules is a cursor rule for Cursor from lukedj78/dev-flow. It costs 845 tokens per session, scanned A, original, MIT.

A set of Cursor rules and reference documents for guiding product development from an idea to a running app. It uses a file called .workflow/meta.json to track the project's progress and structure.

In plain words
What is it for?
Use it for drafting product requirements, splitting them into tasks, extracting designs from Figma or images, building pages from screenshots, and adding modules such as authentication, databases, payments, email, tests, or CI.
Why use it?
It gives the agent a consistent process for turning ideas into requirements, designs, code, and project modules.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/. Also seen: mentions Claude Code; mentions Cursor.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python3 dev-flow-skills/dev-flow/scripts/init_workflow.py . --name "<project>".

Good fit Use it for drafting product requirements, splitting them into tasks, extracting designs from Figma or images, building pages from screenshots, and adding modules such as authentication, databases, payments, email, tests, or CI.

Compare 6 cursor rules from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/lukedj78/dev-flow
agentmods
npx agentmods add rules/lukedj78/dev-flow/cursorrules

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 cursorrules

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

Your own site · 80×15
<a href="https://agentmods.dev/rules/lukedj78/dev-flow/cursorrules"><img src="https://agentmods.dev/badge/rules/lukedj78/dev-flow/cursorrules.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 845 This file is loaded in full into every session.
When invoked 845 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 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.1 $0.00845 $0.00845
Opus 5.5 $0.00338 $0.00338
Sonnet 5.5 $0.00169 $0.00169
Haiku 4.5 $0.00085 $0.00085

Measured 1mo ago against content hash 6de151769a00, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 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.

bootstrap/templates/.cursorrules · 77 lines

How it starts

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

dev-flow — Cursor rules

You have access to dev-flow, a set of 8 reference documents (under dev-flow-skills/) that guide product development from idea to running app via a filesystem contract at .workflow/meta.json.

How to use

When the user's request matches one of these patterns, READ the corresponding skill's SKILL.md BEFORE doing the work:

User says… Read first
"I have an idea: …" / "I want to build X" dev-flow-skills/dev-flow/SKILL.md (orchestrator) → routes to next
"Capture this idea / draft a PRD" dev-flow-skills/prd-from-idea/SKILL.md
"Split the PRD into tasks" dev-flow-skills/prd-to-tasks/SKILL.md
"Extract design from Figma" / "Use this Figma URL" dev-flow-skills/figma-to-design-md/SKILL.md
"Use these images for the design" / "Make a DESIGN.md from these screenshots" dev-flow-skills/image-to-design-md/SKILL.md
"Scaffold the app from DESIGN.md" / "Apply this DESIGN.md to shadcn/MUI" dev-flow-skills/design-md-to-app/SKILL.md
"Build this page from a screenshot" dev-flow-skills/screenshot-to-page/SKILL.md
"Add auth / db / payments / email / tests / CI" dev-flow-skills/module-add/SKILL.md

Read meta.json first

Before any non-trivial work, read <project-root>/.workflow/meta.json. The phase field tells you the current state. The stack field tells you which framework + UI library are in use. The artifacts field records what's been produced and from what.

If .workflow/ doesn't exist, run:

python3 dev-flow-skills/dev-flow/scripts/init_workflow.py . --name "<project>"

Tool name mapping

Skills use Claude Code naming. Cursor uses different tool names — translate semantically:

Skill says Cursor equivalent
Bash terminal command
Read filesystem read
Edit (string replace) edit_file
Write edit_file (new file)
Glob find_files
Grep grep_search

State updates

After any skill produces a contract file (PROJECT.md, PRD.md, DESIGN.md, registry.json, generated pages, schema), record it:

Read the full file on GitHub · 77 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 · 77 lines · 845 tokens per session scan A 6de151769a00

Subscribe to this mod's changes

cursorrules is a cursor rule published in the GitHub repository lukedj78/dev-flow (6 stars, last pushed yesterday), licensed MIT. It adds 845 tokens to every session, about $0.0034 per session on Opus 5.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.