No. 127 Write it down

Write READMEs like landing pages, not API docs. The reader…

Write READMEs like landing pages, not API.

  • Claude Code
  • Codex
  • Cursor
  • Write it down

Prompt

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".

When to use

“Write READMEs like landing pages, not API docs. The reader…” fits when someone who was not in the session has to understand the result, because it says “Write READMEs like landing pages, not API docs.”, and it is written to stay in force on later turns rather than to finish one task.

With “Write READMEs like landing pages, not API docs. The reader…” loaded, the user message can be as small as “fix the empty-cart total in src/cart.js and do not touch the test runner”, because “Write READMEs like landing pages, not API docs.” is already in force.

When not to use

Leave “Write READMEs like landing pages, not API docs. The reader…” unused when the file's behavior is wrong and a paragraph would hide that, because “Write READMEs like landing pages, not API docs.” points the other way

How to run it

Claude Code

Claude Code loads “Write READMEs like landing pages, not API docs. The reader…” from .claude/rules on later sessions, so “Write READMEs like landing pages, not API docs.” survives a new chat, which a one-off paste does not.

Codex

Codex keeps “Write READMEs like landing pages, not API docs. The reader…” only if you put “Write READMEs like landing pages, not API docs.” in AGENTS.md, or in AGENTS.override.md beside the directory that should inherit it. A paste that is not saved is gone next thread.

Cursor

Cursor keeps “Write READMEs like landing pages, not API docs. The reader…” by saving “Write READMEs like landing pages, not API docs.” as .cursor/rules. The chat transcript alone will not reload it tomorrow.

Comparison

对比待补

This before-and-after was not run on this machine.

Related

来源:PatrickJS awesome-cursorrules · https://github.com/PatrickJS/awesome-cursorrules/blob/main/rules/readme-best-practices-cursorrules-prompt-file.mdc · CC0-1.0 · 2026-12-01