diff --git a/README.md b/README.md index 2de4e91..fa617f9 100644 --- a/README.md +++ b/README.md @@ -5,13 +5,13 @@ An Agent Skill that packages a project for GitHub. -Say "ship this to GitHub", "上架 GitHub", or "准备开源" and the agent loads it. It writes a bilingual README, About, license, CI, a Pages landing, GEO notes, and a checklist. It does not block `git push`. +Say "ship this to GitHub", "上架 GitHub", or "准备开源" and the agent loads it. It writes a bilingual README, About, license, CI, and a Pages landing, plus stable headings and Pages meta, then fills a checklist. It does not block `git push`. [中文说明](README.zh-CN.md) ## Purpose -Someone opening a public repository starts with the first screen: what the project is, how to run it, the license, and whether anyone maintains it. Search engines and language models quote that screen. This skill packages the project before it is public by writing the files and filling the checklist. +The first screen of a public repository has to state what the project is, how to run it, the license, and whether anyone maintains it. Search engines and language models quote that screen. This skill writes those files and fills the checklist before the repository is public. ## Quick start @@ -31,15 +31,16 @@ Other agents and user-level paths are in [Install](#install). The steps are in [ ## Features -- Collect project facts: repository kind, audience, and languages -- Review repository contents: secrets, personal data, dead demos, license headers, `.gitignore`, and large binaries -- Write `README.md` (English) and `README.zh-CN.md` with the same structure and the same facts +- Collect repository kind, audience, and languages +- Review secrets, personal data, dead demos, license headers, `.gitignore`, and large binaries +- Write `README.md` and `README.zh-CN.md` with the same section order, commands, and version numbers - Write a GitHub About description (160 characters or fewer) and 5–10 topics - License: MIT by default; Apache-2.0 when you need a patent grant, AGPL-3.0 when you need network copyleft - Add a short GitHub Actions workflow (lint, test, or a docs check) -- Prepare GitHub Pages under `/docs`, and state how to turn it on in Settings (the skill does not enable Pages) -- GEO and SEO: stable headings, an FAQ, and Pages meta +- Prepare GitHub Pages under `/docs`, and state how to turn it on in Settings. The skill does not enable Pages +- GEO and SEO: stable headings and Pages meta - A publish checklist the agent fills with `pass`, `fail`, or `skip` +- After the Chinese draft, run doc-lint: cut redundancy, filler, and translationese, and keep technical terms and meaning ## Install @@ -75,7 +76,7 @@ If the skill does not appear, start a new session. Trigger it in plain language. ## Usage 1. Install the skill. -2. Open the project to publish. Run the steps on that project. Do not run them on this kit unless you are editing the kit. +2. Open the project to publish and run the steps there. Run them on this kit only when you are editing the kit. 3. Say: `ship this to GitHub`, `上架 GitHub`, or `准备开源`. 4. Review the diff and `.github/PUBLISH_CHECKLIST.md`. The agent follows [skills/github-launch/SKILL.md](skills/github-launch/SKILL.md) and the templates under [templates/](templates/README.md.tmpl). 5. Push when the secret check has passed and you want the branch on GitHub. This repository has no hook that refuses `git push`. @@ -100,6 +101,8 @@ Agent Skill that packages a project for GitHub: bilingual README, About, license Suggested topics: `agent-skills`, `github`, `readme`, `seo`, `cicd`, `open-source`, `cursor`, `claude`. +Use this English text for the About description and the topics. The GitHub About field is not bilingual. + ## Configuration No configuration file. The agent reads the project name, audience, copyright holder, and public contact from the target repository. If the target has no public contact, it links the GitHub owner and does not invent an email. It does not invent a personal name, phone number, or employer, and it does not copy this repository's contact line. @@ -108,27 +111,7 @@ On a first launch, the agent may edit the README and add these files when they a The default license for a new project is MIT. An existing `LICENSE` stays unless you explicitly ask to change it. -## FAQ - -### Does this skill block git push? - -No. It is a soft skill: steps plus a checklist. It does not install a git hook, set a GitHub ruleset, or use a tool permission to reject `git push`. - -### Will it enable GitHub Pages? - -No. It can add a `/docs` site and the homepage URL to put in About. Turn Pages on under Settings → Pages → Deploy from a branch → `/docs`. See [Usage](#usage). - -### Which license does it pick? - -MIT by default, unless the repository already has a license, or you need Apache-2.0 (patent grant) or AGPL-3.0 (network copyleft). It will not swap a license silently. - -### How do the English and Chinese READMEs stay aligned? - -Same section order, commands, and version numbers. A change that touches one file must touch the other. - -### What if the project should not be public yet? - -Say so. The skill still writes the packaging files. It does not change visibility unless you explicitly ask it to make the repository public, and it will not do that while the secret check is failing. +It does not change repository visibility unless you explicitly ask to make the repository public. It will not do that while the secret check is failing. ## License diff --git a/README.zh-CN.md b/README.zh-CN.md index cfaf54a..0d35667 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -5,13 +5,13 @@ 用 Agent Skill 把项目上架到 GitHub。 -对代理说「ship this to GitHub」「上架 GitHub」或「准备开源」即可加载。代理会写双语 README、About、许可证、CI、Pages 落地页和 GEO 说明,并填检查清单;不拦截 `git push`。 +对代理说「ship this to GitHub」「上架 GitHub」或「准备开源」,就会加载本技能。它会写双语 README、About、许可证、CI 和 Pages 落地页,并写稳定标题和 Pages meta,再填检查清单。不拦截 `git push`。 [English](README.md) ## 用途 -别人打开公开仓库,先看第一屏:项目是什么、怎么跑、许可证、是否有人维护。搜索引擎和语言模型也会引用这一屏。本技能在公开前完成打包:直接写文件并填检查清单,不只给建议。 +公开仓库的第一屏要写清:项目是什么、怎么跑、许可证、有没有人维护。搜索引擎和语言模型会引用这一屏。本技能在公开前写好这些文件,并填检查清单。 ## 快速开始 @@ -31,19 +31,20 @@ ship this to GitHub ## 功能 -- 收集项目信息:仓库类型、读者、语言 -- 审查仓库内容:密钥、个人隐私、失效演示、许可证头、`.gitignore`、大体积二进制 -- 写出结构相同、事实一致的 `README.md`(英文)与 `README.zh-CN.md` +- 收集仓库类型、使用对象、语言 +- 审查密钥、个人隐私、失效演示、许可证头、`.gitignore`、大体积二进制 +- 写 `README.md` 与 `README.zh-CN.md`:章节顺序、命令、版本号相同 - 写 GitHub About(不超过 160 个字符)和 5–10 个 topics -- 许可证:默认 MIT;需要专利授权用 Apache-2.0,需要网络 copyleft 用 AGPL-3.0 -- 添加尽量短的 GitHub Actions 工作流(lint、测试或文档检查) -- 准备 `/docs` 下的 GitHub Pages,并写明在 Settings 里如何打开(技能不会替你打开 Pages) -- GEO 与 SEO:稳定标题、FAQ、Pages meta -- 发布检查清单,由代理填 `pass` / `fail` / `skip` +- 许可证默认 MIT;需要专利授权时用 Apache-2.0,需要网络 copyleft 时用 AGPL-3.0 +- 添加简短的 GitHub Actions 工作流(lint、测试或文档检查) +- 准备 `/docs` 下的 GitHub Pages,并写明在 Settings 里如何打开。技能不会替你打开 Pages +- GEO 与 SEO:稳定标题和 Pages meta +- 发布检查清单,由代理填写 `pass` / `fail` / `skip` +- 中文稿写完后做 doc-lint:删冗余、套话和翻译腔,保留技术术语和原意 ## 安装 -把 `skills/github-launch/` 复制到代理已在读取的技能目录。该目录内的 `assets/` 与 [templates/](templates/CHECKLIST.md) 内容相同,复制技能文件夹即可。若要从仓库根目录读 `templates/`,再克隆整个仓库。 +把 `skills/github-launch/` 复制到代理已经在读的技能目录。该目录里的 `assets/` 与 [templates/](templates/CHECKLIST.md) 相同,复制技能文件夹即可。要从仓库根目录读 `templates/`,再克隆整个仓库。 | 代理 | 当前项目 | 所有项目 | | --- | --- | --- | @@ -52,7 +53,7 @@ ship this to GitHub | OpenCode | `.opencode/skills/` 或 `.agents/skills/` | `~/.config/opencode/skills/` 或 `~/.agents/skills/` | | Codex | `.agents/skills/` | `~/.agents/skills/` | -Cursor 还会加载 `.claude/skills/`、`.codex/skills/`,以及主目录下的同名目录。如果 Codex 没有列出这个技能,把同一文件夹再复制到 `~/.codex/skills/`。 +Cursor 还会加载 `.claude/skills/`、`.codex/skills/`,以及主目录下的同名目录。Codex 没有列出本技能时,把同一文件夹再复制到 `~/.codex/skills/`。 ```bash git clone https://github.com/loomlab-ai/github-launch-skill.git @@ -70,17 +71,17 @@ mkdir -p .agents/skills cp -R github-launch-skill/skills/github-launch .agents/skills/ ``` -技能未出现时,重开一次会话。用自然语言触发,无需斜杠命令。 +技能没有出现时,新开一次会话。用自然语言触发,不需要斜杠命令。 ## 用法 1. 安装技能。 -2. 打开要发布的项目。对本项目执行步骤;除非你在改本工具仓库,否则不要对它执行。 +2. 打开要发布的项目,在该项目里执行。只有正在修改本工具仓库时,才对本仓库执行。 3. 说:`ship this to GitHub`、`上架 GitHub` 或 `准备开源`。 -4. 查看 diff 与 `.github/PUBLISH_CHECKLIST.md`。代理按 [skills/github-launch/SKILL.md](skills/github-launch/SKILL.md) 和 [templates/](templates/README.md.tmpl) 下的模板执行。 -5. 密钥检查通过、且你希望分支出现在 GitHub 上时再推送。本仓库没有拒绝 `git push` 的钩子。 +4. 查看 diff 和 `.github/PUBLISH_CHECKLIST.md`。代理按 [skills/github-launch/SKILL.md](skills/github-launch/SKILL.md) 和 [templates/](templates/README.md.tmpl) 里的模板执行。 +5. 密钥检查通过,并且你要把分支推到 GitHub 时,再推送。本仓库没有拒绝 `git push` 的钩子。 -代理会读取这些路径: +代理读取这些路径: ```text skills/github-launch/SKILL.md @@ -90,7 +91,7 @@ docs/ # Pages 源文件;在 Settings 里打开 scripts/check_kit.py # 本仓库的 CI ``` -Pages 需自行打开:**Settings → Pages → Deploy from a branch**,目录选 **`/docs`**。落地页是 [docs/index.html](docs/index.html)。空文件 [docs/.nojekyll](docs/.nojekyll) 用于阻止 Jekyll 改写 HTML。站点可访问后,主页为 `https://loomlab-ai.github.io/github-launch-skill/`。把该 URL 填入 About 的 homepage。本仓库不会替你打开 Pages。 +Pages 需自行打开:**Settings → Pages → Deploy from a branch**,目录选 **`/docs`**。落地页是 [docs/index.html](docs/index.html)。空文件 [docs/.nojekyll](docs/.nojekyll) 用来阻止 Jekyll 改写 HTML。站点可访问后,主页是 `https://loomlab-ai.github.io/github-launch-skill/`。把这个 URL 填进 About 的 homepage。本仓库不会替你打开 Pages。 建议的 About 描述(97 个字符): @@ -100,37 +101,17 @@ Agent Skill that packages a project for GitHub: bilingual README, About, license 建议的 topics:`agent-skills`、`github`、`readme`、`seo`、`cicd`、`open-source`、`cursor`、`claude`。 -About 描述和 topics 用这一份英文。GitHub 的 About 栏不是双语字段。 +About 描述和 topics 用上面这份英文。GitHub About 不是双语字段。 ## 配置 -没有配置文件。代理从目标仓库读取项目名、读者、版权持有者和公开联系方式。若目标仓库没有公开联系方式,只链接 GitHub 所有者,不编造邮箱。不会编造个人姓名、电话或雇主,也不会把本仓库的联系方式抄过去。 +没有配置文件。项目名、使用对象、版权持有者和公开联系方式都从目标仓库读取。目标仓库没有公开联系方式时,只链接 GitHub 所有者,不编造邮箱。不编造姓名、电话或雇主,也不抄本仓库的联系方式。 -首次上架时,代理可改 README、补缺失的 `LICENSE`、`.gitignore`、`.github/workflows/ci.yml`、`docs/` 和 `.github/PUBLISH_CHECKLIST.md`。不改写历史。发布后可删除检查清单。 +首次上架可以改 README,并补上缺失的 `LICENSE`、`.gitignore`、`.github/workflows/ci.yml`、`docs/` 和 `.github/PUBLISH_CHECKLIST.md`。不改写历史。发布后可以删掉检查清单。 新项目默认许可证为 MIT。已有 `LICENSE` 保持不动,除非你明确要求更换。 -## 常见问题 - -### 这个技能会阻止 git push 吗? - -不会。它是软技能:步骤加清单。不安装 git hook,不设 GitHub ruleset,也不用工具权限拒绝 `git push`。 - -### 它会打开 GitHub Pages 吗? - -不会。它可以添加 `/docs` 站点,并给出要填进 About 的主页 URL。在 Settings → Pages → Deploy from a branch → `/docs` 打开 Pages。见[用法](#用法)。 - -### 它会选哪种许可证? - -默认 MIT。仓库已有许可证,或你需要 Apache-2.0(专利授权)或 AGPL-3.0(网络 copyleft)时除外。不会悄悄更换许可证。 - -### 中英文 README 如何保持一致? - -章节顺序、命令、版本号相同。一次改动若动了其中一个文件,须同时改另一个。 - -### 如果项目还不该公开呢? - -直接说明。技能仍会写打包文件。除非你明确要求把仓库设为公开,否则不改可见性;密钥检查未通过时也不会改为公开。 +除非你明确要求把仓库改为公开,否则不改可见性。密钥检查未通过时,不改为公开。 ## 许可证 diff --git a/docs/index.html b/docs/index.html index 44e8136..83ab7ca 100644 --- a/docs/index.html +++ b/docs/index.html @@ -368,44 +368,6 @@ .card.tone-b .card-icon { color: var(--hands); } .card.tone-c .card-icon { color: var(--session); } - /* ─── FAQ details ─── */ - .faq-list { margin: 8px 0 0; } - details.faq { - border: 1px solid var(--rule); - background: #fff; - margin-bottom: 8px; - } - details.faq summary { - cursor: pointer; - list-style: none; - padding: 12px 14px; - font-weight: 600; - font-size: 15px; - display: flex; - align-items: center; - gap: 10px; - user-select: none; - } - details.faq summary::-webkit-details-marker { display: none; } - details.faq summary::before { - content: "+"; - font-family: ui-monospace, Menlo, monospace; - font-size: 12px; - color: var(--accent); - width: 14px; - flex-shrink: 0; - } - details.faq[open] summary::before { content: "−"; } - details.faq[open] summary { - border-bottom: 1px solid var(--rule-soft); - } - details.faq .faq-body { - padding: 12px 14px 14px; - font-size: 14.5px; - color: var(--ink-soft); - } - details.faq .faq-body p { margin-bottom: 0; } - /* ─── Buttons ─── */ .btn { font-family: @@ -550,7 +512,6 @@ html.dark .callout, html.dark .card, html.dark figure, - html.dark details.faq, html.dark .doc-meta span { background: #1f1f1f; } html.dark figcaption { background: #181818; } html.dark .copy-btn { background: #1f1f1f; } @@ -609,7 +570,7 @@

