跳到主要内容
知仓学习社ZHICANG

tech-tutorial

Plans, drafts, and refines technical tutorials for developers. Use when writing step-by-step guides or getting-started walkthroughs backed by workin…

不碰外部(只输出文字)无严重或高危命中athola/claude-night-market

它会碰到什么

扫了多少4 个文本文件,15 KB
它会碰到什么不碰外部(只输出文字)
命中总数0 处
命中统计严重 0 · 高 0 · 中 0 · 低 0

这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。

技能内容

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

  • Writing a getting-started guide for a library, CLI tool, or API
  • Creating a step-by-step walkthrough that readers follow at a terminal
  • Explaining a technical concept through a hands-on exercise
  • Producing a how-to that complements API reference documentation

When NOT To Use

  • Generating API reference docs (use scribe:doc-generator)
  • Cleaning up existing prose (use scribe:slop-detector)
  • Producing high-level architecture overviews without runnable steps
  • Writing conceptual essays without hands-on components

Methodology

Step 1: Scope and Audience

Before writing a single line, answer these questions:

  • Who is this for? (experience level, assumed prior knowledge)
  • How many readers? How often will each one read it?
  • What will they build or accomplish by the end?
  • What is the one sentence they must walk away with?

(the thesis, not the topic)

  • What is the single prerequisite the reader must have installed?
  • What is explicitly out of scope?

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.

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:

  • One paragraph per step: what to run, what it does, what to expect
  • State the expected output after each command block
  • Use second person ("you") consistently throughout
  • Do not narrate what the reader will do next. Just present the next step

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:

  • Tier-1 vocabulary slop (see scribe:slop-detector word lists)
  • Tricolon adjective clusters ("fast, efficient, and reliable")
  • Participial tail-loading (sentences ending with ", enabling ...")

Step 7: Quality Gate

Verify the completed tutorial against this checklist:

Content:

  • [ ] All code blocks tested and produce the stated output
  • [ ] Prerequisites section lists exact versions where relevant
  • [ ] Every step states the expected result
  • [ ] Troubleshooting section covers at least two common failure modes

Sentence-level:

  • [ ] No tier-1 slop words
  • [ ] Em dash count is under 2 per 1000 words
  • [ ] Bullet ratio is under 40%
  • [ ] Line length wraps at 80 characters

Document-level (document-economy module):

  • [ ] Thesis from Step 1 appears in the lead paragraph
  • [ ] Thesis echoed at the close (and ideally mid-tutorial)
  • [ ] No "in summary" section that re-lists what just happened
  • [ ] No section opens by restating its heading

Required TodoWrite 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

  • See modules/outline-structure.md for section order and length targets
  • See modules/code-examples.md for snippet formatting and annotation rules
  • See modules/progressive-complexity.md for pacing and layering guidance

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

  • Tutorial outline confirmed before drafting begins
  • All code snippets tested in a real environment
  • Slop score below 1.5 (clean)
  • Quality gate checklist passed
  • User approval received

想直接用这个技能?

本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。