Tech tutorial

From athola/claude-night-market · View interactive version

Tech tutorial is an AI agent skill from the GitHub repository athola/claude-night-market. Plans, drafts, and refines technical tutorials for developers. Use when writing step-by-step guides or getting-started walkthroughs backed by working code.

How to use this skill

Skill file

Tech Tutorial

A good technical tutorial has one goal: move a reader from not knowing

how to do something to being able to do it.

That requires working code, concrete steps, and honest acknowledgment

of where things go wrong.

This skill guides you through outlining, drafting, and verifying a

tutorial that meets that standard.

When To Use

When NOT To Use

Methodology

Step 1: Scope and Audience

Before writing a single line, answer these questions:

expert, or a one-line persona. A tutorial defaults to

newcomer; if it does not, say what it assumes instead

(the thesis, not the topic)

Write these answers down as a header block in the draft.

If you cannot answer the "what will they accomplish" question

in one sentence, the scope is too broad. If you cannot state

the thesis in one sentence, the tutorial is not ready to draft.

The audience size and read frequency feed the reader-time

budget (see scribe:slop-detector module document-economy.md).

A tutorial that 500 developers will read once is a 40-hour

reader-budget asset. Spend the writing time accordingly.

The tier decides what the draft may contain. When the request

names no reader, ask, do not guess: scribe:slop-detector

module audience-targeting.md carries the tier table and the

Socratic set.

A newcomer tutorial keeps the one path that works, end to

end. Alternatives, internals, and the reasons the obvious

approach fails are expert material. They go to

docs/<topic>.md, linked from the lead in one line

that names who the deep dive is for. Never delete them to hit

the tier. A tutorial that pauses to compare three approaches

has stopped moving the reader from cannot to can.

Step 2: Outline

Load: @modules/outline-structure.md

Produce a section-by-section outline before drafting prose.

Each section entry must include a one-line description of what

the reader does or learns in that section.

See the outline module for the standard section order and

length targets per section type.

Step 3: Draft Code Examples First

Load: @modules/code-examples.md

Write the code before the prose.

Each snippet must run against a real environment before it

appears in the tutorial.

Annotate only the non-obvious lines.

See the code examples module for formatting and error-handling rules.

Step 4: Draft Prose Around the Code

Prose exists to explain what the code does and why.

Follow these rules:

Step 5: Build Complexity Gradually

Load: @modules/progressive-complexity.md

Start with the minimal working example.

Introduce variations and edge cases only after the baseline works.

See the progressive complexity module for the layering rules

and pacing guidance.

Step 6: Slop Check

After drafting, run:

Skill(scribe:slop-detector)

Fix all tier-1 findings before proceeding.

Pay particular attention to:

Step 7: Quality Gate

Verify the completed tutorial against this checklist:

Content:

Sentence-level:

Document-level (document-economy module):

Audience (audience-targeting module):

Required Progress Items

  1. tech-tutorial:scope-defined - Audience, goal, and out-of-scope noted
  2. tech-tutorial:outline-approved - Section outline confirmed
  3. tech-tutorial:code-tested - All snippets verified against a real env
  4. tech-tutorial:prose-drafted - Walkthrough text written
  5. tech-tutorial:slop-scanned - Slop detector passed
  6. tech-tutorial:quality-verified - Quality gate checklist cleared
  7. tech-tutorial:user-approved - Final approval received

Module Reference

Integration with Other Skills

| Skill | When to Use |

|-------|-------------|

| scribe:slop-detector | After drafting, before approval |

| scribe:doc-generator | For companion API reference sections |

| scribe:style-learner | To match an existing tutorial voice |

Exit Criteria

left in the reader's path or deleted

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.