windsurfrules

windsurfrules is a cursor rule for Windsurf from microsoft/agentic-agile-template. It costs 1,384 tokens per session, scanned A, original, MIT.

A repository instruction template for coding agents. It records a project's purpose, architecture, tools, and coding conventions so an agent can make decisions that fit the project.

In plain words
What is it for?
Use it to document a project's structure, technology choices, and code standards for Windsurf's Cascade agent.
Why use it?
It reduces the need to repeat project background and rules in every request. It helps prevent changes that conflict with the existing codebase.

Cursor rule for Windsurf ✓ vendor

Written for Windsurf: a Windsurf rule.

Good fit Use it to document a project's structure, technology choices, and code standards for Windsurf's Cascade agent.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/microsoft/agentic-agile-template/windsurfrules
About the project

Agentic-Agile Template is a development methodology and starter template for building software through structured collaboration between people and AI coding agents. Development teams use it to organize backlogs, write detailed specifications, coordinate parallel agent work, govern changes, and measure the process. The catalogue entries encode parts of this methodology as instructions and rules.

microsoft/agentic-agile-template · 98 stars · on GitHub

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/microsoft/agentic-agile-template

Made for: Windsurf.

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 windsurfrules

README.md
[![agentmods](https://agentmods.dev/badge/rules/microsoft/agentic-agile-template/windsurfrules/github.svg)](https://agentmods.dev/rules/microsoft/agentic-agile-template/windsurfrules)
Your own site
<a href="https://agentmods.dev/rules/microsoft/agentic-agile-template/windsurfrules"><img src="https://agentmods.dev/badge/rules/microsoft/agentic-agile-template/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.

agentmods 80×15 button for windsurfrules

Your own site · 80×15
<a href="https://agentmods.dev/rules/microsoft/agentic-agile-template/windsurfrules"><img src="https://agentmods.dev/badge/rules/microsoft/agentic-agile-template/windsurfrules.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,384 This file is loaded in full into every session.
When invoked 1,384 The same file — it is already loaded in full.
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.01384 $0.01384
Opus 5.5 $0.00554 $0.00554
Sonnet 5.5 $0.00277 $0.00277
Haiku 4.5 $0.00138 $0.00138

Measured 2d ago against content hash 68fc381fcb55, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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

platform-adapters/agent-tools/windsurf/.windsurfrules · 149 lines

How it starts

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

Research note: The official Windsurf rules filename was verified against

community documentation and the Codeium blog — .windsurfrules is the

established convention for the repository root and continues to be supported.

Newer Windsurf versions also introduced a directory-based system at

.windsurf/rules/ where rules are defined as named markdown files with

activation modes (always on, manual, glob, model decision). Verify the

current recommendation in the official documentation at https://docs.windsurf.com/

before deploying, as Windsurf's tooling evolves frequently.

Agent Context — [Your Project Name]

Project Purpose

[Describe your project here]


Architecture

  • Primary language: [e.g., TypeScript, Python, Go, Rust]
  • Framework/runtime: [e.g., Next.js 14, FastAPI, Go stdlib]
  • Key dependencies: [e.g., Prisma + PostgreSQL, Redis for caching]
  • Project structure:
project-root/
├── src/              # Application source code
├── tests/            # Test files
├── docs/             # Documentation
└── ...

Coding Conventions

  • Formatting: [e.g., Prettier with default config; Black + isort for Python]
  • Naming: [e.g., camelCase for variables, PascalCase for classes, SCREAMING_SNAKE for constants]
  • Imports: [e.g., absolute imports only; group as stdlib / third-party / local with blank lines between]
  • Types: [e.g., strict TypeScript — no implicit any; type hints required on all public functions]
  • Comments: [e.g., explain why, not what; JSDoc on all public APIs]

Read the full file on GitHub · 149 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 Changed · +11 lines · +180 tokens per session 68fc381fcb55
  2. 3d ago First seen · 138 lines · 1,204 tokens per session scan A 3d3e04106bfb

Subscribe to this mod's changes

windsurfrules is a cursor rule published in the GitHub repository microsoft/agentic-agile-template (98 stars, last pushed 2d ago), licensed MIT. It adds 1,384 tokens to every session, about $0.0055 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-10-22.