agentleFS
brendadeeznuts1111brendadeeznuts1111/betting-brain-v3/.cursor/rules/documentation.mdc

betting-brain-v3 / rules

Cursor rule8 starsChanged 14 months agoMITView on GitHub

Documentation file conventions and placement

The file

We split this documentation.mdc into the rules it gives an agent

2 rules. About 0 are common, 2 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Update INDEX.md: when adding significant docs

    line 79
  2. Distinctive:

    Keep documentation focused on current, relevant information.

    line 95

≈ “Common” is an estimate: at least 1 in 5 of the 3,030 Cursor rule files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
documentation.mdc
---
version: "1.0.0"
globs: "*.md"
description: "Documentation file conventions and placement"
lastUpdated: "2025-10-08"
dependencies: ["root-organization", "quality-standards"]
---

# Documentation Rules

## File Placement

**All documentation MUST be in the `docs/` directory** (except README.md, LICENSE, CLAUDE.md in root).

### Directory Structure
```
docs/
├── guides/              # User guides and tutorials
├── testing/             # Testing documentation
├── deployment/          # Deployment guides
├── dashboards/          # Dashboard documentation
├── debug/               # Debugging guides
├── implementation/      # Technical implementation docs
└── archive/             # Historical/obsolete docs
```

## Documentation Types

### Status Files → `docs/`
```
docs/TESTING_STATUS.md
docs/MCP_INTEGRATION_STATUS.md
docs/AUTOMATION_GUIDE.md
docs/CODEBASE_REVIEW.md
docs/CLEANUP_SUMMARY.md
```

### Guides → `docs/guides/`
```
docs/guides/START_HERE.md
docs/guides/DEBUGGING_DATA_CAPTURE.md
docs/guides/TESTING_GUIDE.md
docs/guides/AGENT_RISK_GUIDE.md
```

### Testing → `docs/testing/`
```
docs/testing/TESTING_GUIDE.md
docs/testing/TEST_HEALTH_DASHBOARD.md
docs/testing/TEST_FAILURE_ANALYSIS.md
```

### Archived → `docs/archive/`
```
docs/archive/phase-reports/
docs/archive/bun-upgrade/
docs/archive/mcp-integration/
```

## Key Documentation Files

- [README.md](mdc:README.md) - Main project documentation (root only)
- [CLAUDE.md](mdc:CLAUDE.md) - AI assistant guidance (root only)
- [docs/INDEX.md](mdc:docs/INDEX.md) - Documentation map
- [docs/QUICKSTART.md](mdc:docs/QUICKSTART.md) - Quick setup guide
- [docs/ROOT_STRUCTURE.md](mdc:docs/ROOT_STRUCTURE.md) - Root directory reference

## When Creating Documentation

1. **Choose the right location:**
   - General docs → `docs/`
   - Guides/tutorials → `docs/guides/`
   - Testing docs → `docs/testing/`
   - Deployment → `docs/deployment/`
   - Old/obsolete → `docs/archive/`

2. **Never create in root** (except README.md, LICENSE, CLAUDE.md)

3. **Update INDEX.md** when adding significant docs

4. **Link between docs** using relative paths:
   ```markdown
   See [Testing Guide](testing/TESTING_GUIDE.md)
   See [Root Structure](ROOT_STRUCTURE.md)
   ```

## Archive Policy

Move to `docs/archive/` when:
- Document is obsolete
- Issue/feature is complete
- Migration is finished
- One-time task is done

Keep documentation focused on current, relevant information.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.