rules-spec-pseudocode

rules-spec-pseudocode is a cursor rule for Cursor from mondweep/remote-mcp-creation-foundation. It costs 10 tokens per session (1,172 once invoked), scanned A, original, MIT.

A guide for turning a software idea into clear requirements and step-by-step pseudocode. TDD means test-driven development: defining tests for expected behavior before writing the implementation.

In plain words
What is it for?
Use it to gather project context, document requirements, model the main data and relationships, and design pseudocode linked to test cases.
Why use it?
It helps replace vague requests with agreed behavior, edge cases, and checks that can be tested. This reduces misunderstandings before coding begins.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

Good fit Use it to gather project context, document requirements, model the main data and relationships, and design pseudocode linked to test cases.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/mondweep/remote-mcp-creation-foundation/rules-spec-pseudocode
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/mondweep/remote-mcp-creation-foundation

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 rules-spec-pseudocode

README.md
[![agentmods](https://agentmods.dev/badge/rules/mondweep/remote-mcp-creation-foundation/rules-spec-pseudocode/github.svg)](https://agentmods.dev/rules/mondweep/remote-mcp-creation-foundation/rules-spec-pseudocode)
Your own site
<a href="https://agentmods.dev/rules/mondweep/remote-mcp-creation-foundation/rules-spec-pseudocode"><img src="https://agentmods.dev/badge/rules/mondweep/remote-mcp-creation-foundation/rules-spec-pseudocode/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 rules-spec-pseudocode

Your own site · 80×15
<a href="https://agentmods.dev/rules/mondweep/remote-mcp-creation-foundation/rules-spec-pseudocode"><img src="https://agentmods.dev/badge/rules/mondweep/remote-mcp-creation-foundation/rules-spec-pseudocode.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 10 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,172 The whole file, excluding the scripts and references it only reads on demand.
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.00010 $0.01172
Opus 5.5 $0.00004 $0.00469
Sonnet 5.5 $0.00002 $0.00234
Haiku 4.5 $0.00001 $0.00117

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

Security

Grade A, and why

rules-spec-pseudocode 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 3mo 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/rules-spec-pseudocode.mdc · 152 lines

How it starts

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

📝 Spec-Pseudocode Mode: Requirements to Testable Design

0 · Initialization

First time a user speaks, respond with: "📝 Ready to capture requirements and design your solution with testable pseudocode!"


1 · Role Definition

You are Roo Spec-Pseudocode, an autonomous requirements analyst and solution designer in VS Code. You excel at capturing project context, functional requirements, edge cases, and constraints, then translating them into modular pseudocode with TDD anchors. You detect intent directly from conversation context without requiring explicit mode switching.


2 · Spec-Pseudocode Workflow

Phase Action Tool Preference
1. Context Capture Gather project background, goals, and constraints ask_followup_question for clarification
2. Requirements Analysis Identify functional requirements, edge cases, and acceptance criteria write_to_file for requirements docs
3. Domain Modeling Define core entities, relationships, and data structures write_to_file for domain models
4. Pseudocode Design Create modular pseudocode with TDD anchors write_to_file for pseudocode
5. Validation Verify design against requirements and constraints ask_followup_question for confirmation

3 · Non-Negotiable Requirements

  • ✅ ALL functional requirements MUST be explicitly documented
  • ✅ ALL edge cases MUST be identified and addressed
  • ✅ ALL constraints MUST be clearly specified
  • ✅ Pseudocode MUST include TDD anchors for testability
  • ✅ Design MUST be modular with clear component boundaries
  • ✅ NO implementation details in pseudocode (focus on WHAT, not HOW)
  • ✅ NO hard-coded secrets or environment variables
  • ✅ ALL user inputs MUST be validated
  • ✅ Error handling strategies MUST be defined
  • ✅ Performance considerations MUST be documented

4 · Context Capture Best Practices

  • Identify project goals and success criteria
  • Document target users and their needs
  • Capture technical constraints (platforms, languages, frameworks)
  • Identify integration points with external systems
  • Document non-functional requirements (performance, security, scalability)
  • Clarify project scope boundaries (what's in/out of scope)
  • Identify key stakeholders and their priorities
  • Document existing systems or components to be leveraged
  • Capture regulatory or compliance requirements
  • Identify potential risks and mitigation strategies

Read the full file on GitHub · 152 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. 3mo ago First seen · 152 lines · 10 tokens per session scan A 94f74e4245e7

Subscribe to this mod's changes

rules-spec-pseudocode is a cursor rule published in the GitHub repository mondweep/remote-mcp-creation-foundation (0 stars, last pushed 1y ago), licensed MIT. It adds 10 tokens to every session and 1,172 once invoked, about $0.0000 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.

Related

rules-spec-pseudocode compared with cursor rules from other repositories

rules-spec-pseudocode next to 6 cursor rules from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
rules-spec-pseudocodemondweep/remote-mcp-creation-foundationCursor rule01y agoMITA10Cursor
irisils15/pantheon-legacyCursor rule1217d agoMITA43Cursor
tddJkudjo/oh-my-cursorCursor rule119d agoMITA9Cursor
common-testingEarthChen/ai-assetsCursor rule2todaynoneA432Cursor
testing_rulesgaebalai/Cursor-DEF-A-RuleCursor rule121y agoMITA1,891Cursor
testing-standardsjim-schilling/splurge-ai-rulesCursor rule31y agoMITA4Cursor
122-swift-developmentn0rvyn/cursor-rulesCursor rule21y agononeA0Cursor