← ClaudeAtlas

course-quiz-builderlisted

Use when someone wants a quiz, knowledge check, exam, or assessment generated from course material — a Claude Academy / Skilljar lesson, a training markdown doc, onboarding content, or any .md curriculum — or wants such a quiz published to GitHub Pages. Triggers on "generate a test from this course", "make a quiz from these lessons", "build a knowledge check", "turn this MD into an exam", "put the quiz online". Produces one self-contained HTML+CSS+vanilla-JS page with randomized questions, answer review, and a pass/fail verdict. Not for authoring the course content itself, and not for unit/E2E code tests.
the3ma/course-quiz-builder · ★ 0 · Web & Frontend · score 73
Install: claude install-skill the3ma/course-quiz-builder
# Course Quiz Builder Turn course content into **one self-contained HTML page** that shuffles its questions, lets the learner preview and edit answers before submitting, then reports **Test passed / Test failed** with a per-question right/wrong answer key. Two inputs: **course name** and a **markdown file** of course content. Output: `quiz.html` — no build step, no dependencies, no network. Double-click it and it works. ## Pipeline You author the questions; the script renders and validates them. Never hand-write the HTML. ``` course .md → [you: extract + write questions.json] → build-quiz.mjs → quiz.html ↓ fails hard on bad keys selftest.mjs --html quiz.html ↓ must print PASS publish-pages.mjs → GitHub Pages ``` | Step | What you do | |---|---| | 1. Read | Read the markdown. Map its `##` lessons → sections, and each "By the end of this lesson" bullet + Key takeaway → a candidate question. | | 2. Size | Question count = content size (see table below). Confirm count + pass mark with the user if either is unstated and the content is large. | | 3. Author | Write `questions.json` next to the source `.md`. Follow references/question-design.md — it is the difference between a quiz and a trivia dump. | | 4. Build | `node <skill>/scripts/b