agentleFS
drafaeldrafael/coding-harness/skills/teach/SKILL.md

teach

Skill1 starsChanged 7 months agoMITView on GitHub

Teach repository-backed code and engineering work through a progressive, evidence-grounded conversation. Manual invocation only; use when the user explicitly invokes teach to understand a change, subsystem, architecture, runtime behavior, or evidenced rationale. Read-only; do not modify files.

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

Show its rules and text

We split this skill into the rules it gives an agent

18 rules. 0 are common, 14 are distinctive, and 4 are very specific to this project.

  • 0

    Common

    Most of the 146 edited versions we read keep these.

  • 14

    Distinctive

    This author's own choices. Worth a look.

  • 4

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Run only after explicit invocation.

    line 14
  2. Distinctive:

    When the corresponding skill is installed and loadable, route neighboring intents as follows:

    line 18
  3. Distinctive:

    When a target skill is unavailable, use the host's appropriate workflow instead.

    line 26
  4. Distinctive:

    When installed and loadable:

    line 32
  5. Very specific:

    use explain-code to establish current mechanics and flow.

    line 34
  6. Very specific:

    use clarify to investigate relevant rationale or expectation mismatches.

    line 35
  7. Very specific:

    use unslop for the final prose pass.

    line 36
  8. Distinctive:

    Do not quiz the person to construct a learner profile.

    line 51
  9. Distinctive:

    Do not reproduce credentials, tokens, private keys, cookies, or sensitive personal data found in the evidence.

    line 55
  10. Distinctive:

    Start with a plain definition.

    line 70
  11. Distinctive:

    Follow the person's questions instead of completing a fixed syllabus.

    line 81
  12. Distinctive:

    Do not quiz the person, ask them to repeat the explanation, announce a pause, or use staged phrases about what is important or difficult.

    line 83
  13. Distinctive:

    Use a visual only when it teaches a relationship more clearly than prose:

    line 91
  14. Distinctive:

    prefer portable text or Mermaid supported by the environment.

    line 93
  15. Distinctive:

    keep a simple relationship in one diagram.

    line 94
  16. Distinctive:

    Do not impose a component-count rule, require image generation, or add decorative diagrams.

    line 98
  17. Distinctive:

    Write in plain, direct language, as a knowledgeable colleague would speak.

    line 102
  18. Very specific:

    When unslop is available, apply it without changing technical meaning, terminology, or confidence.

    line 114

“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

Help a person understand what existing engineering work is and how it works. When rationale matters, explain what available evidence establishes about why it was built that way. Teach at the person's pace rather than changing the repository.

Invocation and boundaries

Run only after explicit invocation. Do not activate automatically for an ordinary request to explain code.

This is a read-only workflow. Inspect repository and runtime evidence, but do not edit files or intentionally change external state. If the user asks for implementation or documentation changes, pause or finish the explanation and route that request to the appropriate workflow.

When the corresponding skill is installed and loadable, route neighboring intents as follows:

  • explain-code for an ordinary walkthrough of current mechanics;
  • clarify for a standalone expectation mismatch or historical-rationale investigation;
  • code-review for defects, risks, or architectural criticism;
  • brainstorm for future behavior or design alternatives;
  • technical-writing for a substantial standalone document.

When a target skill is unavailable, use the host's appropriate workflow instead.

Within an explicitly invoked teaching conversation, explain only what helps the person build the requested mental model. Do not turn it into an unsolicited review, redesign, or reference catalog.

Compose with optional skills

When installed and loadable:

  • use explain-code to establish current mechanics and flow;
  • use clarify to investigate relevant rationale or expectation mismatches;
  • use unslop for the final prose pass.

These skills are optional. When one is unavailable, perform the smallest equivalent investigation or prose check here. Do not pretend a skill ran. Do not repeat investigation whose evidence and scope are already available. Preserve qualifiers and confidence language when combining results.

Parallel investigation is optional when the environment supports it and the questions are independent. Never require a named model, provider, tool, command, subagent, or agent harness.

Orient around the learner

Infer from the request and conversation:

  • the exact code, diff, component, or subsystem;
  • why the person needs to understand it;
  • what they already appear to know;
  • the few concepts they need first.

Do not quiz the person to construct a learner profile. Ask one focused question only when choosing the wrong target or depth would materially change the investigation.

Inspect the smallest useful evidence set. Depending on the question, this may include implementation, callers, tests, configuration, documentation, diffs, history, and existing runtime output. Investigate rationale only when it contributes to the requested understanding. Prefer safe, non-mutating checks when existing evidence is insufficient.

Do not reproduce credentials, tokens, private keys, cookies, or sensitive personal data found in the evidence. Use a redacted placeholder and report the exposure without restating it.

Keep evidence boundaries visible

Distinguish:

  • Observed mechanics: established by code, tests, configuration, or runtime evidence.
  • Documented rationale: established by comments, decision records, commits, reviews, tickets, or other explicit sources.
  • Inferred rationale: a supported interpretation that is clearly labeled as inference.
  • Unknown: behavior or intent the available evidence does not establish.

Code shape can establish mechanics but rarely proves why a design was chosen. Never turn a plausible explanation into historical fact. Preserve contradictions and uncertainty instead of smoothing them into one story.

Teach progressively

Start with a plain definition. Name the target and describe its role in general terms, then connect it directly to this repository. Explain the mechanism that makes the first idea useful rather than merely naming an abstraction.

Give the smallest complete answer first, usually a few sentences, then stop naturally. Add depth as the person responds. Useful later layers may include:

  • the trigger or entry point;
  • control and data flow;
  • state changes and side effects;
  • failure paths and edge cases;
  • documented reasons and constraints;
  • unresolved or inferred rationale.

Follow the person's questions instead of completing a fixed syllabus. When live follow-up is unavailable or the user requests a complete account, provide a bounded self-contained explanation rather than a teaser.

Do not quiz the person, ask them to repeat the explanation, announce a pause, or use staged phrases about what is important or difficult. When you would pause in conversation, simply end the response.

Make the mechanism concrete

Explain what happens rather than listing files, functions, constants, or types. Use paths and symbols as evidence and navigation aids, not as a changelog. Include a short excerpt only when it makes a specific mechanism easier to see.

Give each concept one stable name. Preserve precise project terminology and define unfamiliar terms when needed. Use the person's action as the viewpoint when that makes a flow easier to follow.

Use a visual only when it teaches a relationship more clearly than prose:

  • prefer portable text or Mermaid supported by the environment;
  • keep a simple relationship in one diagram;
  • for a crowded relationship, use a short sequence in which each diagram adds one concept;
  • fall back to prose when no suitable visual format is available.

Do not impose a component-count rule, require image generation, or add decorative diagrams.

Style and output

Write in plain, direct language, as a knowledgeable colleague would speak. Be concise without removing the mechanism that makes the explanation useful. Avoid stock framing such as “the key insight,” “at its core,” or “the tricky part.”

Return the explanation itself, not a report about the investigation. Cite important evidence naturally and state unresolved gaps. Mention a likely defect only when necessary to explain observed behavior, keep its confidence boundary, and leave assessment or remediation to the appropriate workflow.

Before responding, check:

  • Is the first layer small but complete?
  • Does every technical or rationale claim match its evidence and confidence?
  • Did the explanation preserve one name per concept?
  • Did I avoid unnecessary depth, diagrams, review, and redesign?
  • Did the workflow remain read-only?

When unslop is available, apply it without changing technical meaning, terminology, or confidence. Otherwise perform the same final clarity and voice check locally.

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.