create-quiz
БесплатноБез исполняемых скриптовНе проверенTurn one or two completed cruijff_kit experiments into a self-contained, self-grading HTML quiz that tests a recipient's intuition about the results. Use…
от niznik-dev★ 15 звёзд на GitHubОб этом скилле
Create Quiz
You help users turn completed experiments into a teaching artifact: a self-contained HTML quiz, with questions grounded in the experiment's actual results, that scores itself and reveals explanations after each answer.
The point is intuition-testing, not trivia. Good questions force the recipient to make a prediction or judgment that the experiment's data can settle. Boilerplate ("how many runs were there?") fails that bar.
Audience and assumption
The recipient has not seen the experiment, the report, or any of the source files. Everything they need to answer must live inside quiz.html. Two consequences:
- The intro must teach the setup from scratch — task description, example input/output, key parameters, baselines.
- Explanations on each answer must be self-sufficient: don't write "see the Anomalies section" or "per the saturation table in report.md". Quote the relevant numbers / facts inline.
Your task
- Locate one or two experiment directories.
- Parse what each contains: the design (
experiment_summary.yaml), the analysis (exploration/report.md,summary.md), and any rendered figures (exploration/*.png). - Plan a portfolio of 6–8 questions, focused on results (not the experimental process or compute).
- Write a canonical
quiz/quiz.jsonspec. - Render
quiz/quiz.htmlviapython -m cruijff_kit.tools.quiz.render_quiz. - Log the run to
logs/create-quiz.log.
See the modular sub-files for details:
parsing.md— what to load from the experiment directory and howquestion_catalog.md— question types, when each fits, worked examplesgeneration.md— JSON spec schema, render command, output layoutlogging.md— action types and log file location
Prerequisites
- The experiment has been run AND explored (
exploration/report.mdexists).explore-experimentis an optional post-run step in general — but create-quiz requires it:report.md's figures and interpretation are what ground the questions, and the requiredsummarize-experimentstep (summary.md) alone doesn't produce them. Ifreport.mdis missing, ask the user to runexplore-experimentfirst — without it, there's nothing concrete to ground questions in. - The cruijff conda environment is activated (the renderer uses Jinja2; same env as the rest of the toolkit).
Workflow
1. Locate experiment(s) → parsing.md
Accept one or two paths. If none provided and the current directory has experiment_summary.yaml, use it. Otherwise ask the user.
If two experiments are given, both must individually pass the prerequisite check (each has its own exploration/report.md). When generating questions, plan at least one comparison or contrast question that requires reading both.
2. Parse inputs → parsing.md
For each experiment, extract:
- Research question, hypothesis, purpose (
experiment_summary.yaml: experiment.{question, hypothesis, purpose}) - Run names, conditions, evaluation matrix
- Headline number(s) and per-condition results from
exploration/report.md - Anomalies and suggested next steps (also in
report.md) - Final training loss + accuracies from
summary.md(if present) - Available figures: list of PNGs in
exploration/ - The full content of
exploration/report.mdas a string — for the appendix write-up. - The full content of
experiment_summary.yamlas a string — for the appendix details block.
Preserve full numeric precision when reading from report.md — these experiments are typically evaluated at n=2000 per cell and CIs are tight. Store the source number verbatim (e.g. 0.987, 99.8%–100.0%), don't round to 0.99. This is independent from a question's tolerance field, which controls how forgiving the auto-grader is — that can be loose for intuition questions and zero for precise lookups, picked per-question. The principle is: lossy transcription corrupts the answer key; a deliberate tolerance does not.
3. Write the title and intro
The title field is what appears as the H1 and in the browser tab. Don't use the experiment's directory name (e.g. length_sweep_nth14) — it's a slug, not a title. Write a short recipient-friendly question or claim that frames what the quiz is actually about.
Good titles:
- "Are longer sequences harder to learn? An LLM fine-tuning intuition test."
- "How much training data does a small LLM need to memorise a rule?"
- "Does the model size make a difference for ACS-employment prediction?"
Bad titles:
- The directory slug (
length_sweep_nth14) - The full research question copied verbatim (too long, too jargon-heavy for a recipient)
Then draft the intro field of quiz.json. It must include:
- The task — what the model is doing in plain English. Don't assume domain knowledge. Define jargon (e.g. "implicit prompt: the rule is not described to the model; it must be learned from training examples").
- One concrete example input → output, formatted exactly as the model saw it. If
Установить create-quiz в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл create-quiz?
Turn one or two completed cruijff_kit experiments into a self-contained, self-grading HTML quiz that tests a recipient's intuition about the results. Use whenever the user wants to teach, share, or stress-test understanding of an experiment — phrases like "make a quiz from this experiment", "test my intuition on these results", "build a quiz to share with the team". Each question embeds everything needed to answer it; submitting reveals the correct answer with an explanation citing the exact row, figure, or section in the experiment artifacts.
Как установить скилл create-quiz?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл create-quiz запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic