/claude-toolkit:courseware-builderfrom claude-toolkit
Transforms any technical topic into an interactive HTML slide deck with animated diagrams, step-by-step simulation, syntax-highlighted code, and key points panels.
Ships in claude-toolkit. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
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).
Ask the user conversationally in one message for the following:
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.)
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.
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.
Generate a single self-contained HTML file with zero external dependencies (except optional Google Fonts CDN link).
┌─────────────────────────────────────────────────────┐
│ 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 ═══════════════] │
└─────────────────────────────────────────────────────┘
n / N) right| 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 |
CSS-only syntax highlighting via span classes — no external libraries:
| Class | Purpose | Example colour |
|---|---|---|
.kw | Keyword | #c792ea (purple) |
.fn | Function name | #82aaff (blue) |
.str | String literal | #c3e88d (green) |
.cmt | Comment | #546e7a (grey) |
.var | Variable | #f78c6c (orange) |
.cls | Class name | #ffcb6b (gold) |
.num | Number | #f78c6c (orange) |
.arr | Arrow / operator | #89ddff (cyan) |
translateX + opacity)transition: width 0.4s easeThree built-in themes defined in references/themes.md:
| Theme | Audience | Default? |
|---|---|---|
| Dark Cyberpunk | Developers, tech workshops | Yes |
| Light Editorial | Non-technical, management, students | No |
| Warm Malaysian | Community events, BM workshops | No |
Select theme based on target audience from Phase 1. User can override.
Refer to references/html-template.md for the complete HTML boilerplate, render function, simulate function, keyboard handler, and CSS patterns.
{topic-slug}-courseware.html
Examples:
oauth2-auth-code-flow-courseware.htmllaravel-request-lifecycle-courseware.htmlgit-branching-strategy-courseware.htmlBefore saving the file, verify:
Save the file and present it to the user. Include in the summary:
→/Space = next, ← = prev, Enter = simulate| File | Purpose |
|---|---|
references/step-templates.md | Step content schema, actor definitions, point types, writing guide |
references/themes.md | CSS variables, font pairings, theme selection guide for all 3 themes |
references/html-template.md | Complete HTML boilerplate, render/simulate functions, CSS patterns |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub nasrulhazim/claude --plugin claude-toolkit43 skills in this plugin
/business-cardSVG business card designer that takes contact details and brand preferences, then produces 12 front design concepts with optional back designs, interactive HTML preview galleries, individual card showcases with front/back flip animation, and print-ready SVG exports with bleed area and crop marks. Supports horizontal and vertical orientations, six layout styles (minimal, corporate, creative, elegant, bold, tech), multiple color schemes, QR code placeholders, social media icons, and logo integration. Use this skill whenever the user asks to design a business card, create a name card, make visiting cards, or says "design business card", "buat kad bisnes", "create name card", "reka kad perniagaan", "design kad nama", "I need a business card for X".
/ci-cd-pipelineCI/CD pipeline builder for Laravel projects — extends Kickoff's existing GitHub Actions CI with continuous deployment pipelines (staging/production), Docker containerisation, secret management, and failure notifications. Generates Dockerfiles, docker-compose.yml, deployment configs for VPS via SSH, container registry push workflows, and leverages Kickoff's /bin scripts (deploy.sh, backup.sh, setup.sh) in automated workflows. Use this skill whenever the user asks to set up deployment pipelines, containerise a Laravel app, configure CD for staging or production, push Docker images to a registry, manage deployment secrets, add failure notifications to CI, or integrate /bin scripts with GitHub Actions. Triggers for requests like "set up CD pipeline", "deploy to staging automatically", "dockerise my Laravel app", "add Docker to my project", "push image to registry", "manage secrets in CI", "notify on failure", "extend CI with deployment", "setup deploy pipeline", "nak deploy guna GitHub Actions", "tambah Docker dalam project", "setup CD untuk staging", "nak auto deploy ke production", "dockerise Laravel app aku", "tambah notification kalau CI fail", "macam mana nak manage secrets dalam GitHub Actions", or "integrate bin scripts dengan CI". Assumes Laravel Kickoff as the baseline — GitHub Actions CI (Pint, PHPStan, Rector, Pest) and /bin scripts (deploy.sh, backup.sh) are already configured. This skill extends that baseline with CD, Docker, and deployment automation.
Other plugins' skills for the same job