03功能

01 · INTAKE
项目信息
-
收集仓库类型、读者、语言。
+
收集仓库类型、使用对象、语言。
02 · AUDIT
@@ -619,7 +580,7 @@

03功能

03 · README
双语 README
-
结构相同、事实一致的 README.md 与 README.zh-CN.md。
+
章节、命令、版本号相同。中文稿再做 doc-lint,删冗余和翻译腔。
04 · ABOUT
@@ -644,7 +605,7 @@

03功能

08 · SEO
GEO 与 SEO
-
稳定标题、FAQ、Pages meta。
+
稳定标题和 Pages meta。
09 · CHECK
@@ -711,7 +672,7 @@

04安装

05用法

  1. 安装技能。
  2. -
  3. 打开要发布的项目。对本项目执行步骤;除非你在改本工具仓库,否则不要对它执行。
  4. +
  5. 打开要发布的项目,在该项目里执行。只有正在修改本工具仓库时,才对本仓库执行。
  6. 说:ship this to GitHub、上架 GitHub 或 准备开源。
  7. 查看 diff 与 .github/PUBLISH_CHECKLIST.md。代理按 skills/github-launch/SKILL.md 和 templates/ 下的模板执行。
  8. 密钥检查通过、且你希望分支出现在 GitHub 上时再推送。本仓库没有拒绝 git push 的钩子。
  9. diff --git a/scripts/check_kit.py b/scripts/check_kit.py index 8d69d29..c325d51 100644 --- a/scripts/check_kit.py +++ b/scripts/check_kit.py @@ -43,7 +43,6 @@ "Install", "Usage", "Configuration", - "FAQ", "License", "Contact", ] @@ -54,7 +53,6 @@ "安装", "用法", "配置", - "常见问题", "许可证", "联系", ] @@ -86,6 +84,15 @@ def read(rel: str) -> str: return (ROOT / rel).read_text(encoding="utf-8") +def faq_headings(text: str) -> list[str]: + found = [] + for line in text.splitlines(): + stripped = line.strip() + if stripped in {"## FAQ", "## 常见问题"}: + found.append(stripped) + return found + + def headings(text: str, level: int) -> list[str]: prefix = "#" * level + " " found = [] @@ -255,9 +262,14 @@ def main() -> int: ): if phrase not in description: fail(f"SKILL.md description missing {phrase!r}") - for phrase in ("soft skill", "git push", "FAQ", "160"): + for phrase in ("soft skill", "git push", "160", "doc-lint"): if phrase not in skill_text: fail(f"SKILL.md body missing {phrase!r}") + if "{{FAQ}}" in skill_text or "{{FAQ_ZH}}" in skill_text: + fail("SKILL.md must not require an FAQ placeholder") + for needle in ("At least three H3 questions", "FAQ headings are full questions"): + if needle in skill_text: + fail(f"SKILL.md still instructs an FAQ: {needle!r}") if "llms.txt" in skill_text: fail("SKILL.md must not require llms.txt") if "author: loomlab" not in meta.get("metadata", ""): @@ -271,8 +283,11 @@ def main() -> int: fail(f"README.zh-CN.md H2 order is {headings(zh, 2)}") en_h3 = headings(en, 3) zh_h3 = headings(zh, 3) - if len(en_h3) < 3 or len(en_h3) != len(zh_h3): - fail(f"FAQ H3 counts differ: en={len(en_h3)} zh={len(zh_h3)}") + if len(en_h3) != len(zh_h3): + fail(f"H3 counts differ: en={len(en_h3)} zh={len(zh_h3)}") + for rel in ("README.md", "README.zh-CN.md"): + if faq_headings(read(rel)): + fail(f"{rel}: must not include an FAQ heading") if "does not block `git push`" not in en: fail("README.md does not say it does not block git push") if "不拦截 `git push`" not in zh: @@ -383,6 +398,8 @@ def main() -> int: fail("JSON-LD @type is not SoftwareSourceCode") if data.get("name") != "github-launch-skill": fail("JSON-LD name is not github-launch-skill") + if re.search(r"FAQ|常见问题|faq-list|details\.faq", html): + fail("docs/index.html must not include an FAQ") workflow = read(".github/workflows/ci.yml") for needle in ("actions/checkout@v7", "permissions:", "python3 scripts/check_kit.py"): @@ -414,7 +431,6 @@ def main() -> int: "{{INSTALL}}", "{{USAGE}}", "{{CONFIGURATION}}", - "{{FAQ}}", "{{LICENSE_LINE}}", "{{CONTACT}}", ], @@ -430,7 +446,6 @@ def main() -> int: "{{INSTALL_ZH}}", "{{USAGE_ZH}}", "{{CONFIGURATION_ZH}}", - "{{FAQ_ZH}}", "{{LICENSE_LINE_ZH}}", "{{CONTACT_ZH}}", ], @@ -447,6 +462,21 @@ def main() -> int: if token not in read(rel): fail(f"{rel}: missing {token}") + for rel in ( + "templates/README.md.tmpl", + "templates/README.zh-CN.md.tmpl", + "templates/CHECKLIST.md", + "skills/github-launch/SKILL.md", + ): + text = read(rel) + if faq_headings(text) or "{{FAQ}}" in text or "{{FAQ_ZH}}" in text: + fail(f"{rel}: must not include an FAQ section") + checklist = read("templates/CHECKLIST.md") + if "doc-lint" not in checklist: + fail("templates/CHECKLIST.md must include the doc-lint pass") + if "FAQ and product noun" in checklist: + fail("templates/CHECKLIST.md still requires an FAQ row") + template_files = files_under(TEMPLATES) asset_files = files_under(ASSETS) if set(template_files) != set(asset_files): diff --git a/skills/github-launch/SKILL.md b/skills/github-launch/SKILL.md index a9416e5..18e3e08 100644 --- a/skills/github-launch/SKILL.md +++ b/skills/github-launch/SKILL.md @@ -3,7 +3,8 @@ name: github-launch description: >- Package a software project for public GitHub: bilingual README (English and zh-CN), About description and topics, LICENSE, GitHub Pages, minimal - CI, GEO/SEO (FAQ, headings, title, meta), and a code-content review. Use + CI, GEO/SEO (stable headings, title, meta), a Chinese doc-lint pass, + and a code-content review. Use when the user says "ship this to GitHub", "上架 GitHub", "准备开源", "publish to GitHub", or "open source this". Procedure only; it does not block git push. @@ -66,7 +67,7 @@ Any hit in those paths is unfinished. Do not run that pattern-delete over `*.yml Delete HTML comments that tell you how to fill a template. They are not part of the published file. -Keep commands, URLs, flags, and version numbers identical in the English and Chinese READMEs. Translate the prose around them. +Keep commands, URLs, flags, and version numbers identical in the English and Chinese READMEs. Translate the prose, then run the Chinese polish in step 3. ## Steps @@ -145,17 +146,19 @@ List every tracked file at least 1 MB. Do not add a new file at least 5 MB unles ### 3. README -Write `README.md` from [README.md.tmpl](../../templates/README.md.tmpl) and `README.zh-CN.md` from [README.zh-CN.md.tmpl](../../templates/README.zh-CN.md.tmpl) in the same edit. +Write `README.md` from [README.md.tmpl](../../templates/README.md.tmpl) and `README.zh-CN.md` from [README.zh-CN.md.tmpl](../../templates/README.zh-CN.md.tmpl) in the same edit. Then polish the Chinese. Order: 1. H1 is the product name people search for, not "Welcome" or "Introduction". 2. One-liner: the first paragraph. What it is and who it is for. -3. Purpose, Quick start, Features, Install, Usage, Configuration, FAQ, License, Contact. +3. Purpose, Quick start, Features, Install, Usage, Configuration, License, Contact. -English headings, exactly: `Purpose`, `Quick start`, `Features`, `Install`, `Usage`, `Configuration`, `FAQ`, `License`, `Contact`. +English headings, exactly: `Purpose`, `Quick start`, `Features`, `Install`, `Usage`, `Configuration`, `License`, `Contact`. -Chinese headings, exactly: `用途`, `快速开始`, `功能`, `安装`, `用法`, `配置`, `常见问题`, `许可证`, `联系`. +Chinese headings, exactly: `用途`, `快速开始`, `功能`, `安装`, `用法`, `配置`, `许可证`, `联系`. + +Do not add an FAQ heading (`FAQ` or `常见问题`). Do not link to one. | Token | Write | | --- | --- | @@ -166,11 +169,16 @@ Chinese headings, exactly: `用途`, `快速开始`, `功能`, `安装`, `用法 | `{{INSTALL}}` / `{{INSTALL_ZH}}` | Real install commands for this stack. | | `{{USAGE}}` / `{{USAGE_ZH}}` | One working example. | | `{{CONFIGURATION}}` / `{{CONFIGURATION_ZH}}` | Env vars or flags. If there are none, say so. Keep the heading. | -| `{{FAQ}}` / `{{FAQ_ZH}}` | At least three H3 questions a stranger would type, with short answers. | | `{{LICENSE_LINE}}` / `{{LICENSE_LINE_ZH}}` | License name, SPDX id, copyright, link to the file. | | `{{CONTACT}}` / `{{CONTACT_ZH}}` | Contacts the project already published, or contacts in the user message. If none, link the GitHub owner only. | -If the user asked for English only, skip the Chinese file and mark that checklist row `skip`. The default is both files. +If the user asked for English only, skip the Chinese file and mark the doc-lint checklist row `skip`. The default is both files. + +After both drafts exist, polish `README.zh-CN.md` and any other Chinese product or technical page this launch writes. If a `doc-lint` skill is available, load it for this pass. Do not copy that skill into this repository. + +- Cut redundancy, filler, and translationese. Keep the meaning. +- Keep technical English terms, commands, URLs, flags, and version numbers identical to `README.md`. +- Do not add sections to make the Chinese file longer. ### 4. About and topics @@ -248,11 +256,10 @@ If the user said there should be no site, write nothing under `docs/` and mark t ### 8. GEO and SEO -Write so a search index and a language model quote the same facts. +Write so a search index and a language model quote the same facts. SEO is the stable headings from step 3, plus the title and Pages meta. Do not add an FAQ heading. - The H1 is the product name. The first paragraph says what it is, who it is for, and the license. Scrapers cut the page short. -- Use that same product noun in Features and in one FAQ answer. Do not stuff keywords. -- FAQ headings are full questions. +- Use that same product noun in Features. Do not stuff keywords. - On `docs/index.html` set ``, `meta name="description"` (160 characters or fewer), `link rel="canonical"`, `og:title`, `og:description`, and `og:url`. Use the About sentence for the meta description when it already states the product. - Add JSON-LD `@type` `SoftwareSourceCode` only with facts you can point at: name, description, `codeRepository`, license URL. Publisher is an Organization. No star ratings, no invented author name. diff --git a/skills/github-launch/assets/CHECKLIST.md b/skills/github-launch/assets/CHECKLIST.md index 71f1c31..9cfb55a 100644 --- a/skills/github-launch/assets/CHECKLIST.md +++ b/skills/github-launch/assets/CHECKLIST.md @@ -19,5 +19,6 @@ Report from the `github-launch` skill. Status is `pass`, `fail`, or `skip`. This | CI workflow matches the stack | TODO | | | Pages decision recorded; the agent did not enable Pages | TODO | | | Homepage URL recorded; set only after the site loads | TODO | {{HOMEPAGE_URL}} | -| FAQ and product noun present | TODO | | +| Product noun in the H1 and Features; stable headings and Pages meta; no FAQ section | TODO | | +| doc-lint pass on README.zh-CN.md and other Chinese docs this launch wrote | TODO | | | Push | TODO | not run unless the user asked and the secret scan passed | diff --git a/skills/github-launch/assets/README.md.tmpl b/skills/github-launch/assets/README.md.tmpl index 47bb85c..2c6d80a 100644 --- a/skills/github-launch/assets/README.md.tmpl +++ b/skills/github-launch/assets/README.md.tmpl @@ -26,10 +26,6 @@ {{CONFIGURATION}} -## FAQ - -{{FAQ}} - ## License {{LICENSE_LINE}} diff --git a/skills/github-launch/assets/README.zh-CN.md.tmpl b/skills/github-launch/assets/README.zh-CN.md.tmpl index cbea43b..993a23e 100644 --- a/skills/github-launch/assets/README.zh-CN.md.tmpl +++ b/skills/github-launch/assets/README.zh-CN.md.tmpl @@ -26,10 +26,6 @@ {{CONFIGURATION_ZH}} -## 常见问题 - -{{FAQ_ZH}} - ## 许可证 {{LICENSE_LINE_ZH}} diff --git a/templates/CHECKLIST.md b/templates/CHECKLIST.md index 71f1c31..9cfb55a 100644 --- a/templates/CHECKLIST.md +++ b/templates/CHECKLIST.md @@ -19,5 +19,6 @@ Report from the `github-launch` skill. Status is `pass`, `fail`, or `skip`. This | CI workflow matches the stack | TODO | | | Pages decision recorded; the agent did not enable Pages | TODO | | | Homepage URL recorded; set only after the site loads | TODO | {{HOMEPAGE_URL}} | -| FAQ and product noun present | TODO | | +| Product noun in the H1 and Features; stable headings and Pages meta; no FAQ section | TODO | | +| doc-lint pass on README.zh-CN.md and other Chinese docs this launch wrote | TODO | | | Push | TODO | not run unless the user asked and the secret scan passed | diff --git a/templates/README.md.tmpl b/templates/README.md.tmpl index 47bb85c..2c6d80a 100644 --- a/templates/README.md.tmpl +++ b/templates/README.md.tmpl @@ -26,10 +26,6 @@ {{CONFIGURATION}} -## FAQ - -{{FAQ}} - ## License {{LICENSE_LINE}} diff --git a/templates/README.zh-CN.md.tmpl b/templates/README.zh-CN.md.tmpl index cbea43b..993a23e 100644 --- a/templates/README.zh-CN.md.tmpl +++ b/templates/README.zh-CN.md.tmpl @@ -26,10 +26,6 @@ {{CONFIGURATION_ZH}} -## 常见问题 - -{{FAQ_ZH}} - ## 许可证 {{LICENSE_LINE_ZH}}