agentleFS
adamos486adamos486/skills/walkthrough/SKILL.md

walkthrough

Skill10 starsChanged 7 months agoMITView on GitHub

Use when turning a repo, pull request, plan/design doc, architecture, article, blog post, book, lecture, or transcript into an interactive learning artifact — a self-contained offline walkthrough.html and/or a deployable learning hub. Triggers include "onboarding guide", "walk me through this PR/codebase/design", "interactive explainer", "teaching site", "publish docs to GitHub Pages".

30 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use chips, redo and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • udecodeSkill

    chips

    Run the project's suggested-task ledger, the chips. /chips alone brings this session's open tasks up to date: it applies what the ledger helper says, settles stale and split tasks, cards what can start and reports the board, and /chips all also takes the ship-list tasks and the ones no live session owns, and merges duplicate tasks across the board. Use for /chips, /chips offer, start or drop, \"what chips are open\", \"suggest a task for X\", \"update the chips\", \"clean up the chips\", \"which chips are stale\", \"is this chip still worth doing\", \"merge duplicate chips\", at the last hand-back of a run that offered a task, and whenever pstack would file a tracked issue, a follow-up, a reflect Backlog item or an out-of-band PR.

    Also in 3 projects that use this

  • Scylla23Skill

    redo

    Re-run the last routed task one model tier up (haiku → sonnet → opus → fable). User-invoked escalation when the previous result missed. Pass --dry-run to preview without running.

    Also in 3 projects that use this

  • Aetheria-Labs1Skill

    plan-page

    Plan one storefront page from strategy through final copy, section order, proof, offers, template direction, responsive layout, and production asset requirements. Stops at an approved execution-ready specification.

    Also in 3 projects that use this

  • SocialKit-APISkill

    video-transcripts

    Extract transcripts from social videos through SocialKit across YouTube, TikTok, Instagram, Facebook, X/Twitter, LinkedIn, and direct video file URLs. Use when the user asks to transcribe, get captions or subtitles, pull the spoken text, or read what a video says, including one video or many at once. Returns full text plus timestamped segments. Not for posting, private accounts, or unrelated website scraping.

    Also in 3 projects that use this

  • MicrosoftSkill

    cleanup

    Also in 3 projects that use this

  • BlockSkill

    test-audit

    Invoke whenever writing, changing, reviewing, or sweeping tests in buzz-app. Authoring gate for new tests plus audit workflow for low-value, implementation-coupled, or duplicative tests and the test-only production seams they demand.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 2 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 30 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Theme: every generated page (routes and hub) ships both a light and a dark palette baked in — default light, with a persisted toggle (no …

    line 26
  2. Distinctive:

    If the user is ambiguous or names only one source, default to asking rather than building the whole site.

    line 43
  3. Very specific:

    Gating quizzes: All checks are non-gating and retryable.

    line 121
  4. Very specific:

    Addressing anyone but the learner: No meta-commentary, no notes-to-the-author, no "an earlier version got this wrong." The learner is the …

    line 127

“Common” is measured: kept by at least 6 in 10 of the 30 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Walkthrough

Turn any source into a deployable learning site: self-contained, offline walkthrough.html "routes" organized by a React/Vite hub (the document center) that also renders plan.md / design.md. You author content for a target audience; a build script renders polished, consistent HTML; CI publishes to GitHub Pages.

Core principle: you author Markdown DSL, not HTML. The build script owns syntax highlighting, diagram rendering, the TOC, quizzes, and progress — so every route is consistent and offline-capable. Hand-writing HTML (or hand-drawing SVG, or hand-tokenizing code) is the anti-pattern this skill exists to prevent.

Audience principle (hard rule): everything that renders in the browser is for the learner and no one else — never the author, a reviewer, or an agent. Never render authoring meta-commentary ("an older draft said…", "myth correction", "verified against source", "don't teach the old version", "TODO"). State the correct thing plainly as settled fact; keep any correction-of-the-source in your reply to the user, not on the page. The build runs an audience linter that flags these; treat hits as defects. See references/pedagogy.md → The learner is the only reader.

Theme: every generated page (routes and hub) ships both a light and a dark palette baked in — default light, with a persisted toggle (no flash on load, no runtime fetch). Code highlighting uses Shiki dual themes (CSS-variable mode), so light/dark switch offline.

First decide: standalone file or hub site? (ask before building)

These are two different deliverables. Always confirm which one the user wants before authoring — do not assume the full site. Ask plainly, e.g. "Do you want a single standalone walkthrough.html you can open/email offline, or a full deployable learning hub site (multiple walkthroughs + plans, published to Pages)?"

  • Standalone route (one-off). A single shareable/offline walkthrough.html. Do steps 1–3 only — author DSL, run build-walkthrough.mjs --out <anywhere>.html, hand over the file. Skip the hub, config, and deploy. Fully self-contained.
  • Hub site (collection). A deployed document center organizing many walkthroughs + plans. Do all five steps and deploy the hub.

If the user is ambiguous or names only one source, default to asking rather than building the whole site.

When to use

  • Onboarding someone into a repo or set of repos
  • Walking through a PR/MR, a plan, or an architecture/design for review
  • Turning an article, blog post, book, lecture, or transcript into an interactive explainer
  • Any content that benefits from an interactive, taught, shareable rendering

When not to use: live Socratic tutoring with mastery gating → use the teach skill. A one-paragraph answer → just answer.

Architecture (hub over routes)

  • Routes = self-contained walkthrough.html files. Inline CSS, pre-rendered SVG diagrams, pre-highlighted code, tiny JS. Open by double-click, emailable, work offline.
  • Hub = a React/Vite app that indexes/links routes and renders plans. The front door.
  • Everything is vendored into the target repo's .walkthrough/ and committed; CI builds and publishes to Pages.

Pipeline

digraph wt {
  rankdir=TB; node [shape=box];
  analyze [label="1. ANALYZE\nIngest source via its recipe\n(repo / PR / plan / URL / transcript)"];
  author  [label="2. AUTHOR (for the audience)\nWrite Markdown DSL: sections, examples,\n:::reveal, :::quiz, :::callout, mermaid"];
  render  [label="3. RENDER\nbuild-walkthrough.mjs -> self-contained\ncontent/routes/<slug>.html"];
  manifest[label="4. REGISTER\nadd route/plan to walkthrough.config.json"];
  deploy  [label="5. DEPLOY\nbuild-hub.mjs locally to preview;\ncommit; CI publishes to Pages"];
  analyze -> author -> render -> manifest -> deploy;
}
  1. Decide the deliverable — confirm standalone file vs hub site (see above) plus the audience and goal. Don't build the hub unless the user wants the collection.
  2. Analyze — read the source using the matching recipe in references/source-recipes.md.
  3. Author — write a Markdown DSL source per references/dsl-syntax.md, structured with the non-gating pedagogy in references/pedagogy.md. Order prerequisites first; use :::reveal for try-then-show and :::quiz for non-gating self-checks.
  4. Render — node scripts/build-walkthrough.mjs <src>.md --out .walkthrough/content/routes/<slug>.html.
  5. Register — add the route (and any rendered plans) to walkthrough.config.json.
  6. Deploy — first time: bash scripts/setup-deploy.sh --repo <target> --base /repo/. To preview locally, build the hub with --base / (not /repo/) and serve it over HTTP without single-page mode (cd .walkthrough/dist && npx serve -l 3000 .) — see the preview footguns in references/deployment.md. Then tell the user to commit and enable Pages (Settings → Pages → Source = "GitHub Actions", or the first run fails at Configure Pages and the site keeps serving the repo README). Deploys fire only on pushes to the default branch. See references/deployment.md.

Setup note

The build scripts have npm dependencies. First use: npm install in scripts/. Installing the optional @mermaid-js/mermaid-cli enables light pre-rendered SVG diagrams; without it diagrams still render offline via an inlined runtime (larger files).

Quick reference

NeedDo
Author contentMarkdown DSL (references/dsl-syntax.md) — never raw HTML
Highlight codefenced ```lang — Shiki, automatic
Diagram```mermaid — pre-rendered SVG (or offline runtime)
Self-check (non-gating):::quiz with - ( ) / - (x) + > explanation
Try-then-reveal:::reveal <prompt>
Custom UI:::html (self-contained only)
Render a routenode scripts/build-walkthrough.mjs src.md --out …/routes/slug.html
Customize code themes--light-theme <name> --dark-theme <name> (Shiki themes; default github-light/night-owl)
Build hub for deploynode scripts/build-hub.mjs --root …/.walkthrough --base /repo/
Preview hub locallybuild with --base /, then cd …/.walkthrough/dist && npx serve -l 3000 . (no -s)
Scaffold a repobash scripts/setup-deploy.sh --repo <repo> --base /repo/

Common mistakes

  • Hand-writing HTML / SVG / highlighted code. The build script does this consistently and offline. Authoring raw HTML drifts in quality and breaks the offline guarantee. Use the DSL; reserve :::html for genuinely custom widgets.
  • Gating quizzes. All checks are non-gating and retryable. Never hide content behind a correct answer. (For gated mastery learning, that's the teach skill, not this one.)
  • CDN <script>/<link> tags. Anything fetched at runtime breaks offline/emailable.
  • Forgetting to register the route in walkthrough.config.json — the hub won't show it.
  • Summarizing instead of teaching. Produce a learning artifact (explain → example → check → synthesis), not a recap.
  • Addressing anyone but the learner. No meta-commentary, no notes-to-the-author, no "an earlier version got this wrong." The learner is the only reader; the audience linter flags the common tells. See references/pedagogy.md.

References

  • references/dsl-syntax.md — the authoring DSL (frontmatter, code, mermaid, containers)
  • references/source-recipes.md — per-source ingestion + shaping
  • references/pedagogy.md — non-gating, audience-aware, Bloom-informed authoring
  • references/deployment.md — .walkthrough/ layout, config, setup, CI, GitLab-later
  • The repo's teach skill — pedagogy evidence base (gated tutoring; complementary, not this)

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.