microsim-generator
БесплатноЗапускает вложенные скриптыНе проверенCreates interactive educational MicroSims, routing to the best-matched generator - p5.js, Chart.js, Plotly, Mermaid, vis-network, timelines, maps, Venn…
Об этом скилле
MicroSim Generator
Version: 1.0.6
Changelog
v1.0.6 — The grid overlay engine (
assets/infographic-overlay/shared-libs/grid-diagram.js) now keeps the Explore-mode instruction written intomain.htmlas{PROMPT_TEXT}. It used to hard-code "Click on any column to learn about it." insetMode('explore'), which overwrote the author's prompt as soon as the sim loaded. Found while building the robot-arm book'shiwonder-kit-comparisongrid sim. Books that already copiedgrid-diagram.jsintodocs/sims/shared-libs/keep the old behavior until they copy the new file over. The same fix is applied to thedocs/sims/shared-libs/copy used bygrid-overlay-test.v1.0.5 — Every causal loop diagram must now support an
?edit=trueURL suffix, so the author can drag nodes and R/B markers, reshape edge curves, and export the updated CLD JSON. Generated coordinates are only a first draft. The newreferences/cld-edit-mode.mdgives the requirements checklist, the code patterns, and the gotchas found while building the reference sim (macos-screen-grab/docs/sims/feature-count-causal-loop/). Withoutedit=true, learners cannot drag the nodes. Edit-mode drafts are autosaved and restore only the layout, so they never hide later text edits. The causal-loop guide, schema (newedges[].curve), layout templates, and article structure now point to it, and the bundledcld-viewertreatsedit=truelikemenu=true.v1.0.4 — The p5 guide now has a "p5.js 2.x Notes" section listing the 1.x patterns that break under 2.3.4 and their replacements, each checked in headless Chromium: defining
preload()stops the sketch,keyCode === LEFT_ARROWandkeyIsDown(65)are always false, andcurveVertex(),createStringDict()and the 6-argumentbezierVertex()throw. The iframe hover-gating pattern ignores touchmouseOutevents, because in 2.x lifting a finger froze the animation on tablets, which 1.x did not. The deadp5js.org/migration-guide/link now points to the v2 transition guide.v1.0.3 — The p5 guide's "HTML Structure (REQUIRED)" example still loaded p5.js 1.7.0 from cdnjs, which the 2.3.4 bump missed. It now loads
[email protected]from jsdelivr like every other template, so no part of the skill points a new sim at p5.js 1.x. 2.3.4 is still the newest stable release on npm (2.4.0 is only at rc.1).v1.0.2 — The default p5.js version is now 2.3.4, the newest 2.x release on npm (published 2026-09-25), up from 2.3.2. Updated everywhere the skill pins it:
LIBRARY_CDNSinsrc/microsim-utils/shared.py(so scaffoldedmain.htmlfiles get it),assets/templates/p5/main-template.html,assets/concept-classifier/(main-template.htmlandindex-template.md), the p5 and concept-classifier guides, and the utilities README. Checked by upgrading the 15 p5 sims in oer-evaluator from 2.3.2 to 2.3.4: every sim opened static with no console errors, played through correctly, and rendered pixel-identical screenshots, so no code changes were needed. Existing books can move to 2.3.4 by changing the CDN version in eachmain.htmland theversionand dependency lines in eachmetadata.json.v1.0.1 — Two fixes to the batch utilities so a new book does not inherit them.
generate-sim-scaffold.py(viaLIBRARY_CDNSinshared.py) now writes[email protected]into every scaffoldedmain.html; it still wrote[email protected]while the p5 guide, theassets/templates/p5/templates and the concept-classifier guide all said 2.3.2, so each new sim needed its CDN line edited by hand (found when 19 sims were generated for oer-evaluator).add-iframes-to-chapter.pynow inserts the same embed a sim's ownindex.mduses:<iframe src height width scrolling>, a blank line, and a{ .md-button .md-button--primary }fullscreen link titled "Run theMicroSim Fullscreen". It used to insert attributes in a different order and a plain `[Run Fullscreen](...)` link, with an extra blank line after the heading, so chapters mixed two styles. Existing books can re-point old sims by changing the CDN version in each `main.html`; a sim written for p5.js 1.x should be re-checked first (see the p5 guide's note on the 2.x migration).
Overview
This meta-skill routes MicroSim creation requests to the appropriate specialized generator based on visualization requirements. It consolidates 17 individual MicroSim generator skills into a single entry point with on-demand loading of specific implementation guides.
Six Python batch utilities in src/microsim-utils/ automate the repetitive parts of MicroSim generation (parsing specs, scaffolding files, inserting iframes, fixing iframe heights, validating quality, updating navigation), saving ~430K tokens per batch run. The agent's creative work is focused on writing the .js file.
Default Sequential Execution
When the microsim generator skill us used on all
Установить microsim-generator в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл microsim-generator?
Creates interactive educational MicroSims, routing to the best-matched generator - p5.js, Chart.js, Plotly, Mermaid, vis-network, timelines, maps, Venn, causal-loop/feedback-loop diagrams (CLD), concept-classifier sorting quizzes, infographic overlays with callout labels, Docker Python labs (runnable code blocks), and fact-verified statistics posters (every numeric claim checked against a cited source before rendering). Generates complete MicroSim packages with HTML, JavaScript, CSS, documentation, and metadata.
Как установить скилл microsim-generator?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл microsim-generator запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic