一键导入
page
Deploy the built course wiki site/ to GitHub Pages via gh CLI. Pre-checks gh auth status and site/ existence.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Deploy the built course wiki site/ to GitHub Pages via gh CLI. Pre-checks gh auth status and site/ existence.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
9-command agent skill suite for Tongji Look (look.tongji.edu.cn): setup, list, transcribe, take notes, manage materials, build course wiki, create cheat sheets, batch-process entire courses, and deploy course wiki to GitHub Pages.
Add supplementary materials (PDF, PPTX, DOCX, images) to a lecture session. Converts to Markdown via MarkItDown and indexes into the course wiki — without triggering transcription or slide download.
Generate a high-density A4 cheat sheet for open-book exams. Two output paths: LaTeX (XeLaTeX) or self-contained HTML with CSS print layout. Both paths produce visually consistent results.
Discover and select courses from Tongji Look (look.tongji.edu.cn). Lists recent or all courses, filters by keyword, and saves the chosen course for use with /trans, /note, and other commands. Prerequisite for all lecture workflows.
Generate study notes from a lecture transcript and slides. Runs transcript + slide download in parallel, then writes a Markdown note with timeline outline.
Batch transcribe ALL playable lectures for a course in a persistent loop. Uses a JSON state file for checkpoint/resume. Runs until every lecture is transcribed or marked failed.
| name | page |
| description | Deploy the built course wiki site/ to GitHub Pages via gh CLI. Pre-checks gh auth status and site/ existence. |
| license | MIT |
| metadata | {"author":"WALKERKILLER","version":"1.1"} |
将已构建的课程 wiki 静态站点部署到 GitHub Pages。
/page or "deploy to pages" or "publish wiki"./wiki build and the site/ directory is ready.gh --version
如未安装,输出安装指引,引导用户访问 https://cli.github.com/ 安装。
gh auth status
如未认证,引导用户执行 gh auth login 完成 GitHub 认证。
检查 workspace 的 site/index.html 是否存在:
ls <WORKSPACE_ROOT>/site/index.html
如 site/ 不存在或为空,引导先运行 /wiki build 构建站点。
优先使用环境变量 GH_PAGES_REPO:
echo $GH_PAGES_REPO
如果未设置,从当前 git remote 推断:
git remote get-url origin
用户可在 .env 中设置 GH_PAGES_REPO=owner/repo 来指定目标仓库。
gh pages deploy <WORKSPACE_ROOT>/site/ --repo <TARGET_REPO> --branch gh-pages
要求 gh CLI 版本 >= 2.29.0。
部署完成后,GitHub Pages URL 格式为 https://<owner>.github.io/<repo>/。
gh auth loginsite/ 已通过 /wiki build 构建<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/).