Devin Cursorrules — How It Works
Core Capabilities
1. Automated Planning & Self-Evolution
The AI creates a structured plan before writing code, tracks progress in scratchpad.md, and updates its strategy as it learns from the codebase. Unlike vanilla Cursor, the agent thinks step-by-step and adapts its approach.
2. Extended Tools
The tools/ folder adds capabilities beyond basic code editing:
- Web browsing — Fetch and analyze web pages
- Search engine integration — Look up documentation and solutions
- Screenshot verification — Use Playwright to visually verify UI changes
- LLM analysis — Send data to external LLMs for deeper reasoning
3. Multi-Agent Collaboration
Optional setup where:
- o1/o1-pro handles high-level planning and strategy
- Claude/GPT-4o executes the plan and writes code
- Agents communicate through shared scratchpad files
4. Self-Correction
When you correct the AI ("no, use X instead"), it records the feedback and avoids the same mistake in future interactions within the session.
File Structure
.cursorrules # Cursor AI configuration rules
.windsurfrules # Windsurf equivalent
scratchpad.md # Planning & progress tracking
.github/
copilot-instructions.md # GitHub Copilot config
tools/
browser.py # Web browsing capability
search.py # Search engine integration
screenshot.py # Playwright screenshot verification
requirements.txt # Python dependenciesSupported Editors
| Editor | Config File | Status |
|---|---|---|
| Cursor | .cursorrules |
Full support |
| Windsurf | .windsurfrules + scratchpad.md |
Full support |
| GitHub Copilot | .github/copilot-instructions.md |
Basic support |
FAQ
Q: What is devin.cursorrules? A: A configuration that gives Cursor/Windsurf Devin-like AI capabilities — automated planning, self-correction, web browsing, and multi-agent collaboration — for free.
Q: Is it free? A: Yes, MIT license. You only pay for the AI model tokens used by your editor (Cursor/Windsurf subscription).
Q: How is this different from vanilla Cursor? A: Vanilla Cursor responds to individual prompts. With devin.cursorrules, the AI plans multi-step tasks, tracks progress, browses the web for context, verifies UI changes with screenshots, and learns from corrections.