agentsclimarketplace

Writing readme

Skill wanghong5233/agent-engineering-kit/cursor/.cursor/skills/writing-readme

A reusable, production-grade .cursor/ engineering package for Cursor / Claude Code / Agent IDEs. Rules, skills, commands, and deterministic safety hooks extracted from a real Agent project.

Install
npx -y skills add wanghong5233/agent-engineering-kit --skill writing-readme

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Write or refactor public README per standard-readme spec + GitHub 10-second rule. Use when editing `README.md`/`README_EN.md`/subfolder README, or user asks 写/同步/修改/更新 README, or complains README has 口水话/啰嗦/AI味/AI痕迹/中英混写/不像专业 GitHub 项目. Do NOT use for `docs/*.md`.

SKILL.md

6.7 KB, as published. Nobody here has run it

Writing READMEs

一句话准则

README 是项目卡片,不是实现手册。访客用 10 秒决定是否继续看;超出 10 秒还没回答"这是什么 / 我为什么要关心 / 怎么试一下"就是失败。

角色边界(决定写什么 / 不写什么)

文档受众内容粒度链接去向
README.md公开访客、招聘方、用户项目愿景 / 架构总览 / 三模块概述 / demo 入口demo、docs/、外部主页
子目录 <sub>/README.md该子目录开发者 / 运维根 README 的补集:仅含子目录独有内容链回根 README + docs/
docs/*.md严肃读者、内部协作者部署、坑点、设计架构文档
docs/private/*.md仅本人笔记、面经、archived 草稿不公开

子 README 补集原则——判别口诀:删掉这段后,根 README 仍能让人启动起来吗?能 → 子 README 该写它;不能 → 它属于根 README。完整对照见 references/examples.md

README 不承担:部署细节、故障排查全集、内部 env 对齐表、SQL/Python 函数名、未发布的实验功能。

硬性禁止(命中即删)

反模式判断特征归宿
口水话 / 解释性铺垫"为了 / 这是因为 / 我们采用 / 值得一提的是"
内部业务字段内部 env 前缀(如 XX_RETRIEVE_PAGE_SIZE)/ pydantic schema 名 / 数据库函数名docs/
未启用功能的辩解"生产默认不启用 / 仅开发期使用" 写进高层描述
过程时态"曾经使用过 X / 后来切到 Y / 这次重构了 Z"git log / CHANGELOG
内部链接指向 private/ 或未 tracked 路径改指 docs/ 或外部 URL
重复架构图同一架构画 ASCII + mermaid + 文字 3 份留一份(mermaid 优先)
失效 demo 链接demo 跳 404 或指已废弃子域改新链接,提交前必须人工点击
工件清单"本次移除了 service-X / module-Y"git log
自我夸赞形容词"强大的 / 优雅的 / 业界领先的 / 创新的"

设计依据见 references/design-rationale.md

标准章节顺序(standard-readme spec 对齐)

1. Title              ← 与仓库名一致
2. One-line Tagline   ← <120 字符;package.json / setup.py description 同源
3. Badges             ← 3-5 个:CI / License / Stars / Demo / Tech
4. Demo               ← GIF/截图/Live link,二者其一必备
5. Background         ← 一段话:解决什么问题,给谁用
6. Features           ← 5-8 个 bullet,可扫描
7. Architecture       ← mermaid 图 + 分层职责表(一图代千言)
8. Quick Start        ← 3 步以内能跑起来;命令必须真实可复制
9. Tech Stack         ← 表格:前端 / 后端 / 数据 / 基础设施
10. Documentation     ← 链接到 docs/ 子文档
11. Contributing      ← 必备(即使只是一行)
12. License           ← 必备

100 行以上的 README 必须有 TOC(standard-readme 硬要求)。

触发更新的时机

Git 变化是否更新改哪
服务增删(compose service 变化)必改Architecture / Tech Stack
核心依赖切换(如 ES → 向量库)必改Architecture / Background
外部 URL 改变(demo / docs)必改Header / Demo / Documentation
内部实现优化(同职责换库)不改docs/CHANGELOG
部署细节调整不改docs/ 部署手册
Bug 修复不改git commit
单纯重命名变量不改git log

判别原则见 references/design-rationale.md

写作微观规范

  • 中文 README 用中文正文,技术名词 / 标识符保留英文(不翻译稳定的英文术语为意译中文)
  • 禁止在同一个 README 文件中混写中英文正文:中文放 README.md,英文放 README_EN.md,同文件只允许语言切换链接与少量不可翻译标识符(如命令、路径、代码符号)
  • 现在时陈述:❌"我们决定采用 X" → ✅"采用 X"
  • 段落 ≤ 3 行;超过改表格 / 列表 / mermaid
  • 链接必须可点:相对路径用 ./docs/xxx.md;外链带 https://提交前批量点验
  • Badges 来自 shields.io,颜色不超过 3 种
  • mermaid 图节点数 ≤ 12;超过拆分图
  • 双语 README:README.md(中文)+ README_EN.md(英文);两份内容严格对齐,同步更新
  • 标题使用朴素工程名词:项目定位 / 适用场景 / 快速使用,少用"一句话定位 / 核心理念 / 深入理解"
  • 不写宣言式对比:❌"这不是 X,而是 Y" → ✅"提供 X/Y/Z 文件,可复制到项目"
  • 第一性原理 / 工业级 / 生产级 只在后文有具体约束、命令或指标支撑时保留,否则删

自检(提交前必过)

通用

  • 删掉这行,10 秒读者会漏什么核心事实?漏不掉 → 删
  • 业务字段名 / 内部 env 名 / 内部函数名出现在公开 README?→ 删
  • 相对路径都指向 git tracked 文件?(docs/ ✅、private/ ❌)
  • 外部链接今天还能打开?(demo / docs / 主页)
  • 形容词自夸("强大 / 优雅 / 领先")?→ 删
  • 出现 AI 模板句("这不是 X,而是 Y" / "值得注意的是" / "赋能" / "打造")?→ 改成可验证事实
  • 标题像口号还是像工程导航?像口号 → 改成用户会搜索的名词

根 README 专属

  • 中文版改了,英文版同步了吗?
  • README.md 是否仅中文正文、README_EN.md 是否仅英文正文(无同文件中英混写)?
  • 架构图与当前 docker-compose.prod.yml 服务清单一致?

子 README 专属

  • 这段删掉,根 README 仍能让人启动起来吗?能 → 该写它;不能 → 它属于根 README
  • 是否复述了根 README 的项目愿景 / 架构图 / Features?→ 删
  • 是否含子目录独有的开发命令 / 运维 SOP / 环境变量?→ 这才是子 README 本职
  • 文档开头是否明确写"项目入口见根 README.md"?

链路

  • 设计依据与业界对照:references/design-rationale.md
  • 反例 → 正例完整对照:references/examples.md
  • 工程约束基线:.cursor/rules/core-principles.mdc
  • 架构文档撰写:writing-architecture-docs
  • 部署 / 坑点档案撰写:writing-pitfall-archive
  • 跨项目工程经验:writing-engineering-playbook

Gives 0 of the 12 instructions most readme changelog skills give

Counted across 471 of the 478 authors here whose files we hold, read 2026-08-06

  • follow the Keep a Changelog formatin 31 of 471, across 26 files
  • omit empty sectionsin 21 of 471
  • Run from the git repository rootin 20 of 471, across 7 files
  • save output directly to CHANGELOG.mdin 20 of 471, across 7 files
  • Group commits into logical categoriesin 19 of 471, across 6 files
  • Review the generated changelog before publishingin 19 of 471, across 6 files
  • Apply changelog guidelines and brand voicein 18 of 471, across 5 files
  • Exclude internal commits like refactoring and testsin 18 of 471, across 5 files
  • Specify date ranges for focused changelogsin 17 of 471, across 4 files
  • Convert technical commits into customer languagein 17 of 471, across 4 files
  • group commits by conventional commit typein 14 of 471
  • insert new entry below unreleased sectionin 14 of 471

Said here and by no other author read

  • Answer what, why, and how within ten seconds
  • Keep subdirectory READMEs as complement to root
  • Delete filler phrases and self-praise
  • Exclude deployment details and internal names
  • Add a table of contents over one hundred lines
  • Keep paragraphs under three lines

Grouped from the skills themselves: near-identical wordings counted once, and counted by distinct author, so one author publishing three of these counts once.

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.