agentleFS
aryankeluskararyankeluskar/skills/explain/SKILL.md

explain

Skill1 starsChanged 5 months agoMITView on GitHub

Use when the user asks for a rich explanation of anything they are working on — a project, folder, system, concept, codebase area, or code change. Produces HTML output with quizzes and interactive micro-worlds. Prefer this over explain-diff when the scope is broader than a single diff/PR.

58 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use doc, rubber-duck 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.
  • JetBrainsSkill

    doc

    Use when the task involves reading, creating, or editing `.docx` documents, especially when formatting or layout fidelity matters; prefer `python-docx` plus the bundled `scripts/render_docx.py` for visual checks.

    Also in 5 projects that use this

  • ElliotJLTSkill

    rubber-duck

    When a user is stuck, frustrated, or describing a problem vaguely, do NOT immediately suggest solutions. First, force structured problem articulation through targeted questions: What did you expect? What happened instead? What have you tried? Only after the problem is clearly defined, propose solutions.

    Also in 3 projects that use this

  • clearsmogSkill

    translate

    Multi-format document translation. Supports Typst ↔ Quarto. For Beamer translations, configure at project level.

    Also in 3 projects that use this

  • genomewalkerSkill

    migrate

    Import soul data from SQLite or shared chitta files

    Also in 4 projects that use this

  • Google CloudSkill

    fix

    Plan a remediation strategy after a test failure.

    Also in 4 projects that use this

  • Hugging FaceSkill

    self-review

    Use before opening a PR, or whenever asked to self-review a diffusers contribution. Applies the same rubric as the `@claude` CI (checks the diff against references/review-rules.md, traces call paths for dead code). Reports findings grouped by severity, flagging what to fix before submitting (blocking issues + dead code) vs what to leave for the actual review. Report-only — does not edit files.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 3 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 52 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Do not be shy about using or consuming tokens.

    line 10
  2. Distinctive:

    Don't use ASCII diagrams. Always use simple HTML designs for your diagrams, HTML lists for lists of things, etc.

    line 27
  3. Very specific:

    Before saving the file, scan each code block in the HTML source and confirm its CSS includes white-space: pre or pre-wrap.

    line 30
  4. Distinctive:

    Use callouts for key concepts or definitions, important edge cases, etc.

    line 32

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

Explain

Please make me a rich, interactive explanation of the specified subject — a project, folder, system, concept, codebase area, diff, branch, PR, or whatever I point you at.

Do not be shy about using or consuming tokens. Thorough explanations amortize effort and token usage: a deep explainer that actually builds lasting understanding is worth far more than a thin summary that leaves cognitive debt. Explore broadly, write fully, and prefer depth over brevity.

It should have these sections:

  • Background: Explain the existing system relevant to this subject. (You should broadly explore surrounding code and context for this.) We don't know how much the reader already knows, so include a deep background for beginners (note that it can be skipped if the reader is already familiar), and then a more narrow background directly relevant to the subject.
  • Intuition: Explain the core intuition. The focus here is to explain the essence, not the full details. Use concrete examples with toy data. Use figures and diagrams liberally.
  • Code: Do a high-level literate walkthrough of the relevant code (or of the changes, if explaining a diff). Group/order things in an understandable way — prose before each file or unit, in the right teaching order, not just a raw dump of files.
  • Micro-world: Build a small interactive playground the reader can inhabit to get an intuitive feel for how the thing works — deeper and richer than a written document alone. This is inspired by Seymour Papert's "mathland": the point isn't shipping software, it's building a little world where understanding clicks by doing. Examples: a scrubbable timeline of internal state, a simplified simulation you can poke at, a step-through of a migration or algorithm with visible state. Use interactivity tastefully — not as decorative slop, but where fiddling provides understanding that's hard to get from static pictures. Embed it in the same HTML page (canvas, SVG, plain JS is fine).
  • Quiz: Come up with five questions that test the reader's knowledge of this subject. This should be medium difficulty, difficult enough that you actually need to understand the substance to answer them, but not gotchas. The goal is to help the reader make sure that they've actually understood — a speed regulator so we move at the speed of understanding, not just correctness. These should be presented as interactive multiple-choice questions, and when the user clicks, it tells them whether they were correct and gives feedback.

Format:

  • Output a single self-contained HTML file which includes CSS and JavaScript. Make the whole thing one long page with section headers and a table of contents. Don't use tabs for the top-level structure. Basic responsive styling so you can view it on a phone is nice too. Put the file in a global place on my computer outside of the code repo, and make sure the filename always starts with today's date in YYYY-MM-DD- format, because it helps keep the files time-sorted and out of version control. For example: /tmp/2026-01-12-explanation-<slug>.html
  • Please write with the clarity and flow of Martin Kleppmann, making it engaging and written in classic style. Transitions between sections should be smooth.
  • Some tips on diagrams. Ideally, you should pick a small number of diagram families that can be reused throughout the explanation to explain various cases. Some useful kinds of diagrams:
    • A very simplified version of the UI that the user sees in the app, to explain UI changes or surfaces.
    • A system diagram showing data flow or communication between components. Make sure to include example data here!
  • Don't use ASCII diagrams. Always use simple HTML designs for your diagrams, HTML lists for lists of things, etc.
    • For code blocks, always use <pre> tags. If you use a custom styled div instead, it must have white-space: pre-wrap in its CSS, or the browser will collapse all newlines into a single line. Before saving the file, scan each code block in the HTML source and confirm its CSS includes white-space: pre or pre-wrap.
  • Use callouts for key concepts or definitions, important edge cases, etc.

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.