Readme Beautifier 标志

Readme Beautifier

社区
hylarucoder
readme-beautifier

重新排版和整理 README 或类似的 Markdown 项目文档,不改变其事实内容、表达风格或范围,然后总结仅涉及格式的修改。适用于用户要求美化、整理、优化结构或专业排版 README 时(README 美化、排版、格式化、太乱了)。如需判断内容是否正确或一致,请使用 document-audit 技能;如需改变含义或主张,请使用 hai-rewrite-doc。

Add to TypingMind

概览

发布者hylarucoder
代码仓库hai-stack
技能名称readme-beautifier
星标数
284
复刻数
15
附带文件
1
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 1 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 hylarucoder 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Readme Beautifier AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/hylarucoder/hai-stack/tree/main/skills/readme-beautifier
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/hylarucoder/hai-stack.git /tmp/hai-stack
mkdir -p .claude/skills
cp -r /tmp/hai-stack/skills/readme-beautifier .claude/skills/readme-beautifier
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Readme Beautifier,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Readme Beautifier。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Readme Beautifier 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Readme Beautifier

Overview

Take a README whose structure is messy or whose formatting is inconsistent, and deliver a version with clear structure, consistent formatting, and a professional look.

Core Principles

  • Content unchanged — nothing added, nothing removed: do not invent information, do not delete valid content; improve only at the structure and formatting level.
  • Faithful to the original meaning: preserve the author's intent and tone; do not rewrite for style.
  • Minimal change: prefer a small fix over a big one; prefer adjusting formatting over rewriting.
  • Respect the original; never force-fit: keep every reasonable choice the original already made (section order, whether to include badges / a TOC / spaces between Chinese and English), and do not proactively add what is missing — apply the checklist below under this principle instead of restating it per item.

Workflow

1. Read the README → understand what the project is and who it is for
2. Diagnose problems → check every item in the checklist below
3. Plan the changes → list what to change and why
4. Apply the beautification
5. Deliver the summary

Deliver steps 4 and 5 in the format defined under "Output" below.

Checklist

Ordered from highest to lowest priority. Fix an item only when the problem actually exists.

1. Heading hierarchy

  • Use h1 exactly once, for the project name.
  • Keep levels consecutive — never skip (h1 → h3 is wrong).
  • Align granularity across same-level headings (do not have one h2 be "Install" and another h2 be "How to mount config files with a Docker volume").

2. One-line description

  • If the original contains a one-line project description, place it directly under the project name; a blockquote or plain paragraph both work.
  • If none exists, report that as an out-of-scope content gap. Do not invent one.

3. Section structure

  • Give every section a single clear responsibility; do not mix topics.
  • A common sensible order: what it is → quick start → usage → configuration → directory layout → contributing → license.
  • Preserve empty sections and flag them as out-of-scope content gaps; deleting or filling them changes content.

4. List formatting

  • Keep item markers uniform within one list (all - or all *, never mixed).
  • Keep nesting indentation consistent (2 spaces or 4 spaces, never mixed).
  • Use 1. auto-numbering for ordered lists instead of manual numbers (avoids renumbering when items are inserted).
  • Surround lists with blank lines.

5. Code blocks

  • Tag every code block with a language (bash / yaml / ```text, etc.).
  • Wrap inline code in backticks: commands, file names, variable names, package names.
  • Strip unnecessary $ prefixes from command examples (unless input must be distinguished from output).
  • Put multi-line commands in code blocks, not inline code.

6. Tables

  • Align columns (pixel-perfect alignment is not required, but they should look tidy).
  • Make headers meaningful.
  • If a table has only two columns of short content, consider whether a list fits better.
  • If a list carries three or more parallel dimensions of information, consider whether a table fits better.

7. Links and references

  • Make link text meaningful (no "click here", no "link").
  • Check for obviously broken link formats ([text]() empty links, [text](TODO) placeholders).
  • Check that relative vs absolute paths are used sensibly.

8. Whitespace and separation

  • Put a blank line before headings.
  • Put a blank line between paragraphs.
  • Never allow more than two consecutive blank lines.
  • Spaces between Chinese and English: if the original mostly has them, fill in the gaps for consistency; if it mostly does not, follow the original.
  • Put a blank line between lists and paragraphs.
  • End the file with a single newline (no trailing blank lines, no missing newline).

9. Badges

  • Tidy badges only if the original has them: gather them right below the project name and above the one-line description.
  • Separate badges with spaces, no line breaks.

10. Table of contents (TOC)

  • Suggest adding a TOC when there are more than 6 sections, but do not add one unless the user also authorizes content additions.
  • If the original already has a TOC with broken anchors, repair it rather than delete it.

Do not

  • Do not add decorative elements: no emoji, no horizontal rules, no fancy ASCII art, unless the original already has them.
  • Do not change technical content: do not alter commands, configuration options, or the logic of code examples.
  • Do not translate: do not turn Chinese into English or the reverse.
  • Do not add content: if a "Contributing" section is missing, do not auto-create one — only mention in the summary that it could be added.
  • Do not rename the file: the output stays README.md, never something else.

Use a different skill when

This skill handles only formatting and structure, never whether the content is correct. Content-level problems are out of scope — this skill never changes meaning. When the user says "check my README", distinguish the intent:

  • The user wants to confirm the README matches the code / config / API, or whether it is stale → use hai-audit-docs.
  • The user wants an internal-consistency / stale-content audit of the docs themselves (internal contradictions, no code comparison) → use hai-audit-docs.
  • The user wants the content rewritten around the current conclusions because the doc drifted through rounds of discussion → use hai-rewrite-doc.
  • The user wants the layout beautified, the formatting unified, the structure straightened out → this skill.

Output

When the user targets a local file, edit that file and return its path plus a short summary; do not repeat a long README in chat. When the README was pasted without a writable target, return the full beautified content followed by the summary.

Use references/output-template.md for both file and pasted-content delivery shapes and for the already-clean case.

Do not duplicate its output schema here.

Edge cases

  • Very short README (< 10 lines): only fix formatting; do not pad the length.
  • Very long README (> 300 lines): fix structural problems first; fix only the most glaring formatting problems.
  • Multilingual README: beautify only the current file; do not touch other language versions.
  • README is already good: do not force changes; reply using the "check summary" format at the end of references/output-template.md.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Readme Beautifier AI 技能有什么作用?

重新排版和整理 README 或类似的 Markdown 项目文档,不改变其事实内容、表达风格或范围,然后总结仅涉及格式的修改。适用于用户要求美化、整理、优化结构或专业排版 README 时(README 美化、排版、格式化、太乱了)。如需判断内容是否正确或一致,请使用 document-audit 技能;如需改变含义或主张,请使用 hai-rewrite-doc。

为什么在 TypingMind 中使用 Readme Beautifier?

因为您只需安装一次,就能搭配任何模型使用。Readme Beautifier 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Readme Beautifier?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/hylarucoder/hai-stack/tree/main/skills/readme-beautifier。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Readme Beautifier?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Readme Beautifier 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Readme Beautifier 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Readme Beautifier AI 技能免费吗?

hylarucoder 已在 GitHub 上发布了该技能。请查看代码仓库了解许可条款。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