From 885200a08fb9e112e1187da1bf8718a644bf9cde Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Sat, 31 Oct 2026 06:38:27 +0000 Subject: [PATCH] docs: polish paper Pages landing (v2) Replace the GitHub Pages landing with the denser LoomLab paper page: purple-blue accent, feature cards, reading tools, redrawn FIG 1, and a collapsible FAQ. Co-authored-by: LofiSu --- docs/index.html | 570 ++++++++++++++++++++++++++++++++++-------------- 1 file changed, 409 insertions(+), 161 deletions(-) diff --git a/docs/index.html b/docs/index.html index 8450588..14721c6 100644 --- a/docs/index.html +++ b/docs/index.html @@ -21,9 +21,10 @@ "@type": "SoftwareSourceCode", "name": "github-launch-skill", "description": "Agent Skill that packages a project for GitHub: bilingual README, About, license, CI, Pages, SEO.", + "url": "https://loomlab-ai.github.io/github-launch-skill/", "codeRepository": "https://github.com/loomlab-ai/github-launch-skill", "license": "https://github.com/loomlab-ai/github-launch-skill/blob/main/LICENSE", - "programmingLanguage": "Markdown", + "programmingLanguage": ["Markdown", "Python", "YAML"], "author": { "@type": "Organization", "name": "LoomLab", @@ -40,19 +41,15 @@ --ink-faint: #7a7a7a; --rule: #d8d8d2; --rule-soft: #e8e8e2; - --accent: #6f9bb8; - --accent-soft: #d9e6f0; - --accent-faint: #eef4f8; + --accent: #6b6bb8; + --accent-soft: #d4d4e8; + --accent-faint: #eeeff8; --warn: #b88a4a; --warn-soft: #f5ecdc; --danger: #a05050; --code-bg: #ececea; - - /* Semantic palette for three-layer cards. Rename freely - (e.g. --layer-a / --layer-b / --layer-c) when the three - layers in the doc are not brain/hands/session. */ - --brain: #6f9bb8; - --brain-bg: #eef4f8; + --brain: #6b6bb8; + --brain-bg: #eeeff8; --hands: #b88a4a; --hands-bg: #f5ecdc; --session: #6b7560; @@ -60,11 +57,8 @@ } * { box-sizing: border-box; margin: 0; padding: 0; } - html { font-size: 16px; } + html { font-size: 16px; scroll-behavior: smooth; } - /* Font stacks include both English serifs/monospace and CJK - fallbacks so the same template renders cleanly for English - or Chinese source content. */ body { font-family: ui-serif, "Charter", "Iowan Old Style", "Source Serif Pro", Georgia, @@ -73,16 +67,16 @@ color: var(--ink); line-height: 1.6; -webkit-font-smoothing: antialiased; - padding: 64px 24px 96px; + padding: 56px 24px 88px; } - .doc { max-width: 840px; margin: 0 auto; } + .doc { max-width: 880px; margin: 0 auto; } /* ─── Header ─── */ .doc-header { border-bottom: 1px solid var(--rule); - padding-bottom: 28px; - margin-bottom: 48px; + padding-bottom: 26px; + margin-bottom: 36px; } .doc-eyebrow { font-family: @@ -92,40 +86,52 @@ letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint); - margin-bottom: 14px; + margin-bottom: 16px; + display: flex; + align-items: center; } .doc-title { font-family: ui-serif, Charter, Georgia, "Songti SC", "Source Han Serif SC", serif; - font-size: 34px; - font-weight: 600; - letter-spacing: -0.01em; - line-height: 1.2; + font-size: 40px; + font-weight: 650; + letter-spacing: -0.022em; + line-height: 1.15; } .doc-subtitle { - font-size: 16px; + font-size: 17px; color: var(--ink-soft); - margin-top: 10px; - font-style: italic; + margin-top: 12px; + font-style: normal; + font-weight: 400; + letter-spacing: 0.01em; + line-height: 1.45; } .doc-meta { + margin-top: 20px; + display: flex; + flex-wrap: wrap; + gap: 8px; + } + .doc-meta span { font-family: ui-monospace, Menlo, "PingFang SC", "Hiragino Sans GB", monospace; font-size: 11px; color: var(--ink-faint); - margin-top: 18px; - display: flex; - gap: 24px; + border: 1px solid var(--rule); + background: #fff; + padding: 5px 11px; + letter-spacing: 0.04em; } /* ─── TL;DR ─── */ .tldr { background: var(--accent-faint); border-left: 2px solid var(--accent); - padding: 20px 24px; - margin-bottom: 56px; + padding: 18px 22px; + margin-bottom: 44px; font-size: 15px; } .tldr-label { @@ -141,12 +147,12 @@ } /* ─── Sections ─── */ - section { margin-bottom: 56px; } + section { margin-bottom: 44px; } h2 { font-size: 22px; font-weight: 600; letter-spacing: -0.005em; - margin-bottom: 18px; + margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--rule); } @@ -163,14 +169,14 @@ h3 { font-size: 16px; font-weight: 600; - margin: 28px 0 10px; + margin: 24px 0 8px; } h4 { font-size: 14px; font-weight: 600; - margin: 22px 0 8px; + margin: 20px 0 8px; } - p { margin-bottom: 14px; } + p { margin-bottom: 12px; } p + p { margin-top: -2px; } a { color: var(--accent); text-decoration: none; border-bottom: 1px solid var(--accent-soft); } a:hover { border-bottom-color: var(--accent); } @@ -184,6 +190,7 @@ border-radius: 2px; } pre { + position: relative; font-family: ui-monospace, Menlo, "PingFang SC", "Hiragino Sans GB", monospace; @@ -191,42 +198,49 @@ line-height: 1.55; background: var(--code-bg); padding: 14px 18px; - margin: 14px 0 18px; + margin: 12px 0 16px; overflow-x: auto; border-left: 2px solid var(--rule); } pre code { background: transparent; padding: 0; } - ul, ol { margin: 8px 0 16px 22px; } - li { margin-bottom: 6px; } + ul, ol { margin: 8px 0 14px 22px; } + li { margin-bottom: 5px; } strong { font-weight: 600; } em { color: var(--ink-soft); } blockquote { border-left: 2px solid var(--rule); padding: 4px 0 4px 18px; - margin: 14px 0 18px; + margin: 12px 0 16px; color: var(--ink-soft); font-style: italic; } /* ─── Tables ─── */ + .table-wrap { + width: 100%; + overflow-x: auto; + margin: 12px 0 16px; + -webkit-overflow-scrolling: touch; + } table { width: 100%; border-collapse: collapse; - margin: 14px 0 18px; - font-size: 14px; + margin: 0; + font-size: 13.5px; + min-width: 480px; } th, td { text-align: left; - padding: 10px 12px; + padding: 8px 10px; border-bottom: 1px solid var(--rule-soft); vertical-align: top; } th { font-weight: 600; font-family: - ui-sans-serif, system-ui, - "PingFang SC", "Hiragino Sans GB", sans-serif; - font-size: 12px; + ui-monospace, Menlo, + "PingFang SC", "Hiragino Sans GB", monospace; + font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-faint); @@ -245,8 +259,8 @@ .callout { border: 1px solid var(--rule); background: #fff; - padding: 16px 18px; - margin: 16px 0 20px; + padding: 14px 16px; + margin: 14px 0 18px; } .callout.warn { border-color: #e6d4a8; @@ -281,9 +295,9 @@ "PingFang SC", "Hiragino Sans GB", monospace; } - /* ─── Figure / Diagram ─── */ + /* ─── Figure ─── */ figure { - margin: 28px 0 32px; + margin: 22px 0 26px; border: 1px solid var(--rule); background: #fff; } @@ -307,28 +321,30 @@ font-weight: 600; } - /* ─── N-column concept cards ─── */ + /* ─── Cards ─── */ .cards { display: grid; grid-template-columns: repeat(3, 1fr); - gap: 14px; - margin: 20px 0 18px; + gap: 12px; + margin: 16px 0 14px; } .cards.cols-2 { grid-template-columns: repeat(2, 1fr); } .cards.cols-4 { grid-template-columns: repeat(4, 1fr); } .card { border: 1px solid var(--rule); background: #fff; - padding: 16px 16px 14px; + padding: 14px 14px 12px; + transition: border-color 0.15s; } + .card:hover { border-color: var(--accent-soft); } .card-icon { font-family: ui-monospace, Menlo, "PingFang SC", "Hiragino Sans GB", monospace; - font-size: 11px; + font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; - margin-bottom: 8px; + margin-bottom: 6px; font-weight: 600; color: var(--accent); } @@ -336,24 +352,61 @@ font-family: ui-serif, Charter, Georgia, "Songti SC", "Source Han Serif SC", serif; - font-size: 17px; + font-size: 15px; font-weight: 600; margin-bottom: 6px; + line-height: 1.3; } .card-where { font-size: 12px; color: var(--ink-faint); font-style: italic; - margin-bottom: 10px; + margin-bottom: 8px; } - .card-desc { font-size: 13px; color: var(--ink-soft); line-height: 1.5; } - - /* tone variants for cards */ + .card-desc { font-size: 13px; color: var(--ink-soft); line-height: 1.45; } .card.tone-a .card-icon { color: var(--brain); } .card.tone-b .card-icon { color: var(--hands); } .card.tone-c .card-icon { color: var(--session); } - /* ─── Buttons / Inputs (for interactive sections) ─── */ + /* ─── 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: ui-monospace, Menlo, @@ -374,7 +427,7 @@ color: #fff; border-color: var(--accent); } - .btn.primary:hover { background: #5a87a4; } + .btn.primary:hover { background: #5555a0; } input[type="text"], input[type="email"], textarea, select { font-family: @@ -406,8 +459,8 @@ /* ─── Footer ─── */ footer { - margin-top: 80px; - padding-top: 24px; + margin-top: 64px; + padding-top: 22px; border-top: 1px solid var(--rule); font-size: 12px; color: var(--ink-faint); @@ -432,22 +485,95 @@ background: var(--accent); margin-right: 8px; vertical-align: middle; + flex-shrink: 0; } + /* ─── Interactivity: TOC / progress / theme / copy ─── */ + .reading-progress { + position: fixed; top: 0; left: 0; + height: 2px; background: var(--accent); + width: 0%; z-index: 20; + transition: width 0.1s ease-out; + } + .toc { + position: fixed; top: 64px; left: 20px; + width: 168px; + font-family: ui-monospace, Menlo, "PingFang SC", monospace; + font-size: 11px; line-height: 1.85; + z-index: 5; + } + .toc a { + display: block; + color: var(--ink-faint); + border: none; + padding: 1px 0; + } + .toc a:hover { color: var(--ink-soft); } + .toc a.active { color: var(--accent); font-weight: 600; } + @media (max-width: 1240px) { .toc { display: none; } } + + .theme-toggle { + position: fixed; top: 16px; right: 16px; + font-family: ui-monospace, Menlo, monospace; font-size: 10px; + letter-spacing: 0.1em; text-transform: uppercase; + background: var(--paper-edge); color: var(--ink-faint); + border: 1px solid var(--rule); + padding: 6px 10px; cursor: pointer; z-index: 20; + } + .theme-toggle:hover { color: var(--ink); } + + .copy-btn { + position: absolute; top: 8px; right: 8px; + font-family: ui-monospace, Menlo, monospace; font-size: 10px; + letter-spacing: 0.1em; text-transform: uppercase; + background: #fff; border: 1px solid var(--rule); + padding: 4px 8px; cursor: pointer; color: var(--ink-faint); + } + .copy-btn:hover { color: var(--ink); } + + html.dark { + --paper: #1a1a1a; + --paper-edge: #222; + --ink: #e8e8e2; + --ink-soft: #b8b8b2; + --ink-faint: #888; + --rule: #333; + --rule-soft: #2a2a2a; + --code-bg: #262624; + --accent-soft: #3a3a5c; + --accent-faint: #1e1e2e; + --warn-soft: #2c2418; + --brain-bg: #1e1e2e; + --hands-bg: #2c2418; + --session-bg: #22241e; + } + 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; } + html.dark tbody tr:hover { background: rgba(255,255,255,0.03); } + @media (max-width: 720px) { - body { padding: 32px 16px 64px; } - .doc-title { font-size: 26px; } + body { padding: 28px 14px 56px; } + .doc-title { font-size: 28px; } + .doc-subtitle { font-size: 15px; } .cards, .cards.cols-2, .cards.cols-4 { grid-template-columns: 1fr; } - .doc-meta { flex-wrap: wrap; gap: 12px; } + .theme-toggle { top: 10px; right: 10px; } } - +
+ + +
-
LoomLab · Agent Skill
+
LoomLab · Agent Skill

github-launch-skill

用 Agent Skill 把项目上架到 GitHub

@@ -479,53 +605,91 @@

02快速开始

03功能

-
    -
  • 项目信息。收集仓库类型、读者、语言。
  • -
  • 内容审查。密钥、个人隐私、失效演示、许可证头、.gitignore、大体积二进制。
  • -
  • 双语 README。写出结构相同、事实一致的 README.md(英文)与 README.zh-CN.md。
  • -
  • About 与 topics。GitHub About(不超过 160 个字符)和 5–10 个 topics。
  • -
  • 许可证。默认 MIT;需要专利授权用 Apache-2.0,需要网络 copyleft 用 AGPL-3.0。
  • -
  • CI。添加尽量短的 GitHub Actions 工作流(lint、测试或文档检查)。
  • -
  • Pages。准备 /docs 下的 GitHub Pages,并写明在 Settings 里如何打开(技能不会替你打开 Pages)。
  • -
  • GEO 与 SEO。稳定标题、FAQ、llms.txt、Pages meta。
  • -
  • 检查清单。由代理填 pass / fail / skip。
  • -
+
+
+
01 · INTAKE
+
项目信息
+
收集仓库类型、读者、语言。
+
+
+
02 · AUDIT
+
内容审查
+
密钥、个人隐私、失效演示、许可证头、.gitignore、大体积二进制。
+
+
+
03 · README
+
双语 README
+
结构相同、事实一致的 README.md 与 README.zh-CN.md。
+
+
+
04 · ABOUT
+
About 与 topics
+
GitHub About(不超过 160 个字符)和 5–10 个 topics。
+
+
+
05 · LICENSE
+
许可证
+
默认 MIT;专利授权用 Apache-2.0,网络 copyleft 用 AGPL-3.0。
+
+
+
06 · CI
+
CI
+
添加尽量短的 GitHub Actions 工作流(lint、测试或文档检查)。
+
+
+
07 · PAGES
+
Pages
+
准备 /docs 落地页,并写明在 Settings 里如何打开(技能不会替你打开)。
+
+
+
08 · SEO
+
GEO 与 SEO
+
稳定标题、FAQ、llms.txt、Pages meta。
+
+
+
09 · CHECK
+
检查清单
+
由代理填 pass / fail / skip。
+
+

04安装

把 skills/github-launch/ 复制到代理已在读取的技能目录。该目录内的 assets/ 与仓库根目录 templates/ 内容相同,复制技能文件夹即可。若要从仓库根目录读 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.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/。

git clone https://github.com/loomlab-ai/github-launch-skill.git
 
@@ -559,64 +723,63 @@ 

05用法

- - + + - + - + SOFT SKILL · NO PUSH HOOK · PAGES MANUAL + + - - 01 ASK - 触发上架 - ship / 上架 + + 01 ASK + 触发上架 + ship / 上架 / 准备开源 - - - - 02 INTAKE - 收集与审查 - secrets / 隐私 + + 02 INTAKE + 收集与审查 + secrets · 隐私 · 体积 - - - - 03 WRITE - 写出文件 - README / CI + + 03 WRITE + 写出文件 + README · CI · docs/ - - - - 04 CHECK - 检查清单 - pass / fail + + + + + - + - - 05 YOU - 推送 / Pages - Settings → /docs + + 04 CHECK + 检查清单 + pass / fail / skip - - - - - - + + + 05 YOU + 推送 · 打开 Pages + Settings → branch → /docs - SOFT SKILL · NO PUSH HOOK · PAGES MANUAL + + +
FIG 1上架流程 · 触发 → 审查 → 写文件 → 清单 → 你推送并打开 Pages
@@ -642,16 +805,28 @@

06配置

07常见问题

-

这个技能会阻止 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 如何保持一致?

-

章节顺序、命令、版本号相同。一次改动若动了其中一个文件,须同时改另一个。

-

如果项目还不该公开呢?

-

直接说明。技能仍会写打包文件。除非你明确要求把仓库设为公开,否则不改可见性;密钥检查未通过时也不会改为公开。

+
+
+ 这个技能会阻止 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 如何保持一致? +

章节顺序、命令、版本号相同。一次改动若动了其中一个文件,须同时改另一个。

+
+
+ 如果项目还不该公开呢? +

直接说明。技能仍会写打包文件。除非你明确要求把仓库设为公开,否则不改可见性;密钥检查未通过时也不会改为公开。

+
+
@@ -670,5 +845,78 @@

Repository & Contact

+ +