knowledgeworker-asset-setuplisted
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