← ClaudeAtlas

knowledgeworker-asset-setuplisted

Build or modify a Knowledgeworker HTML5 embedded learning asset (medium, question, question-with-custom-question-text, or advanced-question) using Vite + Vanilla JS + the knowledgeworker-embedded-asset-api. Use when scaffolding a new KW asset, wiring the LMS API (onInitialize, answered, completed, suspend data, design tokens), implementing responsive/iframe-height/state-persistence/completion best practices, building multiple games in one repo, or packaging asset.zip for upload.
robertkotsch/kw-asset-skill · ★ 0 · Web & Frontend · score 70
Install: claude install-skill robertkotsch/kw-asset-skill
# Knowledgeworker HTML5 Asset Setup This skill is the **knowledge layer** for building Knowledgeworker embedded assets. To scaffold a new asset, run the `/kw-asset-setup` command — it orchestrates the steps. > [!IMPORTANT] > **MANDATORY PRE-CHECK.** Before scaffolding, verify the API version: > 1. Read the latest tag at `https://github.com/chemmedia/knowledgeworker-embedded-asset-api/tags`. > 2. Compare with the verified version: **API v4.1.0 / UI v3.x** (last check: 2026-11-10). > 3. If a newer major exists, update the version here and in the command before proceeding. ## Required security check At every setup or dependency refresh, run `pnpm audit --audit-level=low` and `pnpm outdated`, apply reviewed fixes with `pnpm update`, then rerun audit, build, ZIP and browser checks. Follow the complete mandatory dependency review in [operations](docs/operations.md#mandatory-dependency-review-at-every-setup-or-refresh). Report vulnerabilities, deprecations, peer/runtime conflicts and unresolved issues. ## Stack (non-negotiable) | Tool | Note | | --- | --- | | **pnpm** | NOT npm or yarn | | **Vite** | NOT Webpack | | **Vanilla JS** | no framework by default | | **knowledgeworker-embedded-asset-api** | LMS layer, prebuilt registry release installed with pnpm, pinned | ## Decide the asset type first Ask the user before writing code: *"Medium, Question, Question with custom question text, or Advanced Question?"* **Default to `medium`.** Then copy the matching template: | `asset