/mattpocock-skills:lesson-script Topic, e.g. Redis caching — optionally with the chat-model essay already in handfrom mattpocock-skills
Fast-track pipeline for creating Practice Map lessons: relays a topic to a chat model, salvages the essay with payload blocks, and wires it into the curriculum.
Ships in mattpocock-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Fast track for a Practice Map lesson: one relay round to a chat model drafts a free-form Russian essay together with its integration payload (practice prompt, check prompt, theory); this runbook salvages mechanically, converts, and wires it. The recipe and gates live in docs/agents/lesson-pipeline.md; the deep, quality-looped track is /lesson-iteration. Run only when explicitly invoked; the argument is the topic, and an essay pasted by the owner replaces the relay round.
The essay must never pass through the agent's context: the owner's reply is written straight to the lesson file, and the agent reads only converter diagnostics (counts, warning lines), editing by grep targets. Bulky artifacts (emitted TS, diffs) live in /tmp or agent2/ and are inspected with grep, diff, sed -n, or handed to a sub-agent that returns only the verdict; anything printed into this run's own context stays ≤ a few KB. Verify doc/config claims with curl -s <url> | grep <flag> — a full-file webfetch is a context sink. No local environment (e.g. no redis-server) → mark the claims not executed and move on. The curriculum.ts/tiers.ts schemas live in scripts/wire-lesson.mjs; read neither file.
The chat model (relay round) authors the human payload appended to the essay: practicePrompt, checkPrompt, and the theory object (problem/model/mechanics/pitfalls/whenNot). wire-lesson derives everything else mechanically: id from the filename slug, title from the H1, summary from the first paragraph, tier: 1, complexity: 4, references: [], card id <id>-full, area title/description from title/summary. The orchestrator authors nothing. A non-representative first paragraph (e.g. a spoiler warning) is fixed at wire time with --summary — a one-off rescue flag, not a relay-contract item. A legacy full-meta lesson (all fields in the comment) wires unchanged — explicit meta wins over derivation.
git pull --ff-only origin main (network ops via /usr/bin/git). Read agent2/RELAY-*lesson-log.md for pipeline decisions; create a per-topic log beside them if the topic continues across sessions. Done when: tree matches origin.docs/agents/lesson-pipeline.md and hand it over for the owner to paste into the chat model. Done when: the owner returns the reply.portfolio/projects/practice-map/lessons/NNN-<topic>.md (NNN = highest + 1, never overwrite). The reply carries the payload blocks (<!-- lesson-meta: {"practicePrompt":…,"checkPrompt":…} --> and <!-- lesson-theory: {…} -->); move them to the top of the file mechanically and keep the essay untouched. Light edits only where diagnostics point: fix the # title, repair markdown damage flagged by the converter (unbalanced **, ### remnants), correct claims verified against primary sources. Do not author summary/prompts/theory. Done when: the file parses as comments + essay and wire's pre-flight accepts it; every changed fact is recorded in the topic log.node scripts/convert-lesson.mjs --selftest, then emit TS to /tmp/<topic>-sections.ts and read only the report tail. Done when: tail section/block counts match the source and there are no unbalanced fences; --titles sidecar only when fences exist.node scripts/wire-lesson.mjs --lesson <md> --sections /tmp/<topic>-sections.ts --tier <tier> — add --front for an English lesson (EN-first rule: EN areas lead the tier's list; Russian lessons append by default). Optional overrides: --topic-id, --area-title, --area-description, --summary, --complexity, --references. Use --dry to preview. Done when: it prints wired: … and the next-step commands; a re-run rejects the already-wired state.portfolio/: npm run typecheck && npm run build, then node projects/practice-map/tests/practice-map.check.mjs. The no-Chrome skip is an expected pass. Done when: all green or each failure fixed/reported.iteration, summary ≤ 200 chars, details in --meta), update the topic log, and give the owner a Russian delivery note (lesson path, area, checks run, leftovers). Stage only own paths — agent2/ is never staged; the closing commit+push of accepted work is pre-approved by the repo's git rules.Work in Russian for everything the owner reads; keep the operating language of this file.
What SKILL.md sets; muted values are Claude Code's defaults
Generated from the plugin's indexed repository (vasyapym/vasyapym.github.io) — no native marketplace selected
npx claudepluginhub p/vasyapym-mattpocock-skills50 skills in this plugin
/ask-mattAsk which skill or flow fits your situation. A router over the skills in this repo./brainstormInspect the full diff and surrounding architecture, then propose high-leverage improvements without editing files./bug-iterationFix a reported bug — especially one that has returned after a previous fix — by reproducing it, diagnosing the root cause rather than the symptom, gating every change behind a regression test, stating exactly what was and wasn't verified, and closing with a compact pass report./claude-handoffHand the current conversation off to a fresh background agent that picks up the work immediately./codebase-designShared vocabulary for designing deep modules. Use when the user wants to design or improve a module's interface, find deepening opportunities, decide where a seam goes, make code more testable or AI-navigable, or when another skill needs the deep-module vocabulary./code-iterationImplement and refine code through small, evidence-backed verification passes.Other plugins' skills for the same job