Loading repository data…
Loading repository data…
rlfordon / repository
Evidence-based Claude skill that generates accessible, interactive HTML teaching explainers for law school (and any) courses — with the pedagogy research behind it and an AI-prompting exemplar.
An evidence-based Claude skill that generates accessible, lightly-interactive single-page HTML explainers for teaching — built for law school (legal research, legal technology, and doctrinal courses) but deliberately subject-agnostic, so it works for any course and any instructor.
Every explainer it produces is:
research/pedagogy-evidence-base.md..html file that works offline, drops into
any LMS, and is purely self-check (nothing leaves the student's browser).See them live: examples gallery — open, share, or drop any explainer into an LMS.
| Path | What it is |
|---|---|
teaching-explainer/ | The skill itself — SKILL.md (the Phase 0–6 process), reference docs, the accessible component kit, and the edit overlay. See its README to install. |
teaching-explainer/examples/ | Interactive explainers built with the skill — see the Examples section below for live links. |
research/pedagogy-evidence-base.md | The cited pedagogy research the skill is built on. |
docs/superpowers/specs/ · docs/superpowers/plans/ | The design spec and implementation plan. |
test/ | Playwright + axe-core tests for the component kit (behavior + accessibility). |
The skill assembles explainers from a small set of reusable interaction components that are accessible by construction (keyboard-operable, screen-reader-announced via ARIA live regions, ≥24×24px targets, visible focus, reduced-motion aware):
predict-reveal · retrieval-mc (with why feedback + retry) · self-explain ·
classify (keyboard-first, no drag required) · step-through · plus an accessible Review & edit
overlay for a non-technical revision loop.
Built with this skill and hosted on GitHub Pages — each is a self-contained .html file you can open, share, or drop into an LMS:
| Explainer | Focus | Live |
|---|---|---|
| Prompting AI for legal work | general prompting principles + Westlaw / Lexis / vLex specifics + verification | open |
| Boolean searching, without the traps | terms & connectors, a four-move method, and the common pitfalls | open |
Source lives in teaching-explainer/examples/. Open any explainer with ?edit (or click Review & edit) to annotate it in place and export a revision brief.
The AI-prompting explainer's platform details and empirical figures were current as of June 2026 and should be reconfirmed (sources); the Boolean explainer's connector syntax is Westlaw's and varies by platform.
npm install # if this fails on an npmrc setting, add --min-release-age=0
npx playwright install chromium
npm test
This skill was inspired by — and includes adapted portions of — html-explainer
by Derek Schwede (MIT). Its visual-design bar and quality loop
(references/visual-and-quality.md) are
adapted from html-explainer's Phase 2 and Phase 4 under the MIT License — see
THIRD-PARTY-NOTICES.md. Everything else — the evidence-based pedagogy
spine, the accessible-by-construction component kit, WCAG 2.2 AA enforcement, the edit overlay, and
the explainers — is original. teaching-explainer is standalone: it does not require
html-explainer, though it stays compatible with it. Thank you, Derek; this project wouldn't exist
without yours.
Also inspired by Anthropic's write-up on the unreasonable effectiveness of HTML with Claude Code.
MIT © 2026 Rebecca Fordon