courseware-builder
БесплатноБез исполняемых скриптовНе проверенInteractive HTML courseware builder — turns any technical topic, flow, or process into a CD-Courseware-style interactive slide deck with animated diagrams…
от nasrulhazim★ 26 звёзд на GitHubОб этом скилле
Courseware Builder
Transform any technical topic into a self-contained interactive HTML courseware file — CD-Courseware-style with animated flow diagrams, step-by-step simulation, syntax-highlighted code examples, and key points panels. Zero external dependencies (except optional Google Fonts CDN).
Phase 1 — Topic Discovery Interview
Ask the user conversationally in one message for the following:
- Topic — what are we teaching?
- Target audience — beginners, intermediate, advanced? developers, managers, students?
- Language preference — BM / EN / mixed
- Existing outline — does the user already have a flow, diagram, or step list?
- Code language/framework — PHP, JS, Python, Laravel, etc.
- Actors — who/what is involved in the flow? (e.g. user, server, browser, database)
Skip this phase if the user already provided a complete flow, diagram, or step breakdown in their request. Extract the answers from what they gave and confirm before proceeding.
Example interview prompt:
Nak buat courseware untuk topik apa? Beritahu saya:
- Topik apa (e.g. "OAuth2 Authorization Code Flow")
- Untuk siapa (beginner/intermediate/advanced)
- Bahasa (BM/EN/campur)
- Ada outline/diagram sedia ada?
- Bahasa code (PHP/JS/Python/etc.)
- Siapa actors dalam flow ni? (user, server, browser, db, etc.)
Phase 2 — Content Architecture
Map the topic into 6–12 steps. Each step must include:
| Field | Description | Rules |
|---|---|---|
title |
Short action phrase | Max 5 words, starts with verb |
desc |
What happens + why it matters | 2–3 sentences |
actors |
Entities involved in this step | Pick from: user, server, browser, keycloak, gateway, db, queue, external |
points |
Key takeaways | 3–5 items, each typed as info / warn / danger / success |
code |
Relevant code snippet | Include filename as comment, syntax-highlight via CSS spans |
activeStep |
0-indexed node position | Which node in the flow diagram to highlight |
Refer to references/step-templates.md for detailed schema, actor definitions, point type conventions, and content writing guide.
Architecture Output
Present the step map as a numbered list for user review before generating HTML:
Step 1: [title] — [1-line desc] — actors: [list] — active node: [n]
Step 2: ...
Wait for user confirmation or adjustments before proceeding to Phase 3.
Phase 3 — Generate HTML Courseware
Generate a single self-contained HTML file with zero external dependencies (except optional Google Fonts CDN link).
Layout Structure
┌─────────────────────────────────────────────────────┐
│ HEADER: [brand-left] [course-title-center] [n/N-right] │
├──────────────┬──────────────────────────────────────┤
│ LEFT PANEL │ RIGHT PANEL │
│ (330px) │ │
│ │ ┌──────────────────────────────┐ │
│ Step Badge │ │ FLOW DIAGRAM │ │
│ Title │ │ (animated nodes + arrows) │ │
│ Description │ │ │ │
│ Actor Tags │ └──────────────────────────────┘ │
│ Key Points │ ┌──────────────────────────────┐ │
│ │ │ CODE PANEL │ │
│ │ │ (syntax highlighted) │ │
│ │ └──────────────────────────────┘ │
├──────────────┴──────────────────────────────────────┤
│ FOOTER: [◀ Prev] [● ● ● ● ●] [Next ▶] [▶ Simulate] │
│ [═══════════ progress bar ═══════════════] │
└─────────────────────────────────────────────────────┘
Components
- Header: Brand name left, course title center, step counter (
n / N) right - Left Panel (330px fixed):
- Step badge (numbered circle)
- Step title (bold heading)
- Step description (paragraph)
- Actor tags (colour-coded pill badges per actor)
- Key points (colour-coded cards: info=blue, warn=amber, danger=red, success=green)
- Right Panel (flexible):
- Flow diagram: all nodes always visible, active node = highlighted + scaled, completed nodes = green with ✓
- Code panel: syntax-highlighted snippet with filename header
- Footer:
- Prev / Next buttons
- Clickable step dots (filled = visited, ring = current, empty = unvisited)
- Progress bar (smooth transition)
- ▶ Simulate button (auto-play all steps)
Interactions
| Trigger | Action |
|---|---|
| Next / Prev buttons | Navigate steps |
| Step dot click | Jump to step |
| Node click | Jump to that node's step |
| ▶ Simulate | Auto-play at 900ms/step with packet animation along arrows |
→ or Space |
Next step |
← |
Previous step |
Enter |
Start/stop simulate |
Syntax Highlighting
CSS-only syntax highlighting via span classes — no external libraries:
| Class | Purpose | Example colour |
|---|---|---|
.kw |
Keyword | #c792ea (pu |
Установить courseware-builder в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл courseware-builder?
Interactive HTML courseware builder — turns any technical topic, flow, or process into a CD-Courseware-style interactive slide deck with animated diagrams, step-by-step simulation, syntax-highlighted code examples, and key points panels. Use this skill whenever the user wants to create teaching materials, interactive slides, animated flow diagrams, or step-by-step technical walkthroughs — even if they say "buatkan slides untuk topik X", "jadikan courseware", "buat interactive tutorial", or "create a lesson on X". Also triggers for "convert my diagram to interactive slides" or "build a visual walkthrough for my training".
Как установить скилл courseware-builder?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл courseware-builder запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic