agentleFS
owainlewisowainlewis/agent-skills/skills/teach/SKILL.md

teach

Skill44 starsChanged 3 months agoMITView on GitHub

Create tutorial content that helps the intended reader understand and use an AI or technical concept. Use for course lessons, technical articles, video scripts, workshops, standalone tutorials, educational newsletters, and course outlines. Explain how it works in plain language, show a worked example, and give the reader practice or a next step.

175 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use make-bot-ui, principle-attack-the-premise 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.
  • eryzerzSkill

    make-bot-ui

    Use when building a custom UI (page, dashboard, buttons) that should wake a Grok Bot over a webhook, when the user must provide a webhook sender key, or when exposing that UI on Tailscale.

    Also in 8 projects that use this

  • TheOnlyFusionCubeSkill

    principle-attack-the-premise

    Inventory who actually owns or exhibits the imbalance, then challenge the shared premise before writing another patch. Use when two or more fixes that share one premise have failed the same gate.

    Also in 10 projects that use this

  • TheOnlyFusionCubeSkill

    principle-test-behavior-not-implementation

    Call the system the way its consumer does and assert meaningful observable output; avoid mocks or assertions that only mirror internal calls. Use when when writing or evaluating tests.

    Also in 10 projects that use this

  • finograficSkill

    figure-it-out

    Design an auditable playbook when no narrower one fits: a large migration, an ambitious multi-part change, or work a human reviews after stepping away. Scales rigor to the task, runs a hypothesis loop, and logs decisions via show-me-your-work. Use for /figure-it-out, 'figure it out', a large migration, or when no narrower playbook applies.

    Also in 20 projects that use this

  • shishivSkill

    setup-pstack

    Configure pstack delegation against the active Pi host. Use for /skill:setup-pstack, "configure pstack models", or checking delegation readiness.

    Also in 13 projects that use this

  • shishivSkill

    principle-never-block-on-the-human

    Apply when tempted to ask 'should I do X?' on reversible work. Proceed, present the result, let the human course-correct after the fact; reserve confirmation for irreversible actions.

    Also in 18 projects that use this

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 146 edited versions we read keep these.

  • 12

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Treat every output as a tutorial.

    line 10
  2. Distinctive:

    Write for an intelligent beginner unless the user defines another audience.

    line 12
  3. Distinctive:

    If the audience or outcome is missing and different choices would produce different tutorials, ask one question.

    line 22
  4. Distinctive:

    Do not print this structure as boilerplate headings.

    line 48
  5. Distinctive:

    Use common words without making the idea childish or vague.

    line 53
  6. Distinctive:

    Keep one main idea in each paragraph.

    line 54
  7. Distinctive:

    Prefer short sentences, but keep the detail that makes the idea click.

    line 55
  8. Distinctive:

    Do not add motivational filler, rhetorical quizzes, or a summary that repeats the tutorial.

    line 60
  9. Distinctive:

    Use a diagram or table only when it makes a relationship easier to understand.

    line 64
  10. Distinctive:

    Keep labels short. Explain the mechanism in the prose around the visual.

    line 68
  11. Distinctive:

    When the request covers several lessons:

    line 72
  12. Distinctive:

    Use later lessons to combine earlier skills instead of reteaching them with new jargon.

    line 78

“Common” is measured: kept by at least 6 in 10 of the 146 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

Teach

Turn a topic into a tutorial that explains how something works or teaches the reader how to do it.

Treat every output as a tutorial. Apply the same teaching rules to course lessons, technical articles, workshops, video scripts, and newsletters.

Write for an intelligent beginner unless the user defines another audience. Do not talk down to them. Explain assumed steps and unfamiliar terms.

Frame the tutorial

  1. Infer the learner, what they already know, and why they need this.
  2. Choose one thing they should understand, decide, build, or troubleshoot after the tutorial.
  3. Narrow a broad topic until it fits the requested format and length.
  4. Decide what the learner must know first. Teach or state that prerequisite before relying on it.
  5. Exclude interesting material that does not support the outcome.

If the audience or outcome is missing and different choices would produce different tutorials, ask one question. Otherwise use a sensible assumption and proceed.

Use a concrete title

Name the question, mechanism, decision, or result. Prefer a concrete noun and verb.

  • Weak: "Understanding AI agents"
  • Better: "How an AI agent decides which tool to call"
  • Weak: "A deep dive into RAG"
  • Better: "How RAG finds context before the model answers"
  • Weak: "The future of prompting"
  • Better: "When a prompt needs an example"

Reject titles that merely name a field or promise depth.

Build the lesson

  1. Open with a problem, decision, or result the learner can recognise.
  2. Give the smallest complete explanation of what the thing is and when it is useful.
  3. Explain the mechanism in the order it happens. Name the actor, action, input, output, and limit.
  4. Define each new term in plain English before depending on it. Use one name for the same thing throughout.
  5. Walk through one realistic example completely.
  6. State the general rule after the learner has seen it work.
  7. Close the most likely wrong conclusion, edge case, or limitation.
  8. Give the learner a useful next action. For applied lessons, include a small exercise and a way to check the result.

Do not print this structure as boilerplate headings. Choose headings that state what each section teaches.

Explain plainly

  • Explain how it works. Do not substitute a metaphor, label, slogan, or list of features.
  • Use common words without making the idea childish or vague.
  • Keep one main idea in each paragraph.
  • Prefer short sentences, but keep the detail that makes the idea click.
  • Show commands, code, prompts, outputs, or before-and-after examples when the learner needs to see the action.
  • State where an analogy stops matching the real system.
  • Mark invented examples as examples, not evidence.
  • State uncertainty. Do not present an uncertain claim as a fact.
  • Do not add motivational filler, rhetorical quizzes, or a summary that repeats the tutorial.

Use visuals to teach

Use a diagram or table only when it makes a relationship easier to understand.

For three or more components, build the picture in stages. Show the first relationship, redraw it with one addition, then add the next. A crowded all-at-once diagram is reference material, not teaching.

Keep labels short. Explain the mechanism in the prose around the visual.

Design a course

When the request covers several lessons:

  1. State what the learner should be able to do at the end.
  2. Work backwards to the knowledge and skills it requires.
  3. Order lessons by prerequisite, not by prestige or novelty.
  4. Give each lesson one result the learner can demonstrate, one worked example, and one application.
  5. Use later lessons to combine earlier skills instead of reteaching them with new jargon.
  6. End with a project or decision that shows what the learner can now do.

Match the format

  • Course lesson: state what the learner should be able to do, then include the explanation, worked example, practice, and completion check.
  • Technical article or newsletter: earn attention with a concrete problem, teach the mechanism, and end with a useful application.
  • Video script: write for speech, make transitions explicit, and pair each visual beat with the idea it reveals.
  • Workshop: alternate short explanations with guided action and visible checks.
  • Standalone tutorial: state prerequisites, provide exact steps, show expected results, and cover likely failure points.

Final check

  • Does the title promise a specific result or answer a real question?
  • Can the learner explain what this is, how it works, and when to use it?
  • Did every term appear after its plain explanation?
  • Did the example show how it works?
  • Can the learner take the next step without filling in hidden gaps?
  • Did any sentence sound knowledgeable without teaching anything?

Return the tutorial itself, not a report about how it was made.

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.