Przejdź do treści
Biblioteka skilli
Edukacja · Budowanie i kod

courseware-builder

/courseware-builder

Tworzy interaktywne slajdy HTML w stylu courseware z dowolnego tematu technicznego lub procesu: animowane diagramy, symulacja krok po kroku, kolorowany kod i panele kluczowych punktów.

Repozytorium
claude ↗
Licencja
MIT
Ostatnia zmiana repozytorium
27.10.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
4
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 27.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Tworzy interaktywne slajdy HTML w stylu courseware z dowolnego tematu technicznego lub procesu: animowane diagramy, symulacja krok po kroku, kolorowany kod i panele kluczowych punktów.

Wyzwalacze z opisu

buatkan slides untuk topik Xjadikan coursewarebuat interactive tutorialcreate a lesson on Xconvert my diagram to interactive slides
Oryginalny opis (EN)

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 w

Jak działa

  1. Phase 1 — Topic Discovery Interview
  2. Phase 2 — Content Architecture
  3. Phase 3 — Generate HTML Courseware
  4. Phase 4 — Output
  5. Reference Files
Sekcje z nagłówków SKILL.md, w oryginale · 202 linii, 1 141 słów
Podgląd SKILL.md
---
name: courseware-builder
metadata:
  compatible_agents:
    - claude-code
    - laravel-cloud
  tags:
    - courseware
    - interactive
    - html
    - teaching
    - slides
    - animation
    - diagram
    - tutorial
    - training
description: >
  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

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:

1. **Topic** — what are we teaching?
2. **Target audience** — beginners, intermediate, advanced? developers, managers, students?
3. **Language preference** — BM / EN / mixed
4. **Existing outline** — does the user already have a flow, diagram, or step list?
5. **Code language/framework** — PHP, JS, Python, Laravel, etc.
6. **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` (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) |

### Animations

- **Slide-in**: left panel content slides in on step change (CSS `translateX` + `opacity`)
- **Node active**: scale 1.15 + glow box-shadow on active node
- **Packet animation**: a dot travels along the arrow path from source to target node during simulate
- **Progress bar**: smooth `transition: width 0.4s ease`
- **Notify toast**: brief toast message on simulate start/end

### Themes

Three 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.

---

## Phase 4 — Output

### File Naming

```
{topic-slug}-courseware.html
```

Examples:
- `oauth2-auth-code-flow-courseware.html`
- `laravel-request-lifecycle-courseware.html`
- `git-branching-strategy-courseware.html`

### Quality Checklist

Before saving the file, verify:

- [ ] All steps have complete content (title, desc, actors, points, code, activeStep)
- [ ] Flow diagram renders all nodes with correct active highlighting
- [ ] Simulate auto-plays through all steps with packet animation
- [ ] Keyboard navigation works (→/Space, ←, Enter)
- [ ] Step dots are clickable and reflect current position
- [ ] Progress bar updates smoothly
- [ ] Zero external dependencies (except optional Google Fonts CDN)
- [ ] Code snippets have proper syntax highlighting
- [ ] Actor tags display with correct colours
- [ ] Key points cards show correct type styling (info/warn/danger/success)

### Delivery

Save the file and present it to the user. Include in the summary:

- Total step count
- Keyboard shortcuts reminder: `→`/`Space` = next, `←` = prev, `Enter` = simulate
- File path

---

## Reference Files

| 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 |
Pliki w paczce (4)
  • SKILL.md 9 KB
  • references/html-template.md 24 KB
  • references/step-templates.md 8 KB
  • references/themes.md 6 KB

Wersje

W bazie nie ma innych skilli o nazwie courseware-builder.

Migawka bazy z 13.11.2026 · wersja paczki fba06b338cbf (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100wps-courseware
    Układa przebieg lekcji według schematu: wprowadzenie, nowy materiał, ćwiczenia i podsumowanie, a potem generuje slajdy i pytania.
  • 82slides-builder
    Generuje kompletną prezentację HTML z tematu, listy punktów lub dokumentu, z jedną myślą na slajd.
  • 87teaching-suite
    Zapewnia zestaw skilli dla wykładowców uniwersyteckich na cały cykl nauczania: projekt kursu, lekcje, ocenianie, mentoring, audyt prac, refleksja, slajdy, laboratoria, skrypty wideo i akredytacja.
  • 100visual-explainer
    Tworzy klikalny materiał wizualny, który uczy trudnego tematu od zera: rozdziały, krokową narrację i interaktywne diagramy SVG.
  • 100courseware-cn-annotator
    Zamienia PDF z wykładu na paczkę nauki po chińsku: tłumaczenie stron, notatki dla początkujących, edytowalny Markdown, e-book HTML i wydruk A4.
  • 100animaguru-diagram-formula-motion
    Tworzy animowane diagramy, figury geometryczne i przekształcenia wzorów, które wyjaśniają temat krok po kroku.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.