How grapeot/devin.cursorrules works
This repository equips Cursor, Windsurf, and GitHub Copilot with agent instructions and standalone Python tools. The intended workflow is an IDE assistant planning a task, using web/search/LLM capabilities as needed, and learning from user corrections. The README also describes experimental planner–executor collaboration and screenshot verification. Tool implementations are sampled, but the instruction files and their wiring into IDEs are not; those relationships are shown only where documented.
Main entry points: .cursorrules Cursor Rules · .windsurfrules Windsurf Rules · copilot-instructions.md Copilot Instructions · scratchpad.md Working Scratchpad
Components 13
Agent Instructions
- Cursor Rules
.cursorrules - Windsurf Rules
.windsurfrules - Copilot Instructions
.github/copilot-instructions.md - Working Scratchpad
scratchpad.md - Task Planner
- Task Executor
Research Tools
- Web Scraper
tools/web_scraper.py - Web Search
tools/search_engine.py
LLM and Verification
- LLM Analysis
tools/llm_api.py - Screenshot Capture
tools/screenshot_utils.py
Other components
- User
- IDE Assistant
- User Corrections
Connections 12
- User → IDE Assistant: assigns task
README.md - IDE Assistant → Cursor Rules: uses instructions
README.md - IDE Assistant → Windsurf Rules: uses instructions
README.md - IDE Assistant → Copilot Instructions: uses instructions
README.md - IDE Assistant → Working Scratchpad: uses scratchpad
README.md - IDE Assistant → Task Planner: plans task
README.md - Task Planner → Task Executor: coordinates execution
README.md - IDE Assistant → Web Scraper: chooses tool
README.md - IDE Assistant → Web Search: chooses tool
README.md - IDE Assistant → LLM Analysis: chooses tool
README.md - IDE Assistant → Screenshot Capture: verifies visually
README.md - User Corrections → Cursor Rules: adds lessons
README.md