readme-best-practices-cursorrules-prompt-file — Cursor rule
This rule guides an agent writing project READMEs, from the opening pitch to a runnable Quick Start. Use it when you want documentation readers can scan and try.
.cursor/rules/readme-best-practices-cursorrules-prompt-file.mdcWhat readme-best-practices-cursorrules-prompt-file does
The rule asks for a README that introduces a project’s value instead of reading like an API reference. It calls for a concise opening, followed by a working code sample near the top, and recommends a two-column table for feature descriptions.
The Quick Start should use commands readers can copy directly, without a $ before shell commands. The rule also calls for varied sentence structure, avoids marketing clichés, and tells the agent to confirm that linked images or other assets exist on disk. For the author section, it recommends a visual card or badge. In Cursor, place the rule at .cursor/rules/readme-best-practices-cursorrules-prompt-file.mdc. Its frontmatter sets alwaysApply to false, with globs set to **/*.
What it helps with
- write a clear opening for a project README
- put a runnable code sample near the start
- draft a Quick Start with copy-ready commands
- present features in a two-column table
- check linked image files and style the author section
Example prompts for the agent
- Rewrite this project README with a concise opening and a working code sample near the top.
- Draft a Quick Start for this README using commands readers can copy and run.
- Review the README, turn the feature list into a two-column table, and check that linked image files exist.
How to install readme-best-practices-cursorrules-prompt-file
Manually: put the files in place
.cursor/rules/readme-best-practices-cursorrules-prompt-file.mdcFrontmatter: description, globs, alwaysApply
Manually: put the files in place
.claude/rules/readme-best-practices-cursorrules-prompt-file.mdThe paths frontmatter field limits the files: move globs from the source into paths
AGENTS.md
Codex reads AGENTS.md: paste the rule text there
Manually: put the files in place
.github/instructions/readme-best-practices-cursorrules-prompt-file.instructions.mdThe applyTo field sets which files it applies to: move globs from the source into applyTo
Manually: put the files in place
.devin/rules/readme-best-practices-cursorrules-prompt-file.mdManually: put the files in place
.clinerules/readme-best-practices-cursorrules-prompt-file.mdStep by step, with commands for each platform: Cursor rules: .mdc files, four modes and what replaced .cursorrules
Questions about readme-best-practices-cursorrules-prompt-file
How do I install readme-best-practices-cursorrules-prompt-file in Cursor?
Create .cursor/rules/readme-best-practices-cursorrules-prompt-file.mdc and add the rule contents to that file.
What does readme-best-practices-cursorrules-prompt-file do?
It guides README structure, including the opening, an early code sample, a copy-ready Quick Start, and a feature table. It also asks the agent to check linked assets and use a visual author card or badge.
Does the rule apply to every file automatically?
No. Its frontmatter sets alwaysApply to false, while globs is set to **/*.
Source text
readme-best-practices-cursorrules-prompt-file.mdc · CC0-1.0
--- description: "Cursor rules for README documentation with best practices integration." globs: **/* alwaysApply: false --- Write READMEs like landing pages, not API docs. The reader decides in 3-5 seconds. Start with a bold one-liner saying what it does and why someone should care. Not "A tool that..." - a punchline. Put a working code example in the first 5 lines. Show the value prop immediately. Use feature tables (two columns) instead of **Feature:** bullet lists. Tables scan faster. Quick Start must be copy-paste ready. No $ prefix on bash commands. Zero to running in 30 seconds. Vary sentence lengths and structure. Mix one-liners with short paragraphs and tables. Not walls of same-length bullets. Never use "seamless", "robust", "comprehensive", "cutting-edge", or other AI marketing words. Never open with "In today's..." or close with "Happy coding!" Check that referenced assets (demo.gif, screenshots) actually exist on disk before adding image links. Author section should include a visual card or badge, not just plain text "Made by username".
© PatrickJS · CC0-1.0 · PatrickJS/awesome-cursorrules