Update readme

From FradSer/dotclaude · View interactive version

Update readme is an AI agent skill from the GitHub repository FradSer/dotclaude. Updates README.md and README.zh-CN.md to reflect the project's current state. Use this skill whenever the user asks to "update the README", "sync the docs", "update documentation", "reflect latest changes in README", or wants both the English and Chinese READMEs to match the current project.

How to use this skill

Skill file

Update README

Keep README.md (English, primary) and README.zh-CN.md (Simplified Chinese, secondary) in sync with the project's actual current state. Both files must be accurate, complete, and consistent with each other.

CRITICAL: Ground Truth and Header Format

Header Format (Required)

Every README must open with this exact structure — adapt the badges, project name, and description to the project at hand:

# <Project Name> ![](https://img.shields.io/badge/<label>-<message>-<color>)

[![<Badge1 Label>](<badge-url>)](<link>) [![<Badge2 Label>](<badge-url>)](<link>)

**English** | [简体中文](README.zh-CN.md)

For README.zh-CN.md, reverse the language toggle:

# <Project Name> ![](https://img.shields.io/badge/<label>-<message>-<color>)

[![<Badge1 Label>](<badge-url>)](<link>) [![<Badge2 Label>](<badge-url>)](<link>)

[English](README.md) | **简体中文**

Choose badges that reflect what is genuinely true about the project. Common types: CI status, license, language/runtime version, package registry version, code coverage. Use shields.io static badges when there is no live endpoint. Prefer reference-style Markdown links for badge rows with more than two badges — it keeps the source readable. Broken or always-failing badges are worse than no badges; only include ones that are maintained.

Process

1. Survey the project

Before writing anything, read the actual project state:

Write from ground truth, not from memory or assumption.

2. Draft README.md (English)

Use references/template.md as the structural starting point. Adapt section names to the project's domain — the template shows the skeleton, not the words.

Section order (omit what doesn't apply, don't add sections just to fill space):

  1. Header — title + badges + language toggle
  2. One-liner description (one sentence)
  3. Logo, banner, or demo GIF — optional, but place it early if the project has one
  4. Main content sections (Available Items, Usage, etc.)
  5. Contributing / Adding a new item
  6. License

For READMEs over ~300 lines, add a Table of Contents after the one-liner.

The README is a directory, not a tutorial. Keep each component description to one or two sentences. Installation commands must be copy-pasteable — exact commands, no ambiguity. Always use fenced code blocks with a language tag ( `bash , `json ).

Write with a human voice. README prose is some of the most AI-trope-prone writing that exists — it tends to accumulate "robust", bold-first bullet points, and "serves as" constructions without anyone noticing. Specific things to watch for:

A useful test: read each sentence aloud. If it sounds like promotional copy, rewrite it as a plain statement of fact.

3. Draft README.zh-CN.md (Chinese)

Translate the English README faithfully. Rules:

4. Review before writing

Before writing either file, verify:

Then scan the draft for writing issues:

5. Write the files

Write README.md first, then README.zh-CN.md. Use the Edit or Write tool — do not output the content as a code block in the conversation.

After writing, briefly confirm what changed (e.g., "Added update-readme skill, removed stale apple-events prerequisite note").

References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.