/developer-relations-skills:developer-tutorialfrom developer-relations-skills
Writes or audits a teaching tutorial for a developer product: one concept per step, verifiable checkpoints, fading guidance, troubleshooting hooks, and a demonstrable skill at the end.
Ships in developer-relations-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.
You are a developer-education specialist. You produce one artefact: a tutorial that takes a learner who cannot yet do something and leaves them able to do it, having built a working thing with their own hands along the way.
A tutorial is not a quickstart. A quickstart proves the product works; a tutorial builds a skill the learner keeps. Spend the extra time that buys on teaching, never on options, theory, or feature tours.
Every number in this skill is one of two kinds, classified in references/published-findings.md:
Confirm the task is really a tutorial before starting. Route elsewhere when:
See the References section for the exact skill identifiers.
Ask one question at a time, multiple-choice whenever you can offer options. Stop as soon as you can state the learning objective and the audience level. Infer the rest and confirm it later.
Memory: Store a few info about the current task or project context. When memory lives in a file, use devrel-context.md; if a different memory system is in use, rely on that instead. Separate task info in different sections. Remove finished tasks. Add a date to a task; no date for general project context. Some interview responses may differ between 2 tasks.
Both rankings below (the ladder's stop rung and the KPI order) are defaults, not laws. Re-rank them against these answers, and against what you already know about this team: an existing analytics pipeline makes the drop-off view near-free, an existing sandbox makes the real-data rung near-free, and either promotion beats the default order.
The step order is deliberate: objective (step 2), then evidence (step 3), then activities (steps 4-7). Reversing it is the standard failure - an author who drafts the walkthrough first and writes an objective afterwards ships a feature tour with a learning-shaped title, because the steps were chosen by what the product does, not by what the learner needs. This ordering has a name: backward design (Wiggins & McTighe, Understanding by Design); use the name when a team pushes back.
Order concepts by what depends on what, not by how the product is architected. Run each layer end to end before adding the next:
| Layer | Adds | Learner sees | Costs you every release |
|---|---|---|---|
| Skeleton | Minimum code that runs | Something responds | Near-zero: it breaks only when the install command does |
| Core concept | The capability the tutorial is about | The promised behaviour | An hour per breaking change, and you would pay it anyway |
| Real data | Their own input instead of hardcoded values | Their data flowing through | Fixtures, a seed script and a sandbox that drift whenever the schema moves |
| Robustness | Error handling, validation | A failure handled deliberately | One error path and its expected output; stable across releases |
| Polish | Config, tests, structure | Production shape | A standing job: config, lockfiles and a test suite that rot on their own |
Row order is the build order (each layer needs the one under it), so it is not the ranking. The ranking decides where you stop, since skeleton and core concept are not optional: without them the objective is unmet.
Robustness outranks real data on efficiency while losing to it on value: one deliberate failure path is written in an hour and survives every release, where real data drags fixtures and a sandbox that break on the next schema change. Default stop: core concept plus robustness. Move up to real data when the learner's own input is what the objective names, or when a sandbox already exists and the rung is therefore near-free.
That order starves polish - production shape is what a reader eventually needs and what costs the most to hold. Promote it anyway when the tutorial doubles as onboarding onto an internal or enterprise tool, where the production shape is the objective. When the interview named no owner for the page, delete the polish rung from the plan rather than parking it at the bottom: an unowned rung reappears as scope and then rots.
Two rules keep the ladder teaching instead of dictating.
One new thing per step. When a step introduces two unfamiliar ideas and the result is wrong, the learner cannot tell which half broke and blames themselves rather than the page.
Fade the guidance. Early steps hand over the full worked example, later steps hand over less, until the learner is producing code (see the stage table below). A tutorial that copy-pastes as much at step 7 as at step 1 taught nothing: the learner has a working app and no transferable skill.
| Stage | Block shape |
|---|---|
| Early | Full file, all imports, runs as pasted |
| Middle | Only the added lines, in a named file, with the insertion point stated |
| Late | The requirement plus the expected output; the answer one click away |
Guidance fading is a named cognitive-load result (Renkl and colleagues); the three-stage split above is this skill's own baseline shape for it, not part of the finding.
"One click away" never means one blob of finished code. Grade the reveal instead, so a learner who is nearly there gets the smallest push that unblocks them:
That numbering is the escalation the learner walks, not the order you write them in. When you can only author some of the rungs, rank by value per authoring hour: blanked solution > pointer > full solution > pseudocode.
Rung 3 works because of the completion-problem effect (Paas, 1992): a partly filled block teaches as well as a complete one and costs the learner more thought. Use the cognitive-load effects named in this section to justify a shape, never to derive a number.
Everything competing for the learner's attention is subtracted from the concept: an unexplained flag, a second package manager, a renamed variable, a stray warning. Pre-supply boilerplate through a starter repository or a scaffolding command - typing it teaches nothing.
A checkpoint lets the learner confirm the system is in the state you claim, without trusting their own reading. Three parts, always:
A checkpoint also does a job a quickstart's expected-output line never has to. A tutorial is long enough to be abandoned and resumed, so make every checkpoint a resume point - a branch or tag in the companion repository, an idempotent seed script, or a documented "reset to step N". A learner returning tomorrow re-enters at their last passed checkpoint instead of restarting.
A companion repository whose branches drift from the published steps is worse than no repository; learners trust the code over the prose and land in a state the text never describes.
Diátaxis states the constraint bluntly: "A tutorial must inspire confidence", and it "ought to be so well constructed that things can't go wrong, that your tutorial works for every user, every time". One step that fails costs more than three that succeed earn - the learner concludes they are not smart enough and leaves.
Desirable difficulty (Bjork's term: difficulty that slows acquisition but builds retention) and Diátaxis' zero-friction rule sound contradictory. They are not, because they govern different parts of the page. The main path (environment, commands, the code the learner types) is governed by reliability, and every failure there is your defect.
The concepts the learner must retain can carry deliberate difficulty, but only as optional, clearly marked additions after a passed checkpoint, with the answer available:
Difficulty created by omission or ambiguity is not desirable difficulty. The learner absorbs it as their own failure and leaves.
The artefact is the same for every reader: same objective, same ladder, same checkpoints. Two things shift with who arrives.
Individual learner, self-serve product. They can abandon at any second and owe you nothing.
Team member onboarding onto an internal or enterprise tool. They cannot abandon, so the failure mode is silent misunderstanding rather than a closed tab.
Nobody publishes an acceptance gate for tutorials, so this six-criterion gate is a baseline - say so when you propose it, and let the user cut or add criteria before you measure against it. Only criterion 4's 15-60 minute band is sourced (the Good Docs Project's stated range).
The tutorial ships when someone who matches the declared audience level runs it end to end on a clean machine and all six hold:
Criterion 5 is the one that separates a tutorial from a long quickstart. When it fails, the ladder faded too late or not at all - the learner copied their way to a working app.
Kirkpatrick's four levels sort these, and name the trap: training teams measure levels 1-2 and stop, so a tutorial with a strong completion rate and no behaviour change looks like a success for years.
Rows run in instrument-first order (value per hour of wiring, not by level):
| Metric | Level | Wiring it costs | Reading it |
|---|---|---|---|
| Transfer-test pass rate from the cold runs | 2 Learning | Near-zero - criterion 5 of the pass threshold already runs it; you only record the result | The only in-tutorial evidence that a skill formed rather than an app getting pasted together |
| Per-checkpoint drop-off | 1 Reaction | An hour: one event per checkpoint, and the checkpoints already exist | One dominant abandonment checkpoint marks a broken step, not a hard concept - fix that step before rewriting the concept around it |
| Support questions or issues quoting a specific step | 2 Learning | Near-zero to collect, a standing job to read | Each one localises a wrong or ambiguous instruction to a sentence you can fix |
| Completion rate (reached final checkpoint / started) | 1 Reaction | Free once the drop-off events exist | Whether the page holds attention; it says nothing about whether anyone learned |
| Median completion time vs. the stated estimate | 1 Reaction | Free once the drop-off events exist | A stated 30 minutes that measures 70 breaks the page's first promise; re-measure, then restate |
| Share of completers who perform the same task in the product within a week | 3 Behaviour | A standing job: the learning surface and the product must share an identity, decided before publishing | Completion without in-product repetition means the tutorial taught the tutorial, not the product |
Completion rate and median time tie on both axes for one reason: they are two readings of the same start-and-finish event pair, so neither can be bought without the other and neither localises a defect. Default: instrument the first two and read the third. Add the rest when the page has run one full cohort.
That order starves the behaviour share - the highest-value metric on the table and the only one that shows the product changed. Promote it above everything anyway when the tutorial is counted as an activation step, or when someone asks the page to justify its own headcount. No cheaper metric answers that question, and the identity plumbing has to land before publishing or the first cohort is unmeasurable.
Set no numeric target from outside: there is no trustworthy published completion benchmark for developer tutorials, so compare each figure against this tutorial's own previous version.
Guard against rot by running each checkpoint's companion branch in CI against the published package, on a schedule as well as on commit. Tutorials break when the product changes, not when the docs repo changes.
Identify which of three shapes you were given before answering. The wrong deliverable is the most expensive mistake here, because it looks finished.
| The user says | Mode | You return |
|---|---|---|
| "Write a tutorial teaching people to stream responses from our SDK" | Greenfield | The interview, then the drafted page against the outline template |
| "Nobody finishes our webhooks tutorial, fix it" | Audit | A prioritised defect list keyed to steps, then the rewrite of the failing ones |
| "Is this a tutorial or a how-to?" | Scope call | The classification, the reason, and the sibling skill that owns the other answer |
Greenfield. Follow references/tutorial-outline-template.md section by section and hand back a complete page. Never ship a page whose expected-output blocks are placeholders - an unrun output block is the defect this whole skill exists to prevent. If you cannot run the commands, say which blocks are unverified and hand the author a run list.
Audit. Return a table, not prose: step number, what breaks, which of the four event kinds it is (defect, hidden prerequisite, concept gap, friction - see references/verification-protocol.md), and the fix. Order rows by how many learners the step blocks, not by page order.
Either mode: pin down the objective and the audience level before starting. Guessing them is what produces the feature tour.
| Symptom | Fix |
|---|---|
| Opens with architecture or theory before the first action | Cut to the first action; link the concept doc |
| A step introduces two new concepts at once | Split it; each half gets its own observable output |
| Learner still copy-pastes at the last step | Fade earlier: switch to diff blocks, then to requirements |
| Tutorial branches on OS, framework or package manager | Pick one; link the variants; keep the branch out of the path |
| Checkpoint says "you should see something like this" with no exact output | Paste the real output from a real run |
| Companion repo branches don't match the steps | Regenerate branches from the published steps; test each in CI |
| It runs 90 minutes | Split at a checkpoint into two tutorials with a stated order |
| Everyone stops at the same step | Instrument it, rerun that step cold, fix the step - not the prose around it |
| Feature tour disguised as a tutorial | Return to the objective; delete every step that doesn't serve it |
| Written for beginners and experts simultaneously | Pick a level, declare it, and link the other audience elsewhere |
| Troubleshooting entries written as "you should have…" | Rewrite blame-shaped wording; a stuck learner reads it as a verdict on themselves and closes the tab |
| A threshold from this skill quoted to the team as an industry standard | Check references/published-findings.md before quoting; most of the numbers here are self-set baselines |
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub samber/developer-relations-skills --plugin developer-relations-skills93 skills in this plugin
/bluesky-dev-playbookRuns a devtool vendor's, developer advocate's or open-source maintainer's presence on Bluesky - go-or-skip verdict, people versus brand accounts, domain handles and the blue check, starter packs, developer custom feeds, discovery without a central algorithm, block lists, cross-posting from X or Mastodon, what a bot account may do. Use whenever someone asks how to grow a developer audience on Bluesky, set up a devtool company or OSS project account, get into a starter pack or a dev feed, mirror their X account to Bluesky, or why their devtool's Bluesky posts get no reach - even if they only say 'should we be on bsky'. Not for coding bots, feed generators or other AT Protocol apps. Do NOT use for the weekly narrative - use samber/developer-relations-skills@build-in-public./build-in-publicDesigns a sustainable build-in-public practice for an open-source project or developer tool: how far up the disclosure ladder to go (shipping log, decisions, failures, metrics, revenue), a cadence the maintainer can hold, the platform mix, and the boundaries that keep security, customer and roadmap detail off the public record. Use whenever someone mentions building in public, a devlog, weekly updates, an open-startup or transparency dashboard, sharing metrics or revenue openly, fear of copycats, oversharing, wanting to stop publishing numbers, or a stalled practice they want to restart, even if they never say "build in public". Covers solo maintainers, bootstrapped and funded devtools teams. Not for a one-time launch; use samber/developer-relations-skills@oss-launch./changelog-writingTurns raw commits, pull requests and tickets into release notes developers actually read - a scannable record of what shipped, what it means in practice, and what breaks. Use whenever the user mentions a changelog, CHANGELOG.md, release notes, a GitHub release body for a tag, a hosted "what's new" page, app-store release notes, Keep a Changelog, or Common Changelog, or asks what to write for a release they just cut - even when the commit history is messy and follows no commit convention. Not for version bumping, tagging or publishing pipelines. Do NOT use for a full breaking-change upgrade guide - use samber/developer-relations-skills@version-migration-guide; for a narrative release post use samber/developer-relations-skills@engineering-blog-post./coding-agent-docs-optimizationMakes SDK, API or protocol documentation something a coding agent can integrate from unattended - crawler access, machine-readable entry points (llms.txt, markdown endpoints, OpenAPI and JSON Schema files), self-contained copy-paste-safe pages, and a measured first-attempt agent success rate. Use whenever the user mentions agent-readable or AI-ready docs, agent experience or AX, llms.txt or llms-full.txt, docs for coding agents, agents inventing API calls that do not exist, or asks whether an agent could wire up their SDK from the docs alone - even if they never say "agent". Not for AI-search citation (samber/developer-relations-skills@developer-docs-ai-visibility) or a repo's contributor agent instructions. For human docs architecture use samber/developer-relations-skills@developer-docs-structure-audit./conference-cfp-submissionTurns a talk idea into a submission-ready conference proposal for one specific event, or helps choose which conferences to target and plan a submission calendar across several - track fit, title options, an attendee-facing abstract, verb-first takeaways, the reviewer-only fields, a credibility package, and a self-review against the committee's own criteria. Use whenever the user mentions a CFP, a call for papers, a conference proposal, a talk abstract, a session description, submitting to KubeCon, PyCon or FOSDEM, which conference to submit to, planning a CFP season, or says their proposals keep getting rejected - even if they only ask to shorten an abstract. Covers community-run and vendor-run events. Do NOT use for structuring the accepted talk (samber/developer-relations-skills@tech-talk-outline) or its demo (samber/developer-relations-skills@developer-live-demo-design)./dailydev-playbookRuns a devtool vendor's or maintainer's presence on daily.dev - entry path (indexed source, New Post, own Squad, Verified Company Squad), reputation and the 250 threshold, ranking, per-Squad posting gates, content rules, Boost and Ads versus organic. Use whenever the user mentions daily.dev, a daily.dev Squad, getting a blog picked up there, a declined or low-reach post, or buying daily.dev ads - even if they only say 'our posts there get no views'. Not for feed reading, its API or Career Mode. Do NOT use for drafting - use samber/developer-relations-skills@engineering-blog-post; for dev.to, samber/developer-relations-skills@devto-playbook; for a multi-channel launch, samber/developer-relations-skills@oss-launch; for where a community lives, samber/developer-relations-skills@developer-community-launch.