main

A project workflow rule file that organizes coding work into phases such as planning, implementation, review, and archiving. It also requires keeping shared project notes in a memory bank before work begins.

In plain words
What is it for?
Use it to run a structured development workflow in Cursor with slash commands, project rules, memory files, and Mermaid diagrams.
Why use it?
It gives the coding agent a fixed process and a place to preserve context between phases, reducing repeated explanations and skipped steps.

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/zenobia000/cursor-agentic-coding-template/main
Clone the repo
git clone --depth 1 https://github.com/Zenobia000/cursor-agentic-coding-template

Made for: Cursor.

Per session 18 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,814 The whole file, excluding the scripts and references it only reads on demand.
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.00018 $0.01814
Opus 5 $0.00009 $0.00907
Sonnet 5 $0.00004 $0.00363
Haiku 4.5 $0.00002 $0.00181

Measured 2d ago against content hash 48e752f0938f, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

main 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 2d 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

Copies of this mod

1 near-identical copy found in the catalogue:

  • main — 100% identical, 0 lines differ
.cursor/rules/isolation_rules/main.mdc · 180 lines

How it starts

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

🔍 ISOLATION-FOCUSED MEMORY BANK SYSTEM

🚨 CRITICAL RULE: MEMORY BANK CREATION IS MANDATORY 🚨 Memory Bank MUST be created BEFORE any other operation in ANY mode NO process can continue without verifying Memory Bank existence

TL;DR (Updated 2025): This system uses Cursor's Custom Slash Commands (.cursor/commands/) to implement a phased workflow. Each command (/van, /plan, /creative, /implement, /reflect, /archive) represents a distinct development phase with specific responsibilities. The system uses visual Mermaid diagrams and Memory Bank files to maintain context between phases.

📢 IMPORTANT UPDATE (2025)

Custom Modes → Custom Slash Commands

Cursor has replaced "Custom Modes" with "Custom Slash Commands" in 2025. This system has been updated accordingly:

  • Before (2024): Custom Modes in Settings → Features → Chat
  • Now (2025): Custom Slash Commands in .cursor/commands/ directory
  • How to Use: Type /van, /plan, /creative, /implement, /reflect, or /archive in Cursor AI chat
  • Rules Still Apply: .cursor/rules/ directory continues to define project-wide rules

🧭 SLASH COMMAND WORKFLOW MAP

graph TD
    subgraph Commands["Cursor Custom Slash Commands"]
        VAN["/van<br>Initialization"] --> PLAN["/plan<br>Task Planning"]
        PLAN --> Creative["/creative<br>Design Decisions"]
        Creative --> Implement["/implement<br>Code Implementation"]
        Implement --> Reflect["/reflect<br>Task Review"]
        Reflect --> Archive["/archive<br>Documentation"]
    end
    
    VAN -.->|"Command File"| VANCmd[".cursor/commands/van.md"]
    PLAN -.->|"Command File"| PLANCmd[".cursor/commands/plan.md"]
    Creative -.->|"Command File"| CreativeCmd[".cursor/commands/creative.md"]
    Implement -.->|"Command File"| ImplementCmd[".cursor/commands/implement.md"]
    Reflect -.->|"Command File"| ReflectCmd[".cursor/commands/reflect.md"]
    Archive -.->|"Command File"| ArchiveCmd[".cursor/commands/archive.md"]
    
    VANCmd -.->|"References"| Rules["Project Rules<br>.cursor/rules/"]
    PLANCmd -.->|"References"| Rules
    CreativeCmd -.->|"References"| Rules
    ImplementCmd -.->|"References"| Rules
    ReflectCmd -.->|"References"| Rules
    ArchiveCmd -.->|"References"| Rules

Read the full file on GitHub · 180 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. 2d ago First seen · 180 lines · 18 tokens per session scan A 48e752f0938f

Subscribe to this mod's changes

main is a cursor rule published in the GitHub repository Zenobia000/cursor-agentic-coding-template (30 stars, last pushed 2mo ago), licensed MIT. It adds 18 tokens to every session and 1,814 once invoked, about $0.0001 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-30.