From 30c432bf5282436431bf56866a87437fcf45fde6 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Sat, 31 Oct 2026 04:36:16 +0000 Subject: [PATCH] feat: scaffold github-launch Agent Skill kit Add the procedure skill, bilingual templates, dogfood READMEs, a /docs Pages stub, and CI that checks links and frontmatter. Co-authored-by: LofiSu --- .github/workflows/ci.yml | 16 + .gitignore | 16 + CONTRIBUTING.md | 12 + README.md | 141 ++++- README.zh-CN.md | 141 +++++ docs/.nojekyll | 0 docs/index.html | 113 ++++ docs/llms.txt | 19 + llms.txt | 19 + scripts/check_kit.py | 494 ++++++++++++++++++ skills/github-launch/SKILL.md | 279 ++++++++++ .../assets/.github/workflows/ci.yml.tmpl | 55 ++ skills/github-launch/assets/ABOUT.txt | 14 + skills/github-launch/assets/CHECKLIST.md | 23 + skills/github-launch/assets/LICENSE.MIT.txt | 21 + skills/github-launch/assets/README.md.tmpl | 39 ++ .../github-launch/assets/README.zh-CN.md.tmpl | 39 ++ .../github-launch/assets/docs/index.html.tmpl | 48 ++ .../github-launch/assets/docs/index.md.tmpl | 17 + skills/github-launch/assets/llms.txt.tmpl | 23 + templates/.github/workflows/ci.yml.tmpl | 55 ++ templates/ABOUT.txt | 14 + templates/CHECKLIST.md | 23 + templates/LICENSE.MIT.txt | 21 + templates/README.md.tmpl | 39 ++ templates/README.zh-CN.md.tmpl | 39 ++ templates/docs/index.html.tmpl | 48 ++ templates/docs/index.md.tmpl | 17 + templates/llms.txt.tmpl | 23 + 29 files changed, 1806 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/ci.yml create mode 100644 .gitignore create mode 100644 CONTRIBUTING.md create mode 100644 README.zh-CN.md create mode 100644 docs/.nojekyll create mode 100644 docs/index.html create mode 100644 docs/llms.txt create mode 100644 llms.txt create mode 100644 scripts/check_kit.py create mode 100644 skills/github-launch/SKILL.md create mode 100644 skills/github-launch/assets/.github/workflows/ci.yml.tmpl create mode 100644 skills/github-launch/assets/ABOUT.txt create mode 100644 skills/github-launch/assets/CHECKLIST.md create mode 100644 skills/github-launch/assets/LICENSE.MIT.txt create mode 100644 skills/github-launch/assets/README.md.tmpl create mode 100644 skills/github-launch/assets/README.zh-CN.md.tmpl create mode 100644 skills/github-launch/assets/docs/index.html.tmpl create mode 100644 skills/github-launch/assets/docs/index.md.tmpl create mode 100644 skills/github-launch/assets/llms.txt.tmpl create mode 100644 templates/.github/workflows/ci.yml.tmpl create mode 100644 templates/ABOUT.txt create mode 100644 templates/CHECKLIST.md create mode 100644 templates/LICENSE.MIT.txt create mode 100644 templates/README.md.tmpl create mode 100644 templates/README.zh-CN.md.tmpl create mode 100644 templates/docs/index.html.tmpl create mode 100644 templates/docs/index.md.tmpl create mode 100644 templates/llms.txt.tmpl diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..ff914fc --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,16 @@ +name: ci + +on: + push: + pull_request: + +permissions: + contents: read + +jobs: + kit: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v7 + - name: Skill kit + run: python3 scripts/check_kit.py diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..f12c5fd --- /dev/null +++ b/.gitignore @@ -0,0 +1,16 @@ +.DS_Store +Thumbs.db +.idea/ +.vscode/ +*.swp +*.log +.env +.env.* +!.env.example +__pycache__/ +*.py[cod] +.venv/ +node_modules/ +dist/ +.pytest_cache/ +.mypy_cache/ diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 0000000..77c1a5a --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,12 @@ +# Contributing + +Issues and pull requests are welcome. + +- Edit files under `templates/`, then run `python3 scripts/check_kit.py --sync-assets` so `skills/github-launch/assets/` stays a byte copy. +- Change `README.md` and `README.zh-CN.md` in the same pull request. Same section order, same commands, same URLs. +- Run `python3 scripts/check_kit.py` before you push. +- Do not add personal names, phone numbers, or employer details. Public contact for this repository stays the GitHub org, the published email, GitHub Sponsors, and the published X account. +- Do not link a website that is not this GitHub organization. `loomlab-ai` on GitHub is the org; do not point at an unrelated product domain. +- License text stays MIT. Change the copyright line only if LoomLab asks for that. Do not reword the permission grant. + +[MIT](LICENSE). Copyright (c) 2026 LoomLab. diff --git a/README.md b/README.md index 5d19681..acc0cfe 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,139 @@ -# github-ship-skill -Agent Skill: ship a project to GitHub — README (EN/ZH), About/topics, license, Pages, CI, GEO/SEO, pre-publish review. +# github-launch-skill + +[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE) +[![CI](https://github.com/loomlab-ai/github-launch-skill/actions/workflows/ci.yml/badge.svg)](https://github.com/loomlab-ai/github-launch-skill/actions/workflows/ci.yml) + +Agent Skill that launches your project onto GitHub. + +Coding agents load it when you say "ship this to GitHub", "上架 GitHub", or "准备开源". The agent writes the packaging files — bilingual README, About text, license, CI, a Pages landing, GEO notes — and fills a checklist. It does not block `git push`. + +[中文说明](README.zh-CN.md) + +## Why + +A public repository is judged from the first screen: what it is, how to run it, the license, and whether anyone maintains it. Later, search engines and language models quote that same screen. This skill is the packaging pass before the project is public. It writes files and a checklist. It does not hand you a list of tips and stop. + +## Quick start + +```bash +git clone https://github.com/loomlab-ai/github-launch-skill.git +mkdir -p .cursor/skills +cp -R github-launch-skill/skills/github-launch .cursor/skills/github-launch +``` + +Open the project you want to publish and tell the agent: + +```text +ship this to GitHub +``` + +Other agents and the user-level paths are in [Install](#install). The procedure is [skills/github-launch/SKILL.md](skills/github-launch/SKILL.md). + +## Features + +- Project intake: repository kind, audience, and languages +- Code-content review: secrets, personal data, dead demos, license headers, `.gitignore`, large binaries +- `README.md` (English) and `README.zh-CN.md`, same structure and the same facts +- GitHub About description (160 characters or fewer) and 5–10 topics +- LICENSE choice: MIT by default; Apache-2.0 or AGPL-3.0 when the project needs that grant or that copyleft +- A minimal GitHub Actions workflow for lint, test, or a docs check +- GitHub Pages from `/docs`, plus the clicks that turn it on (the skill does not enable Pages) +- GEO and SEO: stable headings, an FAQ, `llms.txt`, and meta tags on the Pages landing +- A publish checklist the agent fills with `pass`, `fail`, or `skip` + +## Install + +Copy `skills/github-launch/` into a skills directory your agent already reads. The folder includes `assets/`, the same files as [templates/](templates/CHECKLIST.md), so one copy is enough. Copy the whole kit if you would rather read `templates/` at the repository root. + +| Agent | This project | All projects | +| --- | --- | --- | +| Cursor | `.cursor/skills/` or `.agents/skills/` | `~/.cursor/skills/` or `~/.agents/skills/` | +| Claude Code | `.claude/skills/` | `~/.claude/skills/` | +| OpenCode | `.opencode/skills/` or `.agents/skills/` | `~/.config/opencode/skills/` or `~/.agents/skills/` | +| Codex | `.agents/skills/` | `~/.agents/skills/` | + +Cursor also loads `.claude/skills/`, `.codex/skills/`, and those directories under your home folder. If Codex does not list the skill, copy the same folder to `~/.codex/skills/` as well. + +```bash +git clone https://github.com/loomlab-ai/github-launch-skill.git + +mkdir -p .cursor/skills +cp -R github-launch-skill/skills/github-launch .cursor/skills/ + +mkdir -p .claude/skills +cp -R github-launch-skill/skills/github-launch .claude/skills/ + +mkdir -p .opencode/skills +cp -R github-launch-skill/skills/github-launch .opencode/skills/ + +mkdir -p .agents/skills +cp -R github-launch-skill/skills/github-launch .agents/skills/ +``` + +Restart the session if the skill does not show up. You invoke it by asking. There is no required slash command. + +## Usage + +1. Install the skill. +2. Open the project to publish. Run the procedure on that project, not on this kit, unless you are changing the kit. +3. Ask: `ship this to GitHub`, `上架 GitHub`, or `准备开源`. +4. Read the diff and `.github/PUBLISH_CHECKLIST.md`. The agent follows [skills/github-launch/SKILL.md](skills/github-launch/SKILL.md) and the files under [templates/](templates/README.md.tmpl). +5. Push when the checklist's secret scan passed and you want the branch on GitHub. Nothing in this repository refuses `git push`. + +What the agent reads: + +```text +skills/github-launch/SKILL.md +skills/github-launch/assets/ # same bytes as templates/ +templates/ +docs/ # Pages source; enable it in Settings +scripts/check_kit.py # CI for this kit +``` + +Enable Pages yourself: **Settings → Pages → Deploy from a branch**, folder **`/docs`**. The landing file is [docs/index.html](docs/index.html). An empty [docs/.nojekyll](docs/.nojekyll) keeps Jekyll from rewriting it. After the site loads, the homepage is `https://loomlab-ai.github.io/github-launch-skill/`. Put that URL in the About homepage field. This repository does not turn Pages on. + +Suggested About description (105 characters): + +```text +Agent Skill that launches your project onto GitHub: bilingual README, About, license, Pages, CI, and SEO. +``` + +Suggested topics: `agent-skills`, `github`, `readme`, `seo`, `cicd`, `open-source`, `cursor`, `claude`. + +## Configuration + +No configuration file. The agent takes 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 leaves out an email. It does not invent a person, a phone number, or an employer, and it does not reuse this kit's contact line. + +On a first launch the agent may edit README files, `LICENSE` (only if missing), `.gitignore`, `.github/workflows/ci.yml`, `docs/`, `llms.txt`, and `.github/PUBLISH_CHECKLIST.md`. It does not rewrite history. You can delete the checklist file after you publish. + +Default license for a new project is MIT. An existing `LICENSE` stays unless you ask for a different one. + +## FAQ + +### Does this skill block git push? + +No. It is a soft skill: a procedure and a checklist. It does not install a git hook, a GitHub ruleset, or a tool permission that rejects `git push`. + +### Will it enable GitHub Pages? + +No. It can add a `/docs` site and the homepage URL to put in About. You enable Pages under Settings → Pages → Deploy from a branch → `/docs`. See [Usage](#usage). + +### Which license does it pick? + +MIT, 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, same commands, same version numbers. A change to one file in a task includes the other. + +### What if the project should not be public yet? + +Say so. The skill still writes the packaging files. It does not change repository visibility unless you explicitly tell it to make the repo public, and it will not do that while a secret scan is failing. + +## License + +[MIT](LICENSE). Copyright (c) 2026 LoomLab. + +## Contact + +[LoomLab](https://github.com/loomlab-ai) · [lofisuchat@gmail.com](mailto:lofisuchat@gmail.com) · GitHub Sponsors · [X @su_lofi](https://x.com/su_lofi) diff --git a/README.zh-CN.md b/README.zh-CN.md new file mode 100644 index 0000000..dc13283 --- /dev/null +++ b/README.zh-CN.md @@ -0,0 +1,141 @@ +# github-launch-skill + +[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE) +[![CI](https://github.com/loomlab-ai/github-launch-skill/actions/workflows/ci.yml/badge.svg)](https://github.com/loomlab-ai/github-launch-skill/actions/workflows/ci.yml) + +把你的项目上架到 GitHub 的 Agent Skill。 + +当你说「ship this to GitHub」、「上架 GitHub」或「准备开源」时,编码代理会加载它。代理会写上架所需的文件:双语 README、About 文案、许可证、CI、Pages 落地页、GEO 说明,并填一张检查清单。它不拦截 `git push`。 + +[English](README.md) + +## 为什么 + +公开仓库被人从第一屏判断:它是什么、怎么跑、用什么许可证、有没有人维护。之后搜索引擎和语言模型引用的也是这一屏。这个技能就是项目公开前的打包步骤。它写文件和检查清单,而不是丢下一串建议就停。 + +## 快速开始 + +```bash +git clone https://github.com/loomlab-ai/github-launch-skill.git +mkdir -p .cursor/skills +cp -R github-launch-skill/skills/github-launch .cursor/skills/github-launch +``` + +打开要发布的项目,对代理说: + +```text +ship this to GitHub +``` + +其他代理和用户级路径见[安装](#安装)。步骤写在 [skills/github-launch/SKILL.md](skills/github-launch/SKILL.md)。 + +## 功能 + +- 项目登记:仓库类型、读者、语言 +- 代码内容审查:密钥、个人隐私、失效演示、许可证头、`.gitignore`、大体积二进制 +- `README.md`(英文)和 `README.zh-CN.md`,结构相同、事实相同 +- GitHub About 描述(不超过 160 个字符)和 5–10 个 topics +- LICENSE:默认 MIT;需要专利授权时用 Apache-2.0,需要网络 copyleft 时用 AGPL-3.0 +- 一份尽量短的 GitHub Actions 工作流,做 lint、测试或文档检查 +- 从 `/docs` 提供 GitHub Pages,并写明打开它的点击路径(技能不会替你打开 Pages) +- GEO 与 SEO:稳定标题、FAQ、`llms.txt`、Pages 的 meta +- 代理填写的发布检查清单,状态为 `pass`、`fail` 或 `skip` + +## 安装 + +把 `skills/github-launch/` 复制到代理已经在读的技能目录。该目录里的 `assets/` 与 [templates/](templates/CHECKLIST.md) 字节相同,只复制技能文件夹即可。若希望从仓库根目录读 `templates/`,克隆整个仓库。 + +| 代理 | 当前项目 | 所有项目 | +| --- | --- | --- | +| Cursor | `.cursor/skills/` 或 `.agents/skills/` | `~/.cursor/skills/` 或 `~/.agents/skills/` | +| Claude Code | `.claude/skills/` | `~/.claude/skills/` | +| OpenCode | `.opencode/skills/` 或 `.agents/skills/` | `~/.config/opencode/skills/` 或 `~/.agents/skills/` | +| Codex | `.agents/skills/` | `~/.agents/skills/` | + +Cursor 还会加载 `.claude/skills/`、`.codex/skills/`,以及主目录下的同名目录。如果 Codex 没有列出这个技能,把同一文件夹再复制到 `~/.codex/skills/`。 + +```bash +git clone https://github.com/loomlab-ai/github-launch-skill.git + +mkdir -p .cursor/skills +cp -R github-launch-skill/skills/github-launch .cursor/skills/ + +mkdir -p .claude/skills +cp -R github-launch-skill/skills/github-launch .claude/skills/ + +mkdir -p .opencode/skills +cp -R github-launch-skill/skills/github-launch .opencode/skills/ + +mkdir -p .agents/skills +cp -R github-launch-skill/skills/github-launch .agents/skills/ +``` + +技能没有出现时,重开一次会话。用自然语言触发,没有必须的斜杠命令。 + +## 用法 + +1. 安装技能。 +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` 的钩子。 + +代理会读这些路径: + +```text +skills/github-launch/SKILL.md +skills/github-launch/assets/ # 与 templates/ 字节相同 +templates/ +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。 + +建议的 About 描述(105 个字符): + +```text +Agent Skill that launches your project onto GitHub: bilingual README, About, license, Pages, CI, and SEO. +``` + +建议的 topics:`agent-skills`、`github`、`readme`、`seo`、`cicd`、`open-source`、`cursor`、`claude`。 + +About 描述和 topics 用这一份英文。GitHub 的 About 栏不是双语字段。 + +## 配置 + +没有配置文件。代理从目标仓库读取项目名、读者、版权持有者和公开联系方式。目标仓库没有公开联系方式时,只链接 GitHub 所有者,不编造邮箱。它不会编造个人姓名、电话或雇主,也不会把本仓库的联系方式抄过去。 + +首次上架时,代理可以改 README、补上缺失的 `LICENSE`、`.gitignore`、`.github/workflows/ci.yml`、`docs/`、`llms.txt` 和 `.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 如何保持一致? + +章节顺序相同,命令相同,版本号相同。一次改动如果动了其中一个文件,就要同时改另一个。 + +### 如果项目还不该公开呢? + +直接说。技能仍会写打包文件。除非你明确要求把仓库设为公开,否则它不改可见性;密钥检查未通过时,它也不会改成公开。 + +## 许可证 + +[MIT](LICENSE)。Copyright (c) 2026 LoomLab。 + +## 联系 + +[LoomLab](https://github.com/loomlab-ai) · [lofisuchat@gmail.com](mailto:lofisuchat@gmail.com) · GitHub Sponsors · [X @su_lofi](https://x.com/su_lofi) diff --git a/docs/.nojekyll b/docs/.nojekyll new file mode 100644 index 0000000..e69de29 diff --git a/docs/index.html b/docs/index.html new file mode 100644 index 0000000..56786d9 --- /dev/null +++ b/docs/index.html @@ -0,0 +1,113 @@ + + + + + + github-launch-skill + + + + + + + + + + + + + + +
+

