colab-course-publisher
Use when Codex needs to create, edit, publish, package, or validate The Colab CourseViewerPlatform course content, including tenant course repos, course.json…
от thecolab-ai★ 41 звезда на GitHub
Установить colab-course-publisher в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Colab Course Publisher
Goal
Build CourseViewerPlatform-compatible course packages, validate their modules, and verify tenant-published content after deployment.
Quick triage
Use this when:
- Creating a new tenant course under
courses/plus reusable modules undermodules/. - Adding or editing lessons, quizzes, images, videos, markdown HTML, or widget HTML.
- Publishing tenant content repos such as
mycourse-work/<tenant>and checking live course endpoints. - Validating a course root, a single course, a single module, or a tenant content root before upload/deploy.
Do not use this for:
- General LMS, SCORM, Moodle, or unrelated course-authoring formats.
- Course strategy only, unless the output must become CourseViewerPlatform files.
- General platform renderer bugs, unless course content changes or live content verification is part of the task.
Core workflow
- Prefer the module-first format:
courses/<courseId>/course.jsonorblueprint.jsonplus siblingmodules/<moduleId>/manifest.json. - Read
references/course-format.mdbefore creating or reshaping course files. - Keep module lessons flat at the module root, with module-local assets in
assets/. - Use markdown for lessons, JSON for quizzes, and
widgets/<name>.htmlplus:::widget namefor reusable HTML artifacts. - Put research findings, tables, caveats, and practical examples in the lesson body. Use links as bottom references, not as a substitute for course substance.
- Run the validator after every structural change:
python3 skills/colab-course-publisher/scripts/cli.py validate /path/to/content-root
For a single course directory, validation also follows referenced modules. Validate the tenant root when changing shared widgets or multiple courses.
Checks
- IDs are stable, unique, and safe for URLs.
- Course manifests reference modules that exist.
- Module manifests reference lesson and quiz files that exist.
- Quizzes use supported question types and
correct, notisCorrect. - Markdown and inline HTML reference existing local images, videos, PDFs, HTML files, or widgets.
- Widget HTML posts
widget-readyandwidget-resizemessages. - External links are intentional; local publishing-critical files are local and validated.
- Course lessons contain the useful explanation directly; references are mostly grouped under
### References. - Generated images and charts teach a concept, show a process, or visualise data; they are not decorative filler.
- Live verification uses cache-busted
/api/content/...and/manifest.jsonendpoints after tenant sync.
Resources
- Course format guide:
references/course-format.md - Publishing workflow:
references/publishing-workflow.md - Validator and outline CLI:
scripts/cli.py - CI smoke test:
scripts/smoke_test.py
CLI
Use outline to print the supported structure:
python3 skills/colab-course-publisher/scripts/cli.py outline
python3 skills/colab-course-publisher/scripts/cli.py outline --json
Use validate for content:
python3 skills/colab-course-publisher/scripts/cli.py validate ~/CourseViewerPlatform/content/thecolab
python3 skills/colab-course-publisher/scripts/cli.py validate ~/CourseViewerPlatform/content/thecolab/courses/ai-for-small-business
python3 skills/colab-course-publisher/scripts/cli.py validate ~/CourseViewerPlatform/content/thecolab/modules/afsb-ai-tools --json
Use --strict when warnings should fail the command.
Publishing quick path
- Work in the tenant content repo when one exists, for example
/tmp/<tenant>-course-repoor a clone ofmycourse-work/<tenant>. - Validate the changed course or tenant root.
- Commit and push the tenant repo branch/main according to that repo's workflow.
- Watch the tenant sync workflow upload to R2 and register D1 content.
- Fetch live cache-busted lesson and manifest endpoints to prove the viewer will receive the new content.
See references/publishing-workflow.md for endpoint examples and deployment checks.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- references/course-format.md
- references/publishing-workflow.md
- scripts/cli.py
- scripts/smoke_test.py
- scripts/test_contract.py
FAQ
Что делает скилл colab-course-publisher?
Use when Codex needs to create, edit, publish, package, or validate The Colab CourseViewerPlatform course content, including tenant course repos, course.json, blueprint.json, module manifests, markdown lessons, quizzes, generated educational images, HTML widgets, and live CourseViewerPlatform content checks.
Как установить скилл colab-course-publisher?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл colab-course-publisher запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
doc-coauthoring
AnthropicGuide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
academy-guide
AnthropicStop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
internal-comms
AnthropicA set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
skill-development
AnthropicThis skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…