agentleFS
WALKERKILLERWALKERKILLER/Look-Tongji-Notes/skills/page/SKILL.md

page

Skill53 starsChanged 5 months agoMITView on GitHub

Deploy the built course wiki site/ to GitHub Pages via gh CLI. Pre-checks gh auth status and site/ existence.

  • Reads credentials

3 other projects use a version of this.

Adopted by

Most recently taken up by

  • Other versions3 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 3

    1. ilanbm/kpopper★ 12same name
    2. cmj-hub/claude-landing-page★ 3same name
    3. xabux/claude-skills★ 0same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository13 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

1 rule. 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 3 edited versions we read keep these.

  • 0

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    After running /wiki build and the site/ directory is ready.

    line 17

“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Page (GitHub Pages 部署)

将已构建的课程 wiki 静态站点部署到 GitHub Pages。

When to Use

  • User says /page or "deploy to pages" or "publish wiki".
  • After running /wiki build and the site/ directory is ready.

Workflow

1. 前置检查 A: gh CLI 已安装

gh --version

如未安装,输出安装指引,引导用户访问 https://cli.github.com/ 安装。

2. 前置检查 B: gh 已认证

gh auth status

如未认证,引导用户执行 gh auth login 完成 GitHub 认证。

3. 前置检查 C: site/ 已构建

检查 workspace 的 site/index.html 是否存在:

ls <WORKSPACE_ROOT>/site/index.html

如 site/ 不存在或为空,引导先运行 /wiki build 构建站点。

4. 确定部署目标 repo

优先使用环境变量 GH_PAGES_REPO:

echo $GH_PAGES_REPO

如果未设置,从当前 git remote 推断:

git remote get-url origin

用户可在 .env 中设置 GH_PAGES_REPO=owner/repo 来指定目标仓库。

5. 部署到 gh-pages 分支

gh pages deploy <WORKSPACE_ROOT>/site/ --repo <TARGET_REPO> --branch gh-pages

要求 gh CLI 版本 >= 2.29.0。

6. 输出结果

部署完成后,GitHub Pages URL 格式为 https://<owner>.github.io/<repo>/。

Requirements

  • gh CLI >= 2.29.0(安装: https://cli.github.com/)
  • 已完成 gh auth login
  • workspace 的 site/ 已通过 /wiki build 构建
  • 目标 GitHub repo 已启用 GitHub Pages

Where <SKILL_DIR> Points

<SKILL_DIR> is the directory containing this SKILL.md. The /page command uses the gh CLI directly (no shared Python scripts needed). For other skills, shared scripts (look_tongji.py, timeline_tools.py, tongji_backend/) and references live two levels up in the repository root (<SKILL_DIR>/../../scripts/ and <SKILL_DIR>/../../references/).

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.