LoomLab

+

github-launch-skill

+

Agent Skill that launches your project onto GitHub.

+

把你的项目上架到 GitHub 的 Agent Skill。编码代理写好双语 README、About、许可证、CI 和 Pages 落地页,并交出检查清单。它不拦截 git push。

+

Say ship this to GitHub, 上架 GitHub, or 准备开源. The agent follows the skill and edits the target repository. This page does not turn GitHub Pages on. Enable it under Settings → Pages → Deploy from a branch → /docs.

+

What it writes

+
    +
  • Project intake, then a review for secrets, personal data, dead demos, license headers, .gitignore, and large binaries
  • +
  • README.md and README.zh-CN.md
  • +
  • About description (160 characters or fewer) and 5–10 topics
  • +
  • MIT by default; Apache-2.0 or AGPL-3.0 when you ask
  • +
  • A short GitHub Actions workflow, llms.txt, and this kind of landing page
  • +
+

Install

+
git clone https://github.com/loomlab-ai/github-launch-skill.git
+mkdir -p .cursor/skills
+cp -R github-launch-skill/skills/github-launch .cursor/skills/github-launch
+

+ Repository + · English README + · 中文说明 + · llms.txt +

+ +
+ + diff --git a/docs/llms.txt b/docs/llms.txt new file mode 100644 index 0000000..00c6dbd --- /dev/null +++ b/docs/llms.txt @@ -0,0 +1,19 @@ +# github-launch-skill + +> Agent Skill that launches your project onto GitHub: bilingual README, About, license, Pages, CI, and SEO. + +Agent Skill for Cursor, Claude Code, OpenCode, and Codex. It packages a repository before that repository is public: bilingual README, About text, LICENSE, CI, a GitHub Pages landing under /docs, and a code-content review. MIT License. The procedure does not block git push. + +Contact: https://github.com/loomlab-ai, lofisuchat@gmail.com, GitHub Sponsors, https://x.com/su_lofi. + +## Docs + +- [English README](https://github.com/loomlab-ai/github-launch-skill/blob/main/README.md): Install paths and what the skill covers +- [简体中文 README](https://github.com/loomlab-ai/github-launch-skill/blob/main/README.zh-CN.md): Same facts in Chinese +- [Skill](https://github.com/loomlab-ai/github-launch-skill/blob/main/skills/github-launch/SKILL.md): Steps the agent runs +- [Checklist template](https://github.com/loomlab-ai/github-launch-skill/blob/main/templates/CHECKLIST.md): Items the agent fills before publish + +## Optional + +- [License](https://github.com/loomlab-ai/github-launch-skill/blob/main/LICENSE): MIT, Copyright (c) 2026 LoomLab +- [Pages landing](https://loomlab-ai.github.io/github-launch-skill/): Homepage after GitHub Pages is enabled from /docs diff --git a/llms.txt b/llms.txt new file mode 100644 index 0000000..00c6dbd --- /dev/null +++ b/llms.txt @@ -0,0 +1,19 @@ +# github-launch-skill + +> Agent Skill that launches your project onto GitHub: bilingual README, About, license, Pages, CI, and SEO. + +Agent Skill for Cursor, Claude Code, OpenCode, and Codex. It packages a repository before that repository is public: bilingual README, About text, LICENSE, CI, a GitHub Pages landing under /docs, and a code-content review. MIT License. The procedure does not block git push. + +Contact: https://github.com/loomlab-ai, lofisuchat@gmail.com, GitHub Sponsors, https://x.com/su_lofi. + +## Docs + +- [English README](https://github.com/loomlab-ai/github-launch-skill/blob/main/README.md): Install paths and what the skill covers +- [简体中文 README](https://github.com/loomlab-ai/github-launch-skill/blob/main/README.zh-CN.md): Same facts in Chinese +- [Skill](https://github.com/loomlab-ai/github-launch-skill/blob/main/skills/github-launch/SKILL.md): Steps the agent runs +- [Checklist template](https://github.com/loomlab-ai/github-launch-skill/blob/main/templates/CHECKLIST.md): Items the agent fills before publish + +## Optional + +- [License](https://github.com/loomlab-ai/github-launch-skill/blob/main/LICENSE): MIT, Copyright (c) 2026 LoomLab +- [Pages landing](https://loomlab-ai.github.io/github-launch-skill/): Homepage after GitHub Pages is enabled from /docs diff --git a/scripts/check_kit.py b/scripts/check_kit.py new file mode 100644 index 0000000..e758d48 --- /dev/null +++ b/scripts/check_kit.py @@ -0,0 +1,494 @@ +#!/usr/bin/env python3 +"""Check the github-launch-skill kit. Python stdlib only.""" + +from __future__ import annotations + +import filecmp +import json +import re +import shutil +import sys +from pathlib import Path + +ROOT = Path(__file__).resolve().parents[1] +TEMPLATES = ROOT / "templates" +ASSETS = ROOT / "skills" / "github-launch" / "assets" +SKILL = ROOT / "skills" / "github-launch" / "SKILL.md" + +REQUIRED = [ + "LICENSE", + "README.md", + "README.zh-CN.md", + "CONTRIBUTING.md", + ".gitignore", + "llms.txt", + "docs/llms.txt", + "docs/index.html", + "docs/.nojekyll", + "skills/github-launch/SKILL.md", + ".github/workflows/ci.yml", + "scripts/check_kit.py", + "templates/README.md.tmpl", + "templates/README.zh-CN.md.tmpl", + "templates/ABOUT.txt", + "templates/llms.txt.tmpl", + "templates/LICENSE.MIT.txt", + "templates/.github/workflows/ci.yml.tmpl", + "templates/docs/index.md.tmpl", + "templates/docs/index.html.tmpl", + "templates/CHECKLIST.md", +] + +EN_H2 = [ + "Why", + "Quick start", + "Features", + "Install", + "Usage", + "Configuration", + "FAQ", + "License", + "Contact", +] +ZH_H2 = [ + "为什么", + "快速开始", + "功能", + "安装", + "用法", + "配置", + "常见问题", + "许可证", + "联系", +] + +LINK_FILES = [ + "README.md", + "README.zh-CN.md", + "CONTRIBUTING.md", + "skills/github-launch/SKILL.md", + "docs/index.html", + "llms.txt", + "docs/llms.txt", +] + +PUBLIC_COPY = [ + "README.md", + "README.zh-CN.md", + "docs/index.html", + "llms.txt", + "docs/llms.txt", +] + +TOKEN_FREE = PUBLIC_COPY + ["CONTRIBUTING.md"] + +ERRORS: list[str] = [] + + +def fail(message: str) -> None: + ERRORS.append(message) + + +def read(rel: str) -> str: + return (ROOT / rel).read_text(encoding="utf-8") + + +def headings(text: str, level: int) -> list[str]: + prefix = "#" * level + " " + found = [] + for line in text.splitlines(): + if line.startswith(prefix) and not line.startswith(prefix + "#"): + found.append(line[len(prefix) :].strip()) + return found + + +def slug(heading: str) -> str: + chars: list[str] = [] + for ch in heading.strip().lower(): + if ch.isalnum() or ch in "-_": + chars.append(ch) + elif ch.isspace(): + chars.append("-") + text = "".join(chars) + while "--" in text: + text = text.replace("--", "-") + return text.strip("-") + + +def parse_frontmatter(text: str) -> dict[str, str]: + if not text.startswith("---\n"): + fail("SKILL.md is missing YAML frontmatter") + return {} + end = text.find("\n---\n", 4) + if end < 0: + fail("SKILL.md frontmatter is not closed") + return {} + lines = text[4:end].splitlines() + data: dict[str, str] = {} + i = 0 + while i < len(lines): + line = lines[i] + if not line.strip(): + i += 1 + continue + if line[0] in " \t": + fail(f"SKILL.md frontmatter has an unexpected indent: {line!r}") + return data + key, _, rest = line.partition(":") + rest = rest.strip() + i += 1 + if rest in {">", ">-", "|", "|-"}: + block: list[str] = [] + while i < len(lines) and (lines[i].startswith(" ") or lines[i].startswith("\t")): + block.append(lines[i].strip()) + i += 1 + data[key] = " ".join(block) if rest.startswith(">") else "\n".join(block) + continue + if rest == "": + nested: list[str] = [] + while i < len(lines) and (lines[i].startswith(" ") or lines[i].startswith("\t")): + nested.append(lines[i].strip()) + i += 1 + data[key] = "\n".join(nested) + continue + if len(rest) >= 2 and rest[0] == rest[-1] and rest[0] in {'"', "'"}: + rest = rest[1:-1] + data[key] = rest + return data + + +def files_under(root: Path) -> dict[str, Path]: + if not root.is_dir(): + return {} + found: dict[str, Path] = {} + for path in root.rglob("*"): + if path.is_file(): + found[path.relative_to(root).as_posix()] = path + return found + + +def sync_assets() -> None: + if ASSETS.exists(): + shutil.rmtree(ASSETS) + shutil.copytree(TEMPLATES, ASSETS) + + +def field(text: str, key: str) -> str: + prefix = key + ":" + for line in text.splitlines(): + if line.startswith(prefix): + return line[len(prefix) :].strip() + return "" + + +def strip_markdown_code(text: str) -> str: + text = re.sub(r"```.*?```", "", text, flags=re.S) + text = re.sub(r"`[^`\n]*`", "", text) + return text + + +def check_links(rel: str) -> None: + path = ROOT / rel + raw = path.read_text(encoding="utf-8") + text = strip_markdown_code(raw) if rel.endswith(".md") else raw + slugs = {slug(item) for item in headings(raw, 1) + headings(raw, 2) + headings(raw, 3)} + targets = re.findall(r"\]\(([^)\s]+)", text) + targets += re.findall(r'(?:href|src)="([^"]+)"', text) + for target in targets: + if "{{" in target or target.startswith(("http://", "https://", "mailto:", "data:")): + continue + fragment = "" + path_part = target + if "#" in target: + path_part, fragment = target.split("#", 1) + if path_part == "": + if fragment and fragment not in slugs: + fail(f"{rel}: missing heading #{fragment}") + continue + dest = (path.parent / path_part).resolve() + try: + dest.relative_to(ROOT) + except ValueError: + fail(f"{rel}: link escapes the repo: {target}") + continue + if not dest.exists(): + fail(f"{rel}: broken link {target}") + + +def check_placeholders(rel: str, required: list[str]) -> None: + text = read(rel) + for token in required: + if token not in text: + fail(f"{rel}: missing placeholder {token}") + + +def normalized_mit(text: str) -> str: + lines = [] + for line in text.splitlines(): + if line.startswith("Copyright (c) "): + lines.append("Copyright (c) YEAR HOLDER") + else: + lines.append(line) + return "\n".join(lines).strip() + "\n" + + +def main() -> int: + if "--sync-assets" in sys.argv: + sync_assets() + + for rel in REQUIRED: + if not (ROOT / rel).exists(): + fail(f"missing {rel}") + if ERRORS: + report() + return 1 + + skill_text = read("skills/github-launch/SKILL.md") + line_count = skill_text.count("\n") + (0 if skill_text.endswith("\n") else 1) + if line_count > 500: + fail(f"SKILL.md is {line_count} lines; keep it at 500 or fewer") + + meta = parse_frontmatter(skill_text) + if meta.get("name") != "github-launch": + fail(f"SKILL.md name is {meta.get('name')!r}, want github-launch") + description = meta.get("description", "") + if not 1 <= len(description) <= 1024: + fail(f"SKILL.md description length is {len(description)}") + for phrase in ( + "ship this to GitHub", + "上架 GitHub", + "准备开源", + "does not block git push", + ): + if phrase not in description: + fail(f"SKILL.md description missing {phrase!r}") + for phrase in ("soft skill", "git push", "llms.txt", "160"): + if phrase not in skill_text: + fail(f"SKILL.md body missing {phrase!r}") + if "author: loomlab" not in meta.get("metadata", ""): + fail("SKILL.md metadata.author is not loomlab") + + en = read("README.md") + zh = read("README.zh-CN.md") + if headings(en, 2) != EN_H2: + fail(f"README.md H2 order is {headings(en, 2)}") + if headings(zh, 2) != ZH_H2: + 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 "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: + fail("README.zh-CN.md does not say it does not block git push") + + about = read("templates/ABOUT.txt") + summary = field(about, "example_description") + topics = [item.strip() for item in field(about, "example_topics").split(",") if item.strip()] + homepage = field(about, "example_homepage") + if not summary or len(summary) > 160: + fail(f"example_description length is {len(summary)}") + if not 5 <= len(topics) <= 10: + fail(f"example_topics count is {len(topics)}") + for topic in topics: + if not re.fullmatch(r"[a-z0-9]+(?:-[a-z0-9]+)*", topic): + fail(f"illegal example topic {topic!r}") + for rel in ("README.md", "README.zh-CN.md", "docs/index.html", "llms.txt"): + if summary not in read(rel): + fail(f"{rel}: missing the About description") + for rel in ("README.md", "README.zh-CN.md"): + if homepage not in read(rel): + fail(f"{rel}: missing homepage {homepage}") + for topic in topics: + if f"`{topic}`" not in read(rel): + fail(f"{rel}: missing topic {topic}") + + for rel in PUBLIC_COPY: + text = read(rel) + for needle in ( + "lofisuchat@gmail.com", + "https://github.com/loomlab-ai", + "https://x.com/su_lofi", + "GitHub Sponsors", + ): + if needle not in text: + fail(f"{rel}: missing contact {needle}") + + for path in (*files_under(TEMPLATES).values(), *files_under(ASSETS).values()): + text = path.read_text(encoding="utf-8") + for needle in ("lofisuchat", "su_lofi"): + if needle in text: + fail(f"{path.relative_to(ROOT)}: kit contact leaked into a template") + + for rel in TOKEN_FREE: + found = re.findall(r"\{\{[A-Z0-9_]+\}\}", read(rel)) + if found: + fail(f"{rel}: leftover placeholders {found}") + + banned_domain = "loomlab" + ".ai" + for path in ROOT.rglob("*"): + if not path.is_file() or ".git" in path.parts: + continue + if path.suffix.lower() in {".png", ".jpg", ".gif", ".webp"}: + continue + try: + body = path.read_text(encoding="utf-8") + except UnicodeError: + continue + if banned_domain in body: + fail(f"{path.relative_to(ROOT)}: contains an unrelated product domain") + + license_text = read("LICENSE") + if "Copyright (c) 2026 LoomLab" not in license_text: + fail("LICENSE copyright line is not Copyright (c) 2026 LoomLab") + if "Permission is hereby granted" not in license_text: + fail("LICENSE is not the MIT grant") + if normalized_mit(license_text) != normalized_mit(read("templates/LICENSE.MIT.txt")): + fail("templates/LICENSE.MIT.txt drifted from LICENSE") + + html = read("docs/index.html") + for attr in ( + "", + 'name="description"', + 'rel="canonical"', + 'property="og:title"', + 'property="og:description"', + 'property="og:url"', + 'type="application/ld+json"', + ): + if attr not in html: + fail(f"docs/index.html missing {attr}") + described = re.search(r'<meta name="description" content="([^"]*)"', html) + if not described or len(described.group(1)) > 160: + fail("docs/index.html meta description missing or longer than 160") + canonical = re.search(r'<link rel="canonical" href="([^"]*)"', html) + og_url = re.search(r'<meta property="og:url" content="([^"]*)"', html) + if ( + not canonical + or not og_url + or canonical.group(1) != homepage + or og_url.group(1) != homepage + ): + fail("canonical, og:url, and example_homepage disagree") + match = re.search( + r'<script type="application/ld\+json">(.*?)</script>', + html, + flags=re.S, + ) + if not match: + fail("docs/index.html JSON-LD block missing") + else: + try: + data = json.loads(match.group(1)) + except json.JSONDecodeError as exc: + fail(f"docs/index.html JSON-LD does not parse: {exc}") + else: + if data.get("@type") != "SoftwareSourceCode": + fail("JSON-LD @type is not SoftwareSourceCode") + if data.get("name") != "github-launch-skill": + fail("JSON-LD name is not github-launch-skill") + + if read("llms.txt") != read("docs/llms.txt"): + fail("docs/llms.txt is not the same file as llms.txt") + llms = read("llms.txt") + if not llms.startswith("# github-launch-skill\n"): + fail("llms.txt must start with the project H1") + if "\n> " not in llms: + fail("llms.txt is missing the blockquote summary") + + workflow = read(".github/workflows/ci.yml") + for needle in ("actions/checkout@v7", "permissions:", "python3 scripts/check_kit.py"): + if needle not in workflow: + fail(f"ci.yml missing {needle}") + starter = read("templates/.github/workflows/ci.yml.tmpl") + for needle in ( + "actions/checkout@v7", + "permissions:", + "hashFiles", + "test -f README.md", + "test -f LICENSE", + ): + if needle not in starter: + fail(f"ci.yml.tmpl missing {needle}") + + ignore = read(".gitignore") + if ".env" not in ignore: + fail(".gitignore does not ignore .env") + + check_placeholders( + "templates/README.md.tmpl", + [ + "{{PROJECT_NAME}}", + "{{ONE_LINER}}", + "{{WHY}}", + "{{QUICKSTART}}", + "{{FEATURES}}", + "{{INSTALL}}", + "{{USAGE}}", + "{{CONFIGURATION}}", + "{{FAQ}}", + "{{LICENSE_LINE}}", + "{{CONTACT}}", + ], + ) + check_placeholders( + "templates/README.zh-CN.md.tmpl", + [ + "{{PROJECT_NAME}}", + "{{ONE_LINER_ZH}}", + "{{WHY_ZH}}", + "{{QUICKSTART_ZH}}", + "{{FEATURES_ZH}}", + "{{INSTALL_ZH}}", + "{{USAGE_ZH}}", + "{{CONFIGURATION_ZH}}", + "{{FAQ_ZH}}", + "{{LICENSE_LINE_ZH}}", + "{{CONTACT_ZH}}", + ], + ) + for rel, token in ( + ("templates/ABOUT.txt", "{{ABOUT_DESCRIPTION}}"), + ("templates/llms.txt.tmpl", "{{REPO_URL}}"), + ("templates/CHECKLIST.md", "{{PROJECT_NAME}}"), + ("templates/LICENSE.MIT.txt", "{{YEAR}}"), + ("templates/LICENSE.MIT.txt", "{{COPYRIGHT_HOLDER}}"), + ("templates/docs/index.md.tmpl", "{{PROJECT_NAME}}"), + ("templates/docs/index.html.tmpl", "{{ABOUT_DESCRIPTION}}"), + ("templates/docs/index.html.tmpl", "{{HOMEPAGE_URL}}"), + ): + if token not in read(rel): + fail(f"{rel}: missing {token}") + + template_files = files_under(TEMPLATES) + asset_files = files_under(ASSETS) + if set(template_files) != set(asset_files): + fail( + "templates/ and skills/github-launch/assets/ differ: " + f"only templates {sorted(set(template_files) - set(asset_files))}, " + f"only assets {sorted(set(asset_files) - set(template_files))}" + ) + for rel_path in sorted(set(template_files) & set(asset_files)): + same = filecmp.cmp(template_files[rel_path], asset_files[rel_path], shallow=False) + if not same: + fail(f"asset drifted from template: {rel_path}") + + for rel in LINK_FILES: + check_links(rel) + + report() + return 1 if ERRORS else 0 + + +def report() -> None: + if ERRORS: + print("check_kit: FAIL") + for item in ERRORS: + print(f"- {item}") + else: + print("check_kit: ok") + + +if __name__ == "__main__": + sys.exit(main()) diff --git a/skills/github-launch/SKILL.md b/skills/github-launch/SKILL.md new file mode 100644 index 0000000..e7d9f1b --- /dev/null +++ b/skills/github-launch/SKILL.md @@ -0,0 +1,279 @@ +--- +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 (llms.txt, FAQ, headings), 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. +license: MIT +compatibility: >- + Cursor, Claude Code, OpenCode, and Codex. Needs git and a text editor. + GitHub CLI is optional. +metadata: + author: loomlab + version: "1.0" +--- + +# Launch a project on GitHub + +Soft skill. This file is the procedure. It is not a hard control: it does not register a hook, a required status check, or a permission rule that rejects `git push`. Same framing as a soft skill in an agent safety kit — documentation the agent follows, not a blocker. There is nothing to override. + +Do the edits, write the checklist, and show it. Do not push while a secret or private-data item is `fail`. If the user still says to push, warn once in the checklist and do not fight the tool. Do not rewrite git history. + +Do not copy this kit's contact details, topics, or copyright line into the target. Those belong to the github-launch-skill repository only. Take the target's name, owner, and contacts from that repo or from the user. + +## When to run + +Run when the user says any of: + +- ship this to GitHub +- 上架 GitHub +- 准备开源 +- publish to GitHub +- open source this +- github launch + +Do not run it for an ordinary code change that happens to touch a README. + +## Templates + +Read the template, then write the target file. Do not invent a second outline. + +Resolve the template root in order: + +1. `<kit>/templates/` when this file is `<kit>/skills/github-launch/SKILL.md`. +2. [assets/](assets/README.md.tmpl) next to this file, when only the skill folder was copied. `assets/` is a byte copy of `templates/`. + +| Write this in the target | Template | +| --- | --- | +| `README.md` | [README.md.tmpl](../../templates/README.md.tmpl) | +| `README.zh-CN.md` | [README.zh-CN.md.tmpl](../../templates/README.zh-CN.md.tmpl) | +| About text in the report | [ABOUT.txt](../../templates/ABOUT.txt) | +| `llms.txt` and, if you add `docs/`, `docs/llms.txt` | [llms.txt.tmpl](../../templates/llms.txt.tmpl) | +| `.github/workflows/ci.yml` | [ci.yml.tmpl](../../templates/.github/workflows/ci.yml.tmpl) | +| `docs/index.md` or `docs/index.html` (one, not both) | [index.md.tmpl](../../templates/docs/index.md.tmpl) or [index.html.tmpl](../../templates/docs/index.html.tmpl) | +| New MIT `LICENSE` | [LICENSE.MIT.txt](../../templates/LICENSE.MIT.txt) | +| `.github/PUBLISH_CHECKLIST.md` | [CHECKLIST.md](../../templates/CHECKLIST.md) | + +Placeholder tokens look like `{{PROJECT_NAME}}`: uppercase letters, digits, underscores. Replace every one, including tokens that expand into several lines. A GitHub Actions expression looks like `${{ hashFiles('package.json') }}`. Leave those in workflow files. After editing, search the target: + +```bash +rg -n '\{\{[A-Z0-9_]+\}\}' README.md README.zh-CN.md LICENSE llms.txt docs .github/PUBLISH_CHECKLIST.md || true +``` + +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. + +## Steps + +Edit the target repository. Do not edit this kit unless the kit is the target. + +### 1. Intake + +Read the tree before asking. Record the answers in the checklist note. + +- Kind: library, application, CLI, documentation site, agent skill, template, or other. +- Audience: who runs it, in one sentence. +- Languages, from the files that are actually there: `package.json`, `pyproject.toml`, `go.mod`, `Cargo.toml`, `pom.xml`, `*.csproj`, or none. +- Name: GitHub repo name, or the folder name if there is no remote. +- Owner: the `origin` owner login. Copyright holder is that login unless the user gave a legal name. Do not guess a person's name from a username. +- Already present: README, `README.zh-CN.md`, LICENSE, `.gitignore`, `.github/workflows/`, `docs/`. + +If `gh auth status` works: + +```bash +gh repo view --json name,owner,description,repositoryTopics,homepageUrl,isPrivate,url +``` + +Ask the user only when a missing fact would otherwise be invented. The usual case is a copyright holder that is not the GitHub owner. + +### 2. Code-content review + +Search the tracked tree. Fix the working tree. Do not run `git filter-repo`, BFG, `git rebase`, or a force push. If a secret was already pushed, say to rotate it and that a history rewrite is a separate request. + +Report path and line. Do not paste secret values into the checklist, the commit message, or the reply. + +```bash +git ls-files -z | xargs -0 -r rg -n -i \ + -e 'BEGIN (RSA |OPENSSH |EC |DSA )?PRIVATE KEY' \ + -e 'ghp_[A-Za-z0-9]{20,}' \ + -e 'github_pat_[A-Za-z0-9_]{20,}' \ + -e 'AKIA[0-9A-Z]{16}' \ + -e 'xox[baprs]-[A-Za-z0-9-]{10,}' \ + -e 'sk-(live|proj)-' \ + || true +git ls-files | rg '(^|/)(\.env|\.env\..*|[^/]+\.pem|id_rsa|id_ed25519|credentials\.json)$' || true +``` + +If `rg` is missing, use `git grep -I -n -E`. If `xargs` has no `-r`, skip the scan when `git ls-files` prints nothing. Ignore a hit that is only this skill documenting the pattern. + +For a tracked secret: `git rm --cached -- <path>`, add the path to `.gitignore`, and tell the user to rotate the credential. A gitignore entry does not remove a file that is already tracked. + +Personal data. Remove phone numbers, home addresses, private emails, machine paths, and employer names the user did not ask to publish. Keep a project email only when it is already that project's public contact. Do not add a phone number or an employer. + +```bash +git grep -n -I -E '/Users/[A-Za-z0-9._-]+|[A-Za-z]:\\Users\\' || true +git grep -n -I -E '\+[0-9][0-9 ()-]{8,}' || true +``` + +Review email hits one by one. In the checklist write "removed an email from <path>" and do not repeat the address. + +Dead demos. Replace a stock framework README (Create React App, Vite, Next.js, or a "TODO" description) when it does not describe this project. Remove demos that point at an old private host, embed personal screenshots, or ship example passwords. Keep a demo the README still presents as a feature; fix it, or mark the item `fail` with the reason. + +License headers. MIT does not need a header on every source file. If `SPDX-License-Identifier` is already in the tree, it must match the LICENSE you will ship. Do not mass-edit headers on this pass. + +```bash +git grep -n -I SPDX-License-Identifier || true +``` + +`.gitignore`. Create one if it is missing. If it exists, append rules; do not delete project rules. Always ignore `.env`, `.env.*` with an exception for `.env.example`, `*.pem`, and `*.key`. Also ignore dependency and build directories the stack uses (`node_modules/`, `.venv/`, `__pycache__/`, `dist/`, `target/`) and `.DS_Store`. Do not commit an `.env.example` that contains real values. + +Large files. GitHub warns near 50 MB and rejects a file at 100 MB. + +```bash +git ls-files -z | while IFS= read -r -d '' f; do + bytes=$(wc -c < "$f" | tr -d ' ') + if [ "$bytes" -ge 1048576 ]; then echo "$bytes $f"; fi +done +``` + +List every tracked file at least 1 MB. Do not add a new file at least 5 MB unless the user said that binary is a release artifact. Remove build output, unused datasets, and archives. Leave images the README references. Do not delete a release binary silently. + +### 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. + +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. Why, Quick start, Features, Install, Usage, Configuration, FAQ, License, Contact. + +English headings, exactly: `Why`, `Quick start`, `Features`, `Install`, `Usage`, `Configuration`, `FAQ`, `License`, `Contact`. + +Chinese headings, exactly: `为什么`, `快速开始`, `功能`, `安装`, `用法`, `配置`, `常见问题`, `许可证`, `联系`. + +| Token | Write | +| --- | --- | +| `{{ONE_LINER}}` / `{{ONE_LINER_ZH}}` | One sentence. Product noun, what it does, who it is for. | +| `{{WHY}}` / `{{WHY_ZH}}` | Two to four sentences. The problem, then what this project does. | +| `{{QUICKSTART}}` / `{{QUICKSTART_ZH}}` | Shortest path to a result. Same commands in both files. | +| `{{FEATURES}}` / `{{FEATURES_ZH}}` | Bullets. Same facts in the same order. | +| `{{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. + +### 4. About and topics + +Write one description of at most 160 characters. Count it: + +```bash +python3 -c 'print(len("PASTE"))' +``` + +Lead with the product noun. No hashtags, no "Welcome to", no emoji. This skill uses 160 even when GitHub's field allows more, so the sidebar and a search snippet stay one sentence. + +Pick 5–10 topics. Lowercase, digits, hyphens, no spaces. Use nouns a stranger searches: language, domain, and `open-source` when that is true. Keep topics the repo already has. GitHub allows 20; stop there. Do not put a person's name in a topic. + +If `gh auth status` succeeds, set them: + +```bash +gh repo edit --description "DESCRIPTION" --add-topic topic-one --add-topic topic-two +``` + +If `gh` is missing or not authenticated, put the description and the topics in the report. Do not fail the run. + +Do not pass `--homepage` until the Pages URL loads (step 7). Do not change visibility unless the user explicitly said to make the repository public and the secret scan passed. Otherwise leave visibility as it is and put `gh repo edit --visibility public` in the report, not in the shell. + +### 5. LICENSE + +If `LICENSE` or `LICENSE.md` already exists, keep it. Do not swap a license unless the user asked. + +If there is no license: + +| SPDX | When | +| --- | --- | +| MIT | Default. Permissive, no patent grant. | +| Apache-2.0 | The user wants an explicit patent grant. Common for libraries companies ship. Mention NOTICE if they already keep one. | +| AGPL-3.0 | The user wants network copyleft: a network service that runs modified code must offer that source. | + +If they are unsure between Apache-2.0 and AGPL-3.0, ask. Do not pick AGPL silently. Do not invent a proprietary license. + +For a new MIT file, copy [LICENSE.MIT.txt](../../templates/LICENSE.MIT.txt) and replace `{{YEAR}}` and `{{COPYRIGHT_HOLDER}}` only. Do not edit any other line. For Apache-2.0 or AGPL-3.0, copy the text verbatim from `https://choosealicense.com/licenses/apache-2.0/` or `https://choosealicense.com/licenses/agpl-3.0/`. Do not paraphrase a license. The SPDX id in both READMEs must match the file you wrote. + +### 6. CI + +If `.github/workflows/` already runs tests, leave it and mark the checklist `pass`. + +If it does not, add `.github/workflows/ci.yml` from [ci.yml.tmpl](../../templates/.github/workflows/ci.yml.tmpl), then: + +- Delete the Node, Python, Go, and Rust steps that do not match intake. +- Point the remaining step at the project's real test or lint command. +- If there is no test suite, keep the required-files step (`README.md` and `LICENSE`) and say so in the checklist. +- Leave `permissions: contents: read`. Do not grant write permissions for a lint job. +- Do not add a Pages deploy workflow for a hand-written `docs/` tree. Deploy from a branch does not need one. + +### 7. GitHub Pages + +Record the decision in the checklist. + +Use `docs/` on the default branch for a landing page or a few hand-written pages. Use a GitHub Actions build only when a generator is already in the repo (VitePress, Docusaurus, MkDocs, Sphinx, or a static export). Do not add that workflow in this pass unless the generator is already there. + +Write one entry point: + +- `docs/index.html` from [index.html.tmpl](../../templates/docs/index.html.tmpl) when the page should carry its own title, meta description, canonical URL, and Open Graph tags. Add an empty `docs/.nojekyll` so Jekyll does not rewrite the HTML. Keep a trailing slash on the homepage URL; the template joins it to `llms.txt`. +- `docs/index.md` from [index.md.tmpl](../../templates/docs/index.md.tmpl) when the repo already uses Jekyll or the default Pages theme is enough. + +Do not write both. `index.html` wins and the markdown file would be ignored. + +Do not enable Pages. Do not call the Pages API. Tell the user to do this in the browser: + +1. Repository → **Settings** → **Pages**. +2. **Build and deployment** → **Source**: Deploy from a branch. +3. Branch: the default branch. Folder: **`/docs`**. +4. Save. The settings page shows the site URL. +5. A project site is `https://<owner>.github.io/<repo>/`. A repository named `<owner>.github.io` is `https://<owner>.github.io/`. +6. After that URL loads, set the About homepage: `gh repo edit --homepage URL`. Until it loads, leave the homepage unset and record the URL in the report. + +If the user said there should be no site, write nothing under `docs/` and mark the row `skip`. + +### 8. GEO and SEO + +Write so a search index and a language model quote the same facts. + +- 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. +- Write `llms.txt` from [llms.txt.tmpl](../../templates/llms.txt.tmpl). H1, then a blockquote summary, then H2 sections of absolute links. If you added `docs/`, write the same body to `docs/llms.txt` so the site serves `/llms.txt`. Follow `https://llmstxt.org/`. +- On `docs/index.html` set `<title>`, `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. + +### 9. Checklist + +Fill [CHECKLIST.md](../../templates/CHECKLIST.md) and write it to `.github/PUBLISH_CHECKLIST.md`. Status is `pass`, `fail`, or `skip`. Leave no `TODO`. Notes are one line and contain no secret values. + +Put the same table in the reply, under a launch report: + +- About description and the character count +- Topics +- Homepage URL, and whether you set it +- Visibility: unchanged, or the command you ran +- Push: not run, or the branch you pushed + +`fail` on secrets or private data means do not push. `fail` or `skip` on Pages does not block a push. The checklist does not install a hook. It does not reject `git push`. + +Push the packaging commits only when the user asked to push, including a clear "ship" or "上架" after the files are ready, and the secret scan is `pass`. A first look that only asked for the packaging pass stops at the report. + +## Done + +Done means the files are edited, no `{{TOKEN}}` remains in the published paths, and the checklist is in `.github/PUBLISH_CHECKLIST.md` and in the reply. Do not say Pages is live. Do not say topics were set if `gh repo edit` did not succeed. diff --git a/skills/github-launch/assets/.github/workflows/ci.yml.tmpl b/skills/github-launch/assets/.github/workflows/ci.yml.tmpl new file mode 100644 index 0000000..e131cd0 --- /dev/null +++ b/skills/github-launch/assets/.github/workflows/ci.yml.tmpl @@ -0,0 +1,55 @@ +# Minimal CI. Delete the Node, Python, Go, and Rust steps that do not match this repo. +# A hand-written site under docs/ does not need a Pages deploy job. +# ${{ }} below is GitHub Actions syntax, not a github-launch placeholder. +name: ci + +on: + push: + pull_request: + +permissions: + contents: read + +defaults: + run: + shell: bash + +jobs: + check: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v7 + + - name: Required files + run: | + test -f README.md + test -f LICENSE + + - name: Node + if: ${{ hashFiles('package.json') != '' }} + run: | + if [ -f package-lock.json ]; then npm ci; else npm install; fi + npm test --if-present + + - name: Python + if: ${{ hashFiles('pyproject.toml', 'requirements.txt', 'setup.py') != '' }} + run: | + python -m pip install -U pip + if [ -f requirements.txt ]; then pip install -r requirements.txt; fi + if [ -d tests ] || compgen -G 'test_*.py' >/dev/null; then + if python -c 'import pytest' >/dev/null 2>&1; then + python -m pytest -q + else + python -m unittest discover -q + fi + else + echo "No Python tests found" + fi + + - name: Go + if: ${{ hashFiles('go.mod') != '' }} + run: go test ./... + + - name: Rust + if: ${{ hashFiles('Cargo.toml') != '' }} + run: cargo test diff --git a/skills/github-launch/assets/ABOUT.txt b/skills/github-launch/assets/ABOUT.txt new file mode 100644 index 0000000..947f648 --- /dev/null +++ b/skills/github-launch/assets/ABOUT.txt @@ -0,0 +1,14 @@ +# GitHub About dialog: description, homepage, topics. +# description is one line, 160 characters or fewer, no hashtags, no emoji. +# topics: 5 to 10, lowercase, digits and hyphens, no spaces. GitHub allows 20 total. +# Set homepage only after GitHub Pages returns that URL. +# Do not copy example_* onto another repository. + +description: {{ABOUT_DESCRIPTION}} +homepage: {{HOMEPAGE_URL}} +topics: {{TOPICS}} + +# Example for loomlab-ai/github-launch-skill only. +example_description: Agent Skill that launches your project onto GitHub: bilingual README, About, license, Pages, CI, and SEO. +example_topics: agent-skills, github, readme, seo, cicd, open-source, cursor, claude +example_homepage: https://loomlab-ai.github.io/github-launch-skill/ diff --git a/skills/github-launch/assets/CHECKLIST.md b/skills/github-launch/assets/CHECKLIST.md new file mode 100644 index 0000000..fb11e38 --- /dev/null +++ b/skills/github-launch/assets/CHECKLIST.md @@ -0,0 +1,23 @@ +# Publish checklist — {{PROJECT_NAME}} + +Report from the `github-launch` skill. Status is `pass`, `fail`, or `skip`. This file does not block `git push`. + +| Item | Status | Note | +| --- | --- | --- | +| Intake recorded (kind, audience, languages, owner) | TODO | {{INTAKE}} | +| Secrets scan | TODO | | +| Personal data scan | TODO | | +| Dead demos removed or kept on purpose | TODO | | +| License headers match LICENSE, or none required | TODO | | +| `.gitignore` covers secrets and build output | TODO | | +| Large binaries reviewed | TODO | | +| LICENSE present; SPDX matches the README | TODO | | +| `README.md` and `README.zh-CN.md` share structure and facts | TODO | | +| No double-brace uppercase placeholders left in published files | TODO | | +| About description is 160 characters or fewer | TODO | {{ABOUT_DESCRIPTION}} | +| 5–10 topics | TODO | {{TOPICS}} | +| 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}} | +| `llms.txt` written; FAQ and product noun present | TODO | | +| Push | TODO | not run unless the user asked and the secret scan passed | diff --git a/skills/github-launch/assets/LICENSE.MIT.txt b/skills/github-launch/assets/LICENSE.MIT.txt new file mode 100644 index 0000000..594cd6b --- /dev/null +++ b/skills/github-launch/assets/LICENSE.MIT.txt @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) {{YEAR}} {{COPYRIGHT_HOLDER}} + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/skills/github-launch/assets/README.md.tmpl b/skills/github-launch/assets/README.md.tmpl new file mode 100644 index 0000000..5383d82 --- /dev/null +++ b/skills/github-launch/assets/README.md.tmpl @@ -0,0 +1,39 @@ +# {{PROJECT_NAME}} + +{{ONE_LINER}} + +## Why + +{{WHY}} + +## Quick start + +{{QUICKSTART}} + +## Features + +{{FEATURES}} + +## Install + +{{INSTALL}} + +## Usage + +{{USAGE}} + +## Configuration + +{{CONFIGURATION}} + +## FAQ + +{{FAQ}} + +## License + +{{LICENSE_LINE}} + +## Contact + +{{CONTACT}} diff --git a/skills/github-launch/assets/README.zh-CN.md.tmpl b/skills/github-launch/assets/README.zh-CN.md.tmpl new file mode 100644 index 0000000..d9da477 --- /dev/null +++ b/skills/github-launch/assets/README.zh-CN.md.tmpl @@ -0,0 +1,39 @@ +# {{PROJECT_NAME}} + +{{ONE_LINER_ZH}} + +## 为什么 + +{{WHY_ZH}} + +## 快速开始 + +{{QUICKSTART_ZH}} + +## 功能 + +{{FEATURES_ZH}} + +## 安装 + +{{INSTALL_ZH}} + +## 用法 + +{{USAGE_ZH}} + +## 配置 + +{{CONFIGURATION_ZH}} + +## 常见问题 + +{{FAQ_ZH}} + +## 许可证 + +{{LICENSE_LINE_ZH}} + +## 联系 + +{{CONTACT_ZH}} diff --git a/skills/github-launch/assets/docs/index.html.tmpl b/skills/github-launch/assets/docs/index.html.tmpl new file mode 100644 index 0000000..a00e7c5 --- /dev/null +++ b/skills/github-launch/assets/docs/index.html.tmpl @@ -0,0 +1,48 @@ +<!DOCTYPE html> +<html lang="en"> +<head> + <meta charset="utf-8"> + <meta name="viewport" content="width=device-width, initial-scale=1"> + <title>{{PROJECT_NAME}} + + + + + + + + + + + + +
+

