Note: These are meta-guides for working with Cursor Agent across projects, not documentation for a specific project.
This directory contains guides to help you work effectively with Cursor Agent when building web applications. The guides cover everything from getting started to maintaining documentation as your project grows.
π FIRST-STEPS.md
Start here if you're beginning a new project
Learn how to:
- Communicate requirements effectively
- Choose tech stacks
- Get your first MVP built
- Work iteratively with Cursor Agent
Best for: Brand new projects, first-time users
Master the art of describing what you want to build
Covers:
- Ideal requirement format
- What to include and what to skip
- Examples from minimal to detailed
- Quick templates
Best for: Before starting any project, clarifying vision
Where and how to document your project
Covers:
- Where to document features (README, FEATURES.md, etc.)
- How to structure CHANGELOG/DEVLOG/DECISIONS files
- Using archive/ for failed experiments
- Documentation workflows and templates
- Scaling documentation as project grows
Best for: Active development, maintaining project clarity
Create a README that helps both humans and AI
Explains:
- Critical README elements
- Architecture decision documentation
- Known issues and limitations
- Complete README template
- What makes it AI-friendly
Best for: Starting projects, major refactors, improving existing README
Track development history for AI context
Covers:
- Writing meaningful commit messages
- Using CHANGELOG/DEVLOG/DECISIONS effectively
- When and how to comment code
- Archiving failed experiments
- Minimum viable tracking
Best for: Ongoing development, team collaboration
Understand what helps AI assist you best
Explains:
- Which files Cursor Agent prioritizes and why
- Why CHANGELOG/DECISIONS matter most
- How documenting failures prevents repeated mistakes
- What to include in commit messages
- File organization recommendations
Best for: Optimizing AI collaboration, understanding AI workflow
1. Before Building
ββ> FIRST-STEPS.md + HOW-TO-PROVIDE-REQUIREMENTS.md
ββ> Describe what you want
ββ> Get started with clear vision
2. Creating Project Structure
ββ> HOW-TO-CREATE-README.md
ββ> Set up README with tech stack, decisions, features
ββ> Establish documentation foundation
3. During Development
ββ> HOW-TO-DOCUMENT-FEATURES.md + HOW-TO-TRACK-CHANGES.md
ββ> Create TODO.md, CHANGELOG.md, document decisions
ββ> Track progress and changes
4. Optimize for AI
ββ> FILE-IMPORTANCE-FOR-AI.md
ββ> Understand what AI needs
ββ> Better collaboration across sessions
Code shows what it does. Documentation should capture:
- Why this approach over alternatives
- What was tried and failed
- Tradeoffs that were accepted
- Context for future decisions
Small projects: Just README.md Medium projects: Add CHANGELOG.md, FEATURES.md, TODO.md Large projects: Create docs/ folder, DECISIONS.md, archive/
Always document before removing code:
- What you tried
- Why it didn't work
- What you switched to
- Archive the old code if substantial
When files follow consistent patterns, Cursor Agent can:
- Find information faster
- Avoid suggesting failed approaches
- Make better architectural decisions
- Work more efficiently across sessions
project/
βββ README.md # Overview, features, setup
βββ package.json # Dependencies
βββ .cursor-guides/ # These meta-guides
project/
βββ README.md # Current state
βββ CHANGELOG.md # Decisions & development log
βββ TODO.md # Current work
βββ package.json # Dependencies
βββ .env.example # Configuration
βββ .cursor-guides/ # These meta-guides
project/
βββ README.md # Overview
βββ CHANGELOG.md # Development log
βββ FEATURES.md # Detailed features
βββ TODO.md # Active work
βββ package.json # Dependencies
βββ .env.example # Configuration
βββ archive/ # Failed experiments
βββ .cursor-guides/ # These meta-guides
project/
βββ README.md # Overview + quickstart
βββ CHANGELOG.md # Development log
βββ DECISIONS.md # Architectural choices
βββ docs/
β βββ FEATURES.md
β βββ ROADMAP.md
β βββ ARCHITECTURE.md
β βββ API.md
βββ archive/ # Experiments
βββ .cursor-guides/ # These meta-guides
In order of priority:
- README.md - Project overview and current state
- Dependency files - Tech stack and versions
- CHANGELOG/DEVLOG/DECISIONS - Context and history (MOST VALUABLE)
- Configuration files - Architecture and setup
- Git commits - Recent changes with good messages
- Entry points - Application structure
- TODO/FEATURES/ROADMAP - Planned work
- Business logic - As needed for specific tasks
- Tests - Expected behavior
- Documentation folders - Deep technical context
## 2025-10-06: Switched from WebSockets to SSE
**Tried:** WebSocket connections for real-time updates
**Problem:** 30-second timeout on mobile, frequent disconnections
**Solution:** Server-Sent Events with automatic reconnection
**Tradeoff:** One-way communication, but more reliable
**Code:** Archived to archive/websocket-version/# Before removing substantial code
mkdir -p archive/old-feature-name
cp -r src/feature archive/old-feature-name/
# Document in CHANGELOG.md why it was removed
git add archive/
git commit -m "Archive old feature before removal"Good: Switch to SSE for real-time updates
Why: WebSocket connections unstable on mobile (30s timeout)
How: Server-Sent Events with automatic reconnection
Impact: Reliable updates across all devices
Bad: fix websocket issue
- Give clear requirements but trust AI to handle details
- Document decisions as you make them
- Keep CHANGELOG current with "why" explanations
- Archive code before major refactors
- Use commit messages to explain context
- Cross-reference related files
- Micromanage implementation details
- Delete working code without documentation
- Let documentation drift from reality
- Use vague commit messages ("fix", "update")
- Duplicate information across files
- Over-document obvious code
These guides cover:
- β How to work with Cursor Agent
- β Project structure and documentation
- β File organization best practices
These guides do NOT cover:
- β Language-specific syntax
- β Framework-specific tutorials
- β Deployment procedures
- β Project-specific documentation
For project-specific help, ask Cursor Agent directly!
These guides themselves follow the principles they teach:
- Clear purpose and structure
- Cross-references between related content
- Practical examples over theory
- Scalable from simple to complex
- Focused on "why" not just "how"
Ready to build something? Start with FIRST-STEPS.md!