permit-fastmcp / rules
Cursor rule17 starsChanged 17 months agoApache-2.0View on GitHub
- Installs packages
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 repositoryOne other file it gives its agents.
- llms.txtllms.txt
The file
Show its rules and text
We split this basic.mdc into the rules it gives an agent
18 rules. About 0 are common, 14 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈14
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 9
Follow PEP8 for code style and formatting.
- Distinctive: line 10
Use type hints and docstrings for all public functions and classes.
- Distinctive: line 11
Prefer async/await for I/O-bound operations.
- Distinctive: line 12
Use logging instead of print statements.
- Distinctive: line 14
Keep functions small and focused.
- Distinctive: line 15
Use environment variables or config files for secrets and settings.
- Distinctive: line 16
Write tests for new features and bug fixes.
- Distinctive: line 19
When a soild fix - apply it without asking
- Very specific: line 22
Use uv for installing, updating, and publishing packages:
- Very specific: line 24
Add a dependency: uv pip install <package>
- Very specific: line 27
Keep requirements.txt, pyproject.toml, and uv.lock in sync.
- Very specific: line 30
Update llms.txt with any new usage patterns, configuration, or developer instructions.
- Distinctive: line 31
Update README.md to reflect new features, configuration options, or breaking changes.
- Distinctive: line 32
Add or update inline comments for complex logic.
- Distinctive: line 33
Ensure all public APIs are documented.
- Distinctive: line 36
Use descriptive commit messages.
- Distinctive: line 37
Remove unused code and files.
- Distinctive: line 38
Keep the codebase clean and organized.
≈ “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.
Files
--- description: globs: alwaysApply: false --- # CursorRules for permit-fastmcp # Python Best Practices - Follow PEP8 for code style and formatting. - Use type hints and docstrings for all public functions and classes. - Prefer async/await for I/O-bound operations. - Use logging instead of print statements. - Handle exceptions gracefully and provide helpful error messages. - Keep functions small and focused; prefer composition over inheritance. - Use environment variables or config files for secrets and settings. - Write tests for new features and bug fixes. # Attitude When a soild fix - apply it without asking # Dependency Management & Publishing - Use `uv` for installing, updating, and publishing packages: - Install dependencies: `uv pip install -r requirements.txt` - Add a dependency: `uv pip install <package>` - Update lockfile: `uv pip compile` - Publish: `uv publish` - Keep `requirements.txt`, `pyproject.toml`, and `uv.lock` in sync. # Documentation & Project Hygiene - Update `llms.txt` with any new usage patterns, configuration, or developer instructions. - Update `README.md` to reflect new features, configuration options, or breaking changes. - Add or update inline comments for complex logic. - Ensure all public APIs are documented. # General - Use descriptive commit messages. - Remove unused code and files. - Keep the codebase clean and organized.
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
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.