{{PROJECT_NAME}}

+

{{ONE_LINER}}

+

Source on GitHub · llms.txt

+
{{CONTACT_LINE}}
+
+ + diff --git a/skills/github-launch/assets/docs/index.md.tmpl b/skills/github-launch/assets/docs/index.md.tmpl new file mode 100644 index 0000000..916be26 --- /dev/null +++ b/skills/github-launch/assets/docs/index.md.tmpl @@ -0,0 +1,17 @@ +--- +title: "{{PROJECT_NAME}}" +description: "{{ABOUT_DESCRIPTION}}" +--- + +# {{PROJECT_NAME}} + +{{ONE_LINER}} + +[{{PROJECT_NAME}} on GitHub]({{REPO_URL}}) + + diff --git a/skills/github-launch/assets/llms.txt.tmpl b/skills/github-launch/assets/llms.txt.tmpl new file mode 100644 index 0000000..b65281c --- /dev/null +++ b/skills/github-launch/assets/llms.txt.tmpl @@ -0,0 +1,23 @@ + + +# {{PROJECT_NAME}} + +> {{ONE_LINER}} + +{{DETAILS}} + +## Docs + +- [README]({{REPO_URL}}/blob/main/README.md): {{ONE_LINER}} +- [README 简体中文]({{REPO_URL}}/blob/main/README.zh-CN.md): Chinese README with the same facts as the English file + +## Optional + +- [License]({{REPO_URL}}/blob/main/LICENSE): {{LICENSE_SPDX}} +- [Pages]({{HOMEPAGE_URL}}): Landing page after GitHub Pages is enabled from /docs diff --git a/templates/.github/workflows/ci.yml.tmpl b/templates/.github/workflows/ci.yml.tmpl new file mode 100644 index 0000000..e131cd0 --- /dev/null +++ b/templates/.github/workflows/ci.yml.tmpl @@ -0,0 +1,55 @@ +# Minimal CI. Delete the Node, Python, Go, and Rust steps that do not match this repo. +# A hand-written site under docs/ does not need a Pages deploy job. +# ${{ }} below is GitHub Actions syntax, not a github-launch placeholder. +name: ci + +on: + push: + pull_request: + +permissions: + contents: read + +defaults: + run: + shell: bash + +jobs: + check: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v7 + + - name: Required files + run: | + test -f README.md + test -f LICENSE + + - name: Node + if: ${{ hashFiles('package.json') != '' }} + run: | + if [ -f package-lock.json ]; then npm ci; else npm install; fi + npm test --if-present + + - name: Python + if: ${{ hashFiles('pyproject.toml', 'requirements.txt', 'setup.py') != '' }} + run: | + python -m pip install -U pip + if [ -f requirements.txt ]; then pip install -r requirements.txt; fi + if [ -d tests ] || compgen -G 'test_*.py' >/dev/null; then + if python -c 'import pytest' >/dev/null 2>&1; then + python -m pytest -q + else + python -m unittest discover -q + fi + else + echo "No Python tests found" + fi + + - name: Go + if: ${{ hashFiles('go.mod') != '' }} + run: go test ./... + + - name: Rust + if: ${{ hashFiles('Cargo.toml') != '' }} + run: cargo test diff --git a/templates/ABOUT.txt b/templates/ABOUT.txt new file mode 100644 index 0000000..947f648 --- /dev/null +++ b/templates/ABOUT.txt @@ -0,0 +1,14 @@ +# GitHub About dialog: description, homepage, topics. +# description is one line, 160 characters or fewer, no hashtags, no emoji. +# topics: 5 to 10, lowercase, digits and hyphens, no spaces. GitHub allows 20 total. +# Set homepage only after GitHub Pages returns that URL. +# Do not copy example_* onto another repository. + +description: {{ABOUT_DESCRIPTION}} +homepage: {{HOMEPAGE_URL}} +topics: {{TOPICS}} + +# Example for loomlab-ai/github-launch-skill only. +example_description: Agent Skill that launches your project onto GitHub: bilingual README, About, license, Pages, CI, and SEO. +example_topics: agent-skills, github, readme, seo, cicd, open-source, cursor, claude +example_homepage: https://loomlab-ai.github.io/github-launch-skill/ diff --git a/templates/CHECKLIST.md b/templates/CHECKLIST.md new file mode 100644 index 0000000..fb11e38 --- /dev/null +++ b/templates/CHECKLIST.md @@ -0,0 +1,23 @@ +# Publish checklist — {{PROJECT_NAME}} + +Report from the `github-launch` skill. Status is `pass`, `fail`, or `skip`. This file does not block `git push`. + +| Item | Status | Note | +| --- | --- | --- | +| Intake recorded (kind, audience, languages, owner) | TODO | {{INTAKE}} | +| Secrets scan | TODO | | +| Personal data scan | TODO | | +| Dead demos removed or kept on purpose | TODO | | +| License headers match LICENSE, or none required | TODO | | +| `.gitignore` covers secrets and build output | TODO | | +| Large binaries reviewed | TODO | | +| LICENSE present; SPDX matches the README | TODO | | +| `README.md` and `README.zh-CN.md` share structure and facts | TODO | | +| No double-brace uppercase placeholders left in published files | TODO | | +| About description is 160 characters or fewer | TODO | {{ABOUT_DESCRIPTION}} | +| 5–10 topics | TODO | {{TOPICS}} | +| 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}} | +| `llms.txt` written; FAQ and product noun present | TODO | | +| Push | TODO | not run unless the user asked and the secret scan passed | diff --git a/templates/LICENSE.MIT.txt b/templates/LICENSE.MIT.txt new file mode 100644 index 0000000..594cd6b --- /dev/null +++ b/templates/LICENSE.MIT.txt @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) {{YEAR}} {{COPYRIGHT_HOLDER}} + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/templates/README.md.tmpl b/templates/README.md.tmpl new file mode 100644 index 0000000..5383d82 --- /dev/null +++ b/templates/README.md.tmpl @@ -0,0 +1,39 @@ +# {{PROJECT_NAME}} + +{{ONE_LINER}} + +## Why + +{{WHY}} + +## Quick start + +{{QUICKSTART}} + +## Features + +{{FEATURES}} + +## Install + +{{INSTALL}} + +## Usage + +{{USAGE}} + +## Configuration + +{{CONFIGURATION}} + +## FAQ + +{{FAQ}} + +## License + +{{LICENSE_LINE}} + +## Contact + +{{CONTACT}} diff --git a/templates/README.zh-CN.md.tmpl b/templates/README.zh-CN.md.tmpl new file mode 100644 index 0000000..d9da477 --- /dev/null +++ b/templates/README.zh-CN.md.tmpl @@ -0,0 +1,39 @@ +# {{PROJECT_NAME}} + +{{ONE_LINER_ZH}} + +## 为什么 + +{{WHY_ZH}} + +## 快速开始 + +{{QUICKSTART_ZH}} + +## 功能 + +{{FEATURES_ZH}} + +## 安装 + +{{INSTALL_ZH}} + +## 用法 + +{{USAGE_ZH}} + +## 配置 + +{{CONFIGURATION_ZH}} + +## 常见问题 + +{{FAQ_ZH}} + +## 许可证 + +{{LICENSE_LINE_ZH}} + +## 联系 + +{{CONTACT_ZH}} diff --git a/templates/docs/index.html.tmpl b/templates/docs/index.html.tmpl new file mode 100644 index 0000000..a00e7c5 --- /dev/null +++ b/templates/docs/index.html.tmpl @@ -0,0 +1,48 @@ + + + + + + {{PROJECT_NAME}} + + + + + + + + + + + + +
+

