development

A development guide for the pyramid-mcp project that defines how to plan work, organize tasks, review code, and collaborate.

In plain words
What is it for?
Use it when beginning a task, breaking down a large change, considering edge cases, reviewing existing code, or moving work through the project's planning files.
Why use it?
It prevents coding from starting without a clear approach and keeps current, future, and completed work recorded in planning files.

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/cartaorobbin/pyramid-mcp/development
Clone the repo
git clone --depth 1 https://github.com/cartaorobbin/pyramid-mcp

Made for: Cursor.

Per session 8,377 This file is loaded in full into every session.
When invoked 8,377 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.08377 $0.08377
Opus 5 $0.04189 $0.04189
Sonnet 5 $0.01675 $0.01675
Haiku 4.5 $0.00838 $0.00838

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

Security

Grade A, and why

development 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/development.mdc · 1,201 lines

How it starts

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

Development Rules

This document outlines the development rules and guidelines for the pyramid-mcp project. Following these rules ensures code quality, maintainability, and effective collaboration.

Core Development Principles

1. Plan Before Coding ⭐

ALWAYS plan before writing any code.

  • Think first, code second: Before touching any code, take time to understand the problem and design the solution
  • Create a clear plan: Write down what you're going to do, how you're going to do it, and what the expected outcome is
  • Consider edge cases: Think through potential issues and how to handle them
  • Review existing code: Understand how your changes fit into the existing codebase
  • Break down complex tasks: Split large features into smaller, manageable pieces

2. Task Management with Planning Files ⭐

ALWAYS maintain planning files to track what we did.

  • Organized structure: Use planning/ directory for all planning files
  • Active vs Backlog: Use planning/general.md for CURRENT tasks being worked on, planning/backlog.md for planned future tasks
  • Task Flow: Move tasks from planning/backlog.mdplanning/general.mdplanning/done.md as they progress
  • Focus Management: Keep planning/general.md focused (max 1-3 active task groups)
  • Create/update files: Before starting any work, document what you plan to do in the appropriate planning file
  • Track progress: Update the files as you complete tasks
  • Document decisions: Record important decisions and why they were made
  • Include completion status: Mark tasks as TODO, IN PROGRESS, DONE, or BLOCKED
  • Reference issues/PRs: Link to relevant GitHub issues or pull requests

Code Quality Standards

Pre-Development Checklist

Before starting any development work:

  • Read and understand the requirement
  • Create or update appropriate planning file with your planned work
  • Add new tasks to planning/backlog.md, move to planning/general.md when starting active work
  • Check existing issues and PRs for related work
  • Plan your approach and get feedback if needed
  • Ensure your development environment is set up (make install)
  • Plan test strategy: Identify what tests need to be written/updated

Read the full file on GitHub · 1,201 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 · 1,201 lines · 8,377 tokens per session scan A e80bcd02dd56

Subscribe to this mod's changes

development is a cursor rule published in the GitHub repository cartaorobbin/pyramid-mcp (3 stars, last pushed 10mo ago), licensed MIT. It adds 8,377 tokens to every session, about $0.0419 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-31.