/bodnar-skills:tutorialkitfrom bodnar-skills
Turn a documentation page or a docs URL into a hands-on, interactive TutorialKit tutorial, lesson, chapter, or workshop. Use this whenever the user wants to convert reference docs into a guided editor, terminal, and preview exercise, build or extend a TutorialKit course, scaffold an "AI Fluency / Agents and Skills" workshop, or runs the tutorialkit new-tutorial command. Triggers on phrasings like "make a tutorial from this page", "generate a lesson plan and tutorial", "build a TutorialKit workshop/chapter/lesson", "turn these docs into an interactive lab", even when the user does not say "TutorialKit" by name. ALWAYS produce a lesson plan and get approval BEFORE generating any files.
Ships in bodnar-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Convert a documentation source into a working, buildable TutorialKit tutorial:
fetch the page, research the surrounding docs, design a lesson plan, get it
approved, generate the content collection deterministically, then confirm it
passes astro check.
TutorialKit lessons run in a WebContainer: Node.js compiled to run inside the browser. That has one consequence you must design around:
The WebContainer cannot run AI agents. There is no
claudeCLI, no network calls to model APIs, and you must never embed API keys in a public workshop. So a workshop about agents and skills cannot have learners "invoke an agent and watch it work" as the hands-on step.
Instead, every hands-on lesson follows the author then validate loop:
SKILL.md, an agent
prompt, an MCP config, a skill folder structure.node validate.mjs) that
parses and lints what they wrote.The _solution/ folder holds the correct artifact (revealed by the Solve
button). The validator is the grading mechanism. This is the default model;
if the user explicitly wants a different kind of exercise (for example a plain
JS or web coding lesson), follow their direction, but otherwise build author
then validate lessons. See references/exercise-patterns.md for the concrete
patterns.
Work through these phases in order. Phase 3 is a hard stop: do not write tutorial files until the plan is approved.
Detect an existing TutorialKit project and write into it rather than scaffolding a new one:
src/content/tutorial/ and @tutorialkit/types in package.json.src/content/tutorial/.npx @tutorialkit/cli create first, or to be
pointed at the project root. Do not invent a project layout.Read the existing src/content/tutorial/ tree so new parts and chapters get the
next free numeric prefix and match the established style.
WebFetch the URL the user gave. If it does not end in .md, try the .md
variant first, since many doc sites serve a clean Markdown twin. Capture the
core concepts, the procedural steps, the API and config surface, and any
constraints or gotchas.Write a lesson plan to .agents/plans/tutorialkit-<slug>.plan.md and present a
summary in chat. Use this structure:
# Lesson Plan: <Workshop / Tutorial title>
Source: <url> . Target: <part path, e.g. src/content/tutorial/2-skills/>
## Learning objectives
- <objective 1>
## Prerequisites
List everything required to complete or run the tutorial, grouped by where it is
needed. Be specific with versions where they matter; omit a version rather than
guess one.
### To run the TutorialKit project (the courseware host)
- Node.js <version>, <npm|pnpm> as the package manager, the TutorialKit packages
(`@tutorialkit/*`).
### Inside the WebContainer (per lesson)
- Packages installed via a lesson's `prepareCommands`, each with the reason it is
needed; or "none" for zero-dependency author-then-validate lessons.
### Real environment (hand-off steps the WebContainer cannot run)
- Editor: <VS Code | Zed | Neovim | other>.
- JS runtime: <Node | Bun> <version>.
- Version manager and toolchains: <mise | asdf | nvm>, plus any language toolchains.
- CLIs and services: <agent CLI, git, others a hand-off step invokes>.
- Credentials: <API keys or auth a step needs>, never embedded in the workshop.
## Structure
### Part: <name>
#### Chapter: <name>
- Lesson: <name> - <one-line goal>
- Concept taught:
- Hands-on (author then validate): learner writes <artifact>, validator checks <X>
- _files starting state: _solution:
## Techniques covered
-
## References (canonical docs)
- [<title>](<url>)
## Resources (examples, tools, repos)
-
## Open questions for the author
-
Then stop and ask for approval or edits. Surface real choices: scope, depth, how many lessons, which doc sections to skip. Do not proceed past this gate on your own.
Once approved, turn the plan into a plan.json and generate the tree with the
scaffold script, then fill in the prose and the file gaps. This keeps structure
deterministic and separates it from the writing.
Read references/plan-and-scaffold.md for the plan.json shape, and
references/tutorialkit-schema.md for exact frontmatter and folder rules.
Write the approved plan as plan.json: parts, chapters, and lessons, with
each author-then-validate lesson marked validateExercise: true and given
its files (starting stub) and solution (completed artifact).
Generate the skeleton:
bun scripts/scaffold.ts plan.json --out src/content/tutorial
This writes the numbered folders, the meta.md files, and per-lesson
content.md, _files/, and _solution/. For lessons marked
validateExercise, it copies assets/validate.mjs into both _files/ and
_solution/ as validate.mjs and sets previews: false.
Fill in each lesson's narrative and complete the _files to _solution gap.
Keep the gap to one clear idea per lesson.
Derive every code annotation from a real diff between _files and
_solution. Never hand-count line numbers: generate both versions, diff them,
and translate the changed lines into Expressive Code markers (ins={...},
del={...}). Mismatched line refs are the most common way a tutorial builds
but teaches the wrong thing.
Use :::tip, :::info, :::warn, :::danger, :::success callouts for
guidance, and the file: and solution: shortcodes to inline code into prose.
For a single small lesson you can skip the generator and write the files by hand
from the templates in assets/templates/ (meta-part.md, meta-chapter.md,
meta-lesson.md). The layout must still match references/tutorialkit-schema.md.
Set mainCommand and prepareCommands once at the tutorial root so every lesson
inherits them; override on a lesson only when it genuinely needs different
commands.
A generated tutorial that does not build is wrong. Before declaring done:
bun run build (which is astro check && astro build), or at minimum
bunx astro check, in the project root.contentSchema from @tutorialkit/types; fix any
schema or type errors until the check is green.focus file exists in _files/, that
_solution/ mirrors _files/, and that the validator actually passes against
the _solution/ artifact: run node _solution/validate.mjs against the solved
file.Report what was created (the tree), the build result, and the plan file location.
| Level | Folder file | type: |
|---|---|---|
| Tutorial (root) | meta.md | tutorial |
| Part | <n>-name/meta.md | part |
| Chapter | <n>-name/meta.md | chapter |
| Lesson | <n>-name/content.md | lesson |
Full property tables, inheritance rules, code-annotation grammar, callouts, and
shortcodes live in references/tutorialkit-schema.md: read it before writing
frontmatter or code blocks.
Hands-on exercise patterns for Agents and Skills (author-then-validate recipes,
what to put in _files versus _solution, validator ideas) live in
references/exercise-patterns.md: read it before designing lessons.
The plan.json shape and the generator are documented in
references/plan-and-scaffold.md.
/tutorialkit new-tutorial <docs-url>
The colon form /tutorialkit:new-tutorial <docs-url> appears when this skill is
wrapped in a Claude Code plugin named tutorialkit. A leading new-tutorial is
the action keyword; the next token is the docs URL.
assets/templates/meta-chapter.md (opens in a new tab)assets/templates/meta-lesson.md (opens in a new tab)assets/templates/meta-part.md (opens in a new tab)assets/validate.mjs (opens in a new tab)references/exercise-patterns.md (opens in a new tab)references/plan-and-scaffold.md (opens in a new tab)references/tutorialkit-schema.md (opens in a new tab)scripts/scaffold.ts (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
28 skills in this plugin
/act-platform-engineeringToolkit for Daniel Bodnar's Animal Care Technologies (ACT) platform engineering, SRE, sysadmin, and DBA work. Use this skill whenever the user mentions ACT, vsurv_production, dbprimary, pimsserver, payment gateway reliability, Zach's Bodnar Tasks, Internal Needs (EC-142), Sysadmin/IAC (EC-120), Zoho Projects task or issue creation, PostgreSQL or ZFS assessment on ACT infrastructure, PVE nodes (10.0.50.1-3), the act-infra repo, WAL shipping, dbhotswap failover, PVE3 failing drives, PowerEdge 730, Pims Garden, Miller, Ben Jumper, the assessment cheatsheet or checklist, observability deployment (Grafana, Netdata), centralized log management, secrets management, or pimsserver branch consolidation. Trigger even when the user uses shorthand like "the assessment", "the checklist", "INT-XX", "SY1-XX", or references infrastructure work without explicit naming. Also use when drafting Zoho tasks/issues, running assessment commands on dbprimary, or generating documentation for ACT infrastructure./aitmpl-composeAuthor and compose `claude-code-templates` (aitmpl.com) workflows. Use whenever the user wants to bundle catalog components (agents, commands, MCPs, hooks, settings, skills) into a reusable `workflow.yaml` or `template.json`, merge multiple templates or workflows, expand Bodnar `pack` macros, validate a workflow against the live catalog, or scaffold `.claude/workflows/`. Trigger on "aitmpl", "claude-code-templates", "compose templates", "merge templates", "scaffold a workflow", "share my Claude Code setup", "author a workflow", "author a template", "make a pack", "new pack", "expand pack", "validate workflow.yaml", or any mention of `npx claude-code-templates@latest --workflow` or `--template`. Also use when the user lists components to assemble, or describes a project intent (such as a Cloudflare Worker scaffold with security hardening) that should resolve to a concrete component bundle. Output is upstream-native YAML in `.claude/workflows/`; never invent a parallel bundle format./arch-repackageReverse-engineer an existing Linux OS (running host, mounted rootfs, disk image, or container/OCI image) into a set of Arch Linux meta-packages plus regular packages, emitting spec-conformant PKGBUILD, .SRCINFO, .install, and payload files validated against pacman 7.1.0 and systemd v260. Use this skill whenever the user wants to repackage, re-derive, convert, decompose, or rebuild an existing operating system, appliance, or rootfs as Arch packages; extract PKGBUILDs from an installed system; turn a Debian/Ubuntu/Fedora/Alpine/ Arch image into pacman packages; split a filesystem into leaf packages and layered meta-packages; or generate an Arch package set that reproduces another distro. Trigger even when the user only says "turn this OS into packages", "make PKGBUILDs from my system", "repackage this image for Arch", "extract packages from a rootfs", or describes building a package hierarchy out of a Linux install./bb-deployerTranslate a Claude artifact (claude.ai prototype or React + Tailwind interactive artifact) into a production monorepo on Daniel's stack (Bun, TypeScript strict, Vue 3 or Astro, Hono, Cloudflare Workers) and deploy to BitBuilder Cloud. Use this skill whenever Daniel mentions deploying or shipping a Claude artifact, productionizing a prototype, handing off a design to Claude Code, taking a claude.ai build to Cloudflare, turning a prototype into a real project, "bb-deployer", "bb-deploy", "bb-handoff", "make this real", "ship this", "deploy this", or migrating React artifacts to his preferred stack. Walks eight phases (Analyze, Plan, Initialize, Config, Implement, Test, Deploy, Review) and prompts for the configuration it cannot infer. Trigger even on phrases like "let's productionize this", "wire this up to BitBuilder", or "let's get this on Cloudflare" referring to a prototype, and when Daniel uploads an artifact or shares a claude.ai link while talking about deploying it./bitbuilder-prospectorRun the BitBuilder Cloud unsolicited-redesign proposal pipeline end-to-end for a single local business. Use this skill whenever Daniel wants to crawl a business's existing website, build a one-page redesign, deploy it to a password-gated preview at a bitbuilder.cloud subdomain with a Durable Object lifecycle state machine, provision a Stripe Payment Link, and draft the cold outreach email. Trigger on mentions of "prospector", "redesign proposal", "nealins preview", "launch a preview", "bitbuilder outreach", or when Daniel mentions running the pipeline on a specific target URL./bodnar-designDaniel Bodnar's unified house design and frontend skill for high-fidelity, interactive, and visually distinctive web work on the Astro 6 + Vue 3 + Cloudflare Workers + Bun + oxlint stack. Use this whenever building, designing, prototyping, scaffolding, or styling any web UI such as landing pages, portfolios, dashboards, components, slide decks, marketing sites, resumes, or frontend artifacts. Also use it any time a design needs an aesthetic direction and no brand or design system is supplied, since the skill ships the terminal-first "bodnar.sh" system (four themes, JetBrains Mono primary, a system-software-literate component vocabulary, motion language, and a real print mode) as the default house style. Trigger on phrases like "build a site", "design a page", "make a prototype", "scaffold a frontend", "style this UI", "make me a landing page / dashboard / portfolio", "redesign this", or any hi-fi, interactive, or distinctive web work, even when the user never says the word "design".npx claudepluginhub danielbodnar/agent-plugins --plugin bodnar-skills