{{PROJECT_NAME}}

+

{{ONE_LINER}}

+

Source on GitHub · llms.txt

+
{{CONTACT_LINE}}
+
+ + diff --git a/templates/docs/index.md.tmpl b/templates/docs/index.md.tmpl new file mode 100644 index 0000000..916be26 --- /dev/null +++ b/templates/docs/index.md.tmpl @@ -0,0 +1,17 @@ +--- +title: "{{PROJECT_NAME}}" +description: "{{ABOUT_DESCRIPTION}}" +--- + +# {{PROJECT_NAME}} + +{{ONE_LINER}} + +[{{PROJECT_NAME}} on GitHub]({{REPO_URL}}) + + diff --git a/templates/llms.txt.tmpl b/templates/llms.txt.tmpl new file mode 100644 index 0000000..b65281c --- /dev/null +++ b/templates/llms.txt.tmpl @@ -0,0 +1,23 @@ + + +# {{PROJECT_NAME}} + +> {{ONE_LINER}} + +{{DETAILS}} + +## Docs + +- [README]({{REPO_URL}}/blob/main/README.md): {{ONE_LINER}} +- [README 简体中文]({{REPO_URL}}/blob/main/README.zh-CN.md): Chinese README with the same facts as the English file + +## Optional + +- [License]({{REPO_URL}}/blob/main/LICENSE): {{LICENSE_SPDX}} +- [Pages]({{HOMEPAGE_URL}}): Landing page after GitHub Pages is enabled from /docs