Class summarizer
Generate a complete, self-contained, interactive HTML revision sheet from a folder of course materials (slides, PDFs, labs, past exams, notes - "everything exported from Moodle"). Rebuilds the course pedagogically from scratch - every concept explained with a definition, examples, worked exercises, analogies, pitfalls and vocabulary spelled out inline - then an interactive quiz (single/multiple choice, true-false, open) with detailed corrections. Two parameters: the output language (if none is given, detect the dominant language of the materials) and a depth level from 1 to 3 - 1 = the essentials distilled, 2 = the whole course taught from scratch (default), 3 = exhaustive, adding the prerequisite foundations and every example, exercise and past-exam question. Use when the user wants to revise a subject, summarize a course, create a study sheet, a memo or a quiz from their course documents.From its SKILL.md
npx -y skills add vachalayy/Class-Summerizer --skill class-summarizerAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
9.1 KB, as published. Nobody here has run it
Class Summarizer - complete revision sheet
You turn a messy folder of course materials into one HTML revision sheet: pedagogical, self-contained (no external dependency) and interactive (a self-correcting quiz). How much it covers is set by a depth level (1-3); at level 2 and above the result must let someone who never attended the course understand it and test themselves.
Guiding principle: one canonical system
The trap of the "big prompt" approach is that every run reinvents the design and the quiz engine -> inconsistent results. Here everything is already harmonized: you never reinvent anything, you fill in one template.
- The design (colors, callouts, typography, light/dark theme, print) lives in
assets/template.html- the single source of truth. You copy it and only write the content. - The quiz engine and data model are fixed - you only fill the
window.UIlabels and thewindow.QUESTIONSarray.
Your value is the content: pedagogical quality and the sharpness of the questions. Not the layout.
Output language (a parameter)
- The user chooses the language of the generated sheet. Accept it explicitly
(e.g.
/revise French, or in plain words "make it in Spanish"). - If the user gives no language, detect the dominant language of the course materials and use it. State which language you picked.
- Write all visible content in that language: prose, callout labels, the
window.UIinterface labels, and the questions. Set<html lang="..">. - Keep technical terms in their original form and explain/translate them inline.
- This skill's own files (this SKILL.md, the references, the template code and comments) stay in English, ASCII-only, so the repo is usable by everyone.
Depth level (a parameter)
The user also chooses how deep the sheet goes, on a scale of 1 to 3.
Accept it explicitly (e.g. /revise 3, "level 3", "niveau 3"), in any order with
the language. If no level is given, use level 2. State which level you used.
The level is one dial that moves five knobs together - scope, depth, prerequisites, quiz size and length. Keep them consistent: never pair a level-1 scope with a level-3 quiz.
| Knob | 1 - Summary | 2 - Deepened (default) | 3 - Exhaustive |
|---|---|---|---|
| Concept scope | The core concepts only - the backbone you cannot revise without | Every concept taught in the course | Every course concept plus the prerequisite foundations the course assumes |
| Depth per concept | Intuition + definition + key point (an example only when it truly helps) | Full canonical structure: definition, example, analogy, pitfall, one worked exercise, key point | Maximal: several examples, every worked exercise from the labs, every past-exam trap, edge cases, links between concepts |
| Prerequisites ("the basics") | Assumed known | Recalled in one line when a concept depends on one | A dedicated "Foundations" chapter that teaches them from scratch |
| Quiz | ~20 questions, core concepts, mostly easy/medium | ~35 questions, whole course, full difficulty mix | 50+ questions (at least 50, grow to cover everything), full spread, every past-exam question represented |
| Length & tone | Distilled - the essentials, zero padding | Complete and pedagogical | Comprehensive - nothing left out |
What never changes with the level (the golden rules below hold at 1, 2 and 3): faithfulness to the sources, explaining clearly whatever you do include, inline vocabulary, one self-contained file, and the anti-guessing quiz quality.
Think of it as audience: 1 re-grasps the spine fast, 2 lets someone who never attended understand the whole course, 3 leaves no stone - or prerequisite - unturned.
Enabled options (design decisions)
- Design: "clean academic", automatic light/dark + a toggle button.
- Extras: print/PDF stylesheet (already in the template) and source citations (each concept links back to the file it came from).
- Output: a single, self-contained HTML file.
The workflow (6 phases)
Follow them in order. The operational detail of each phase is in
references/workflow.md - read it before you start.
- Inventory - list every file in the folder, classify them (course, labs, past exams, solutions, admin/noise), rename cryptic files.
- Read & take notes - read everything (extract text from PDF/PPTX/DOCX), and record every concept, definition, formula, example, exercise and past-exam question in a notes file, with its source. Tag which concepts look core vs secondary and note the prerequisites the course leans on - that feeds the level. Flag gaps.
- Plan - select the concepts that match the chosen level (core only / whole course / whole course + prerequisites), then reorganize them into a pedagogical order (not the file order): chapters + sub-concepts, the weight of each topic, and - at level 3 - a "Foundations" chapter for the basics.
- Write the sheet - copy
assets/template.html, fill the title, the contents and the chapters using the callout system (references/design-system.md) and the teaching rules (references/pedagogy.md), at the depth the level calls for. Translatewindow.UI. Cite sources. - Quiz - fill
window.QUESTIONSfollowingreferences/quiz-engine.md(4 types, mixed difficulty, plausible distractors, deliberate traps, and why the right answer is right and the others wrong). The count follows the level: ~20 / ~35 / 50+. - Review - run the final checklist (
references/workflow.md): scope, depth and quiz all coherent with the level, every acronym spelled out inline, single file with no dependency, print styles OK, sources cited, and the guessability check on the quiz. Fix.
Golden rules (non-negotiable)
- Faithfulness to the sources. Never invent a fact, a number, a formula or a definition. Everything comes from the documents. If a concept is unclear or missing, flag it (a "Pitfall"/note callout) instead of filling the gap at random. This outranks completeness at every level: never pad a level's scope with invented content.
- Completeness, scoped to the level. Cover what the level requires - the core (1), every course concept (2), or every concept plus the prerequisites (3). Within that scope nothing may be missing; at level 2-3, when in doubt, include it.
- From scratch. Explain clearly, from intuition, whatever you include. The level sets how much you include and how deep - never whether you explain it well.
- Inline vocabulary. Every acronym/jargon is spelled out at its first appearance, in the sentence - not only in a glossary nobody re-reads. (The end glossary is a bonus.)
- Full self-containment. One
.htmlfile: inline CSS and JS, no web font, CDN, remote image or dependency. Diagrams are built in HTML/CSS. - Do not touch the
<style>or the engine JS of the template. You fill: the<title>and<html lang>, the.heroheader, the<nav class="toc">,<main>,window.UIandwindow.QUESTIONS. - Match the chosen output language and level; clear, encouraging tone.
Reference files (read as needed)
references/workflow.md- the detailed 6-phase procedure + text extraction from PDF/PPTX/DOCX + the final checklist.references/design-system.md- the component "API": which classes to use (callouts, tables, steps, terms, source citations...) and how to add a chapter.references/quiz-engine.md- the question data model and the rules for writing the questions (count set by the level; most important for quality: anti-guessing, traps).references/pedagogy.md- how to explain a concept (canonical structure, depth by level, analogies, inline vocabulary, faithfulness to sources).assets/template.html- the template to copy. Do not edit the style or the engine.
Deliverable
One Revision-<Subject>.html file (at the root of the course folder, unless
asked otherwise). At the end, briefly report to the user: the level and output
language, chapters covered, number of concepts, the split of the quiz
questions, and any gaps detected in the materials.