compile-workbook
星标0
分支1
更新时间2026年4月26日 09:29
Compile a workbook project into a preview-ready HTML document
安装
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
SKILL.md
readonly菜单
Compile a workbook project into a preview-ready HTML document
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | compile-workbook |
| description | Compile a workbook project into a preview-ready HTML document |
| disable-model-invocation | true |
Compile a workbook project into a full HTML document with title page, table of contents, and all lessons.
Identify the project: Ask which project to compile if not specified. List available projects:
ls /home/daniel-bo/Desktop/Workbooks/dashboard/projects/
Ensure the dashboard is running: Check if the dev server is up:
curl -s http://localhost:3000 > /dev/null 2>&1 && echo "Running" || echo "Not running"
If not running, start it:
cd /home/daniel-bo/Desktop/Workbooks/dashboard && npm run dev &
Wait a few seconds for it to be ready.
Compile via the API: Hit the compile endpoint:
curl -s "http://localhost:3000/api/projects/<PROJECT_ID>/compile" -o compiled_output.html
Report the result: Tell the user:
dashboard/projects/