Borrowing it
Nothing to install: this file belongs to sandraschi/leanforge-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/sandraschi/leanforge-mcp/main/.windsurfrulesgit clone --depth 1 https://github.com/sandraschi/leanforge-mcpWrote 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.
[](https://agentmods.dev/rules/sandraschi/leanforge-mcp/windsurfrules)<a href="https://agentmods.dev/rules/sandraschi/leanforge-mcp/windsurfrules"><img src="https://agentmods.dev/badge/rules/sandraschi/leanforge-mcp/windsurfrules/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.
<a href="https://agentmods.dev/rules/sandraschi/leanforge-mcp/windsurfrules"><img src="https://agentmods.dev/badge/rules/sandraschi/leanforge-mcp/windsurfrules.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00291 | $0.00291 |
| Opus 5.5 | $0.00116 | $0.00116 |
| Sonnet 5.5 | $0.00058 | $0.00058 |
| Haiku 4.5 | $0.00029 | $0.00029 |
Grade A, and why
windsurfrules 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 9d 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.
This is a copy
88% identical to cursorrules — 2 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
What it actually says
leanforge-mcp — Windsurf rules
Session Context
Before starting work in this repo, load tool awareness:
- MCP server:
leanforge-mcp(stdio:uv run python -m leanforge_mcp) - Web backend: FastAPI on :10867 (
uv run python -m webapp.backend.main) - Frontend: Vite on :10868 (
webapp/frontend, bun) - Read
AGENTS.md(stack, layout, critical rules) anddocs/ONBOARDING.md(setup, costs, pitfalls) before changing behavior. - Gates:
uv run ruff check src/ webapp/backend/+uv run pytest tests/ -qbun run check+bun run biome:ciinwebapp/frontend.
- Sync venv with
uv sync --extra dev --extra web(bareuv syncprunes dev+web). - All MCP tools return
success+message; keep it that way. - Never commit
.env,config.toml,data/, or*.mcpb.
Stack
Python 3.12+, FastMCP >= 3.4.4, Lean 4 via elan + Mathlib, Ruff, pytest, React + Vite + Tailwind + Zustand, Biome. Dark theme only (zinc-950).
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.
- 9d ago First seen · 22 lines · 291 tokens per session scan A d859868f58c5
windsurfrules is a cursor rule published in the GitHub repository sandraschi/leanforge-mcp (3 stars, last pushed 4d ago), licensed MIT. It adds 291 tokens to every session, about $0.0012 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 88% identical to cursorrules, differing in 2 lines, and is treated as a copy.
Other cursor rules, from other repositories
testing-and-quality
The testcomprehensive.py provides systematic testing of all 31 MCP tools.
project-conventions
Core project conventions for the Uniqlo Sales Alerter.
ponytail
Ponytail, lazy senior dev mode. Always pick the simplest solution that works.
angular-20
This rule provides comprehensive best practices and coding standards for Angular development, focusing on modern TypeScript, standalone components, signals, and performance optimizations.
dev-standard
Apache Superset development standards and guidelines for Cursor IDE.
prefer-assertions-over-defensive-checks
Prefer assertions over defensive checks when data is guaranteed to be valid.