workflow-examples

A reference card with examples for moving a coding task through defined stages, from initialization and planning to implementation and archiving.

In plain words
What is it for?
Use it to structure task plans, track completed steps, and record verification commitments.
Why use it?
It helps keep work organized and makes task progress visible instead of relying on memory.

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/kfnzero/mantis-mcp-server/workflow-examples
Clone the repo
git clone --depth 1 https://github.com/kfnzero/mantis-mcp-server

Made for: Cursor.

Per session 0 Nothing until a file matches its globs; then the whole rule loads.
When invoked 2,038 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.00000 $0.02038
Opus 5 $0.00000 $0.01019
Sonnet 5 $0.00000 $0.00408
Haiku 4.5 $0.00000 $0.00204

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

Security

Grade A, and why

workflow-examples 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.

.cursor/rules/Extended Details/workflow-examples.mdc · 335 lines

How it starts

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

Workflow Implementation Examples

INITIALIZATION Examples

Example (MUST FOLLOW THIS FORMAT):

## INITIALIZATION
Task: Implement User Authentication System
Objective: Create secure login functionality with JWT token support

[X] Review all Memory Bank files complete
[X] .cursorrules file created/reviewed
[X] tasks.md file verified/created
[ ] Documentation setup pending
[ ] Task planning pending
[ ] Implementation pending
[ ] Reflection pending
[ ] Archiving pending

## Section Header Tracking
[ ] INITIALIZATION
[ ] DOCUMENTATION SETUP 
[ ] TASK PLANNING
[ ] IMPLEMENTATION
[ ] REFLECTION
[ ] ARCHIVING

## Verification Commitment
I WILL run the full verification checklist before completing this task.
I will maintain tasks.md as the single source of truth for task status.

DOCUMENTATION SETUP Examples

Example (MUST FOLLOW THIS FORMAT):

## DOCUMENTATION SETUP

After reviewing the Memory Bank files, I've updated the following:

[X] Updated systemPatterns.md with authentication flow design:
   - Added JWT authentication sequence diagram
   - Documented token refresh mechanism
   - Added security considerations for authentication

[X] Updated techContext.md with JWT library requirements:
   - Added jsonwebtoken dependency
   - Added bcrypt for password hashing
   - Added dotenv for environment variable management

[X] Updated activeContext.md with implementation plan:
   - Added current focus on authentication system
   - Documented key decisions on token expiration
   - Added next steps after authentication is complete

[X] Updated progress.md with authentication milestones:
   - Added authentication system as in-progress feature
   - Documented dependencies on database setup
   - Added success criteria for authentication feature

[X] Updated tasks.md with authentication tasks:
   - Added main authentication task with [ ] marker
   - Added subtasks for registration, login, and middleware
   - Set initial task priority and deadlines

[X] Updated .cursorrules with project-specific patterns:
   - Added authentication naming conventions
   - Documented password validation requirements
   - Added security validation patterns

## Section Header Tracking
[X] INITIALIZATION
[X] DOCUMENTATION SETUP 
[ ] TASK PLANNING
[ ] IMPLEMENTATION
[ ] REFLECTION
[ ] ARCHIVING

Read the full file on GitHub · 335 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 · 335 lines · 2,038 tokens per session scan A 4cfeaf46a645

Subscribe to this mod's changes

workflow-examples is a cursor rule published in the GitHub repository kfnzero/mantis-mcp-server (10 stars, last pushed 12mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,038 tokens. 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.