implementation-workflow

A set of rules requiring a written plan and review before making code changes.

In plain words
What is it for?
Use it for implementation requests that need planning, review, explicit approval, tests, and a final documentation pass.
Why use it?
It prevents premature implementation and makes the intended scope, checks, approval point, and completion conditions clear.

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/leshchenko1979/fast-mcp-telegram/implementation-workflow
Clone the repo
git clone --depth 1 https://github.com/leshchenko1979/fast-mcp-telegram

Made for: Cursor.

Per session 1,721 This file is loaded in full into every session.
When invoked 1,721 The same file — it is already loaded in full.
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.01721 $0.01721
Opus 5 $0.00860 $0.00860
Sonnet 5 $0.00344 $0.00344
Haiku 4.5 $0.00172 $0.00172

Measured yesterday against content hash fe6adde32793, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

implementation-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 yesterday.

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:

.cursor/rules/implementation-workflow.mdc · 112 lines

How it starts

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

Implementation workflow

Any code change follows steps 1–5. The user approves at step 3 only (the plan), not implementation diffs.

Start: Plan mode before step 1. No code until explicit step 3 approval.

Steps

Step Mode Action Gate
1 Plan Scope, files, exit commands, clean-break checks; link checklist rows; learning fields (below). Plan file: ~/.cursor/plans/<task>_*.md only (not in-repo). If scope is too big → scope split. Hypothesis, success signal, and kill criteria recorded
2 Plan Pre-impl review (code-reviewer, readonly): trim scope; favor simplicity; DX if user-facing; Deferred for cuts; or phase split (below). Revise plan; no code. Scope trimmed or split agreed; plan favors simplicity; exits set; Deferred if anything cut; plan stand-alone; incremental edits keep previous plan
3 Plan → Agent Present plan; wait for approval; roadmap ask if Deferred (below). Roadmap ask if Deferred; explicit approval
4 Agent Run exit tests/commands; fix failures. No extra confirmation prompts. Exits green
5 Agent Closeout (below): one pass — review, fixes, docs. Closeout checklist done

Before step 4: reread CONTRIBUTING.md (Design Philosophy, Code Quality, Development Workflow). Boundaries: design philosophy and tool-count guidelines in CONTRIBUTING; session/MCP patterns in systemPatterns.md.

Step 1 — Learning fields

Record in the plan (short bullets; full sentences optional):

Field Purpose
Hypothesis What we believe this change will prove or enable
Success signal What “worked” looks like beyond exit commands (user outcome, metric, or spike claim)
Kill / stop When to abandon or narrow scope before more implementation (failed exit class, wrong approach, scope creep)

Read the full file on GitHub · 112 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. yesterday First seen · 112 lines · 1,721 tokens per session scan A fe6adde32793

Subscribe to this mod's changes

implementation-workflow is a cursor rule published in the GitHub repository leshchenko1979/fast-mcp-telegram (49 stars, last pushed 8d ago), licensed MIT. It adds 1,721 tokens to every session, about $0.0086 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.