agentleFS
marckrennmarckrenn/rtfmbro-mcp/.cursor/rules/rtfmbro.mdc

rtfmbro-mcp / rules

Cursor rule93 starsChanged 18 months agoMITView on GitHub

rtfmbro Package Documentation Policy

  • Where files are headingNew Cursor rule files have more rules about planning and tracking tasks, and fewer about code style.

    Of the Cursor rule files we read, the 1,533 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.

  • In this repository2 other files it gives its agents.

The file

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

7 rules. About 0 are common, 4 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Before using any package, module, or library, ALWAYS consult its documentation — your internal knowledge may be outdated and could cause …

    line 10
  2. Distinctive:

    Don't assume anything about the package's functionality, usage, or configuration without verifying it against the official documentation.

    line 11
  3. Distinctive:

    If you are unsure about a user's request that may involve a package, module, or library, ALWAYS refer to the documentation first or ask the …

    line 12
  4. Distinctive:

    Don't immediately lookup the user's original codebase.

    line 15
  5. Very specific:

    Use pypi for Python packages

    line 29
  6. Very specific:

    Use npm for Node.js packages

    line 30
  7. Very specific:

    Use spm for Swift packages

    line 31

≈ “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
rtfmbro.mdc
---
description: rtfmbro Package Documentation Policy
globs: 
alwaysApply: true
---

# Cursor Instructions for Package Documentation
## Package Documentation Policy

* Before using any package, module, or library, ALWAYS consult its documentation — your internal knowledge may be outdated and could cause errors or failures.
* Don't assume anything about the package's functionality, usage, or configuration without verifying it against the official documentation.
* If you are unsure about a user's request that may involve a package, module, or library, **ALWAYS** refer to the documentation first or ask the user to provide the package name and version.

### Workflow
0. Don't immediately lookup the user's original codebase.
1. First, **Identify** the package name and the EXACT pinned version (eg. "==1.0.5") from the project’s lock file (eg. uv.lock, bun.lock).
2. Using this information **fetch documentation** by executing one of the provided tools:
    - `get_readme`
    - `get_documentation_tree`
    - `read_files`
    - `search_github_repositories` - Search for Github packages and repositories by topic, language, or keywords. Note, sometimes the documentation is located in a separate repository (like `tailwindlabs/tailwindcss.com`). Use the repo owner to search for the repo containing the documentation.
3. **Review** the documentation carefully to understand:
    - Core functionality
    - Usage patterns
    - Any caveats or special instructions
4. **Reference examples** from the documentation to guide your implementation.

**Ecosystem Selection:**
- Use `pypi` for Python packages
- Use `npm` for Node.js packages  
- Use `spm` for Swift packages
- Use `gh` only as a fallback for languages not supported by the above registries (package name must be in 'owner/repo' format) or if you're unsure about the package's ecosystem. Also use `gh` when you don't find the package in the lock file.

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.