agentleFS
mohammaddaoudfarooqimohammaddaoudfarooqi/agent-engineering-skills/skills/eli5/SKILL.md

eli5

Skill0 starsChanged 4 days agoApache-2.0View on GitHub

Explains code, systems, errors, and engineering concepts to someone who does not know them yet, in plain chat text pitched to a named audience (default: a smart outsider). Leads with a one-sentence answer, uses at most one analogy and says where it breaks, then builds the real mechanism a few parts at a time, grounding code claims in file:line references. Every simplification must stay true when the reader learns more. Use when the user says "ELI5", "explain like I'm five", "explain simply", "dumb it down", "break this down", "explain this to my manager / a new hire / a non-engineer", or asks in plain terms what a file, module, repo, PR, diff, error, stack trace, or technical trade-off does. Do NOT use for non-engineering topics, for writing or rewriting documentation (use doc-authoring), for de-AI-ing prose (use text-humanizer), or when the user wants full technical depth with no simplification.

  • Deletes or force-pushes
  • Commits and pushes

78 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use close-spec, design-with-images 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.
  • dzhngSkill

    close-spec

    When a spec under specs/<feature>/ is done shipping (a write-spec build, or any planned task that produced a spec), archive it to specs/done/ and rewrite it from a build-plan into a durable rationale — the why, the principles, the invariants — pointing back to the real code for the how. Use when implementation has landed and the plan no longer matches what shipped, or the user says a feature/spec is finished. Pairs with [write-spec](../write-spec/SKILL.md) (the plan this closes) and [review](../review/SKILL.md) (run before closing).

    Also in 5 projects that use this

  • dzhngSkill

    design-with-images

    Explore UI and visual design with image generation, then iterate the real implementation against the user-selected concept. Use when brainstorming visual directions, offering mockup variants, or implementing an approved generated design; do not stop at the mockups or the first code approximation.

    Also in 5 projects that use this

  • LucasMatuszewskiSkill

    audit-agents

    Audit and maintain agent configuration files (.claude/agents, AGENTS.md, CLAUDE.md, agent-memory). Checks for duplicates, outdated info, naming conflicts, wrong technical facts, and files over 200 lines. Fixes all issues and commits.

    Also in 5 projects that use this

  • transitive-bullshitSkill

    compare-screenshots

    Compare screenshots against the intended design, distinguishing approved references from historical baselines. Use for iterative implementation matching, before/after visual review, objective image telemetry, or checking a lone capture for flat, empty, or badly framed content.

    Also in 6 projects that use this

  • rhnfzlSkill

    explore-unknowns

    Walk the user through mapping the unknowns of a task before, during, and after they build it, and hand them a four-quadrant map (settled ground, open decisions, taste, and landmines) they keep. Reach for this eagerly whenever a request is ambiguous or underspecified, the codebase or domain is unfamiliar, the user will "know it when they see it", a reference implementation must be understood before porting, a build-queue or architecture-changing task is about to start, a mid-build deviation needs capturing, or a finished change needs buy-in or verified understanding before merge. Trigger even when the skill is not named: "do a blindspot pass", "find my unknown unknowns", "interview me about this change", "brainstorm the approach for a task I am about to build", "help me scope this", "what am I missing here", "plan this before I build", "I know nothing about X in this codebase". When a territory profile is present it reads memory and the graph first and feeds the map into the build pipeline; without one it degrades to a plain general map. Not for trivial or mechanical tasks with clear acceptance criteria, single-fact lookups, pure debugging of a known symptom, or pure code review, those have their own tools. Do not use it to run the build itself; the map is the deliverable and implementation remains a separate task, whether it has not started or is already underway.

    Also in 5 projects that use this

  • GeiserXSkill

    docs-loop

    Use when the user asks to audit docs, check documentation for stale claims, or verify docs against the code.

    Also in 3 projects that use this

  • +6 more from dzhng

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 59 edited versions we read keep these.

  • 9

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    If the request names code *and* asks what a concept means ("what's a mutex, and why does worker.go use one"), run Code-path: the concept is …

    line 72
  2. Distinctive:

    If the request has two questions, answer both: one answer sentence per part, in the order asked, each with its own length budget.

    line 74
  3. Very specific:

    Safety first: If the user is about to run something destructive or irreversible (force push, DROP, rm -rf, terraform destroy, a migration), …

    line 108
  4. Distinctive:

    Code-path: read the code. Find the entry point a person touches (a route, CLI command, UI action, job trigger) and trace one path from …

    line 121
  5. Distinctive:

    Incident: read the error and the code it points to.

    line 130
  6. Distinctive:

    Write the answer in one sentence, about 15 words or fewer, before anything else.

    line 144
  7. Distinctive:

    One analogy, optional: Use it only when the audience lacks the background and one everyday thing matches the mechanism step for step.

    line 167
  8. Very specific:

    Add parts a few at a time.

    line 175
  9. Distinctive:

    Length: use the budget for the audience in references/audience-guide.md.

    line 184
  10. Distinctive:

    Check the draft before sending.

    line 196
  11. Distinctive:

    Safety carve-out: Never simplify away a security warning, a data-loss risk, or the order of irreversible steps (migrations, deletes, …

    line 222
  12. Distinctive:

    No headings for responses under about 150 words.

    line 266

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

ELI5

Make one engineering thing understandable to one reader, without saying anything false. The output is chat text: a short answer, then just enough of the real picture that the reader could explain it to someone else.

Two rules outrank everything else in this skill:

  1. Simplify the words, never the facts. A simple explanation may leave things out. It may not say something the reader will later have to unlearn. A plausible explanation of the wrong mechanism is worse than jargon.
  2. The reader is smart, just new here. "Like I'm five" means "assume no context", not "assume no intelligence". Never talk down.

Workflow Router

Classify what is being explained. The audience and depth are settings applied inside every flow, not separate flows.

What is being explained?
  |
  +-> An idea, protocol, pattern, term, or a tool command with no repo code
  |   attached ("what is a mutex", "how does OAuth work", "what does
  |   git push --force do")
  |     --> CONCEPT
  |     Phases: Classify -> Ground -> Distill -> Build -> Verify -> Check
  |
  +-> Specific code or config in a repo: a file, function, module, repo, PR,
  |   diff, workflow, or script ("explain this repo", "what does auth.py do")
  |     --> CODE-PATH
  |     Phases: Classify -> Ground (read the code) -> Distill -> Build -> Verify -> Check
  |
  +-> Something that went wrong: an error, stack trace, failing test, outage
  |   ("what does this error mean", "explain this incident to my manager")
  |     --> INCIDENT
  |     Phases: Classify -> Ground (reproduce or read) -> Distill -> Build -> Verify -> Check
  |
  +-> A choice between options
      ("Postgres or Mongo", "why queues instead of direct calls", "REST vs gRPC")
        --> TRADEOFF
        Phases: Classify -> Ground -> Distill -> Build -> Verify -> Check

Signal detection:

Signal in requestFlow
"what is", "how does X work", a term or acronym, no path givenConcept
a file path, function name, PR or diff, "this repo", "this code"Code-path
an error message, stack trace, "why did this fail", "what broke"Incident
"X vs Y", "why X instead of Y", "should we use", "pros and cons"Tradeoff

If the request names code and asks what a concept means ("what's a mutex, and why does worker.go use one"), run Code-path: the concept is one part of the path. If the request has two questions, answer both: one answer sentence per part, in the order asked, each with its own length budget.

Settings

Set both in Classify. Ask the user only when the answer would change and the request gives no hint.

Audience. Full guide, including length budgets: references/audience-guide.md.

AudienceKeepsDropsfile:line refs
Smart outsider (default)Real terms, defined on first use; mechanismInsider shorthandInline
Plain ("ELI5", "like I'm five", "dumb it down", no reader named)Everyday words, one analogy if it fitsEvery term that isn't essentialOne closing "Where in the code" line
Child (a real child is the reader: "for my 8-year-old")Story with things they can picture, short sentencesAll but one real termNone
Non-engineer (PM, designer, exec, family)What it does for people, cost, risk, decisionsImplementation detailOne closing line, if useful
New hire / engineer new to this codeReal names, files, the main path, where to start readingBasics of programmingInline
ManagerImpact, risk, options, what decision is neededMechanism beyond one sentenceNone

"ELI5" and "like I'm five" are idioms for "plain, no background assumed". They select Plain, not Child, unless the reader is actually a child.

Depth (default: level 1). Level 1 is the answer, analogy, and core mechanism. "Go deeper" moves one level down: the next layer of real terms, edge cases, the parts left out. Each level must make the previous one more precise, never wrong.

Phase 1: Classify

Pick the flow, the audience, and the depth. Do not announce them; the answer sentence always comes first. If the audience guess was a close call, mention it in the Check line instead ("Pitched for a non-engineer; say if you want the engineer version.").

Safety first. If the user is about to run something destructive or irreversible (force push, DROP, rm -rf, terraform destroy, a migration), the response opens with a one-line warning and the safer alternative, before the answer sentence. See the safety carve-out in Verify.

Phase 2: Ground

You cannot simplify what you have not understood. Understand it at one level deeper than you will explain it.

  • Concept / Tradeoff: identify the core mechanism and the one property that makes it interesting. If you are not confident about a detail, leave it out or say it is uncertain. Do not fill gaps with a guess that sounds right.
  • Code-path: read the code. Find the entry point a person touches (a route, CLI command, UI action, job trigger) and trace one path from input to output. For a single file, also read what calls it. For a whole repo, first list the 3 to 5 things a person does with it (one sentence for plain and non-engineer readers), then trace the main one. In a docs- or config-only repo, the entry point is the file a person or tool reads first (README, SKILL.md, a workflow's on: trigger). Helpers, config, types, and tests stay out unless they are the point. Record file:line for every part you will name; for pasted snippets, use the snippet's line numbers.
  • Incident: read the error and the code it points to. Reproduce if cheap. Find the root cause, not the line that threw. If there is no code to read (an error reported secondhand), say what you could not inspect and hedge the cause. If the reproduction passes, say so; do not claim it fails, and explain what conditions make it fail.

Label each claim you will use as verified (you read it in code, ran it, or it is settled textbook knowledge), inferred (you reasoned it), or analogy. Verified claims are stated flatly. Inferred claims get a hedge ("probably", "looks like"). Specific numbers, defaults, limits, and version-dependent behaviour count as inferred unless you checked them.

Phase 3: Distill

Write the answer in one sentence, about 15 words or fewer, before anything else. Pattern by flow:

FlowAnswer sentence patternExample
Concept"X is a way to ___ so that ___.""A mutex is a lock that lets only one thread touch something at a time."
Code-path"When you ___, this code ___.""When you hit send, this code queues the email and a worker delivers it."
Incident"It broke because ___; the fix is ___.""Logins failed because the token clock was in milliseconds; we divide by 1000 now."
Tradeoff"Pick X when ___, Y when ___." or, when one side usually wins, "Use X here because ___.""Pick a queue when the work can wait; call directly when the user is waiting."

The sentence may use one term the audience doesn't know if the next sentence defines it. If you cannot write this sentence, you have not finished Ground. Go back.

Phase 4: Build

The frame is always the same: answer first, then body, then why it matters, then Check. The body follows the shape for the flow in references/story-shapes.md; the shape decides the order of the body's parts (for example, Incident runs normal path, break, blast radius, fix). Within that frame:

  1. The answer from Distill, first, on its own line.
  2. One analogy, optional. Use it only when the audience lacks the background and one everyday thing matches the mechanism step for step. Map its parts to the real parts, then say in one line where it breaks. It can stand in for the shape's intuition step; don't also restate the mechanism it already carries. Never more than one; reusing the same analogy later is fine, and a passing three-word simile doesn't count. Rules and examples: references/analogy-guide.md.
  3. The real mechanism, in 3 to 7 parts, introduced in the order things happen. Add parts a few at a time; each new part connects to one already named. Use the real term for each part once, defined by what it does. Cite file:line as the audience table says; after the first full path, file.py:42 shorthand is fine.
  4. One concrete example with real values: from the code, the user's input, or clearly marked as hypothetical ("say 3 servers"). Never invent a measurement (a runtime, a percentage, a count) to sound concrete.
  5. Why it matters to this reader: one or two sentences in their terms (risk and cost for a manager, where to start reading for a new hire).

Length: use the budget for the audience in references/audience-guide.md. Code blocks, diagrams, paths, and safety warnings don't count toward it. A two-part question gets a budget per part. If prose runs past budget, you are explaining a second thing; cut it and offer it in Check.

Format: short paragraphs. A numbered list only for steps that happen in order. A small ASCII diagram (A -> B -> C) when the path has 3 or more hops. No tables for child, plain, or non-engineer audiences.

Phase 5: Verify

Check the draft before sending. Fix and re-check until each line passes.

  • The answer sentence comes first and is true.
  • Next-level test: every simplified statement would still hold if the reader went one level deeper. "Loses detail" passes. "Says something wrong" fails. Pay special attention to "all", "always", "the" (implying one), and to cause-and-effect claims.
  • No upgraded claims. Plain words must not be stronger than the facts: "reports" does not become "blocks", "can" does not become "will", "a default in the caller" does not become "the default". For every default, limit, or flag you mention, check where it is actually set.
  • The analogy, if any, maps part for part and its break point is stated.
  • Every term is defined on first use, or removed. Count them; for child, plain, and non-engineer audiences, aim for 0 to 2 undefined-and-unavoidable terms.
  • Every file:line you cite is one you read, placed as the audience table says.
  • Inferred claims are hedged; nothing unverified is stated flatly.
  • No condescending words: simply, just, obviously, clearly, easy, trivial, "as everyone knows". No filler openers ("Great question", "Let me explain"); see the filler and chatbot-artifact lists in text-humanizer's word lists.
  • None of the anti-patterns in references/anti-patterns.md.
  • Within the length budget for the audience.

Safety carve-out. Never simplify away a security warning, a data-loss risk, or the order of irreversible steps (migrations, deletes, teardown). State those plainly and exactly, for every audience, then return to the simple voice. When the user is about to act, give the safe steps in full (a short numbered list or code block); those steps and a one-line reason for each are exempt from the length budget.

Phase 6: Check

End with one short line, chosen by the first rule that applies:

  1. The user is about to act on something risky: the safe next step ("Run git fetch and compare first.").
  2. Manager or non-engineer who needs to decide: the decision or ask ("Your call: ship Friday with the fix, or hold for the test.").
  3. Learner (child, new hire) or the user asked to learn: a teach-back question only answerable if they understood ("So: if two threads both want the lock, what does the second one do?").
  4. Smart outsider: name the next layer as a statement, not a "want me to" question ("Next level: what happens when the lock holder crashes.").
  5. Otherwise (plain, family): omit the Check line. A quiz or an offer reads as filler to someone who only wanted to understand.

Deliverable

Plain chat text, in this order:

<safety warning + safer alternative>  (only if the user is about to act)

<answer sentence>

<analogy + where it breaks>          (optional)

<body in the flow's shape, 3-7 parts, file:line per audience>

<one concrete example>

<why it matters to this reader>

<Check line>

No headings for responses under about 150 words. No preamble, no summary of what you did, no list of files read.

Failure Recovery

Problem
  |
  +-> Cannot write the answer sentence
  |     +-> Grounding is incomplete. Read more code or narrow the subject to
  |         one path. Ask which part the user cares about if the repo is large.
  |
  +-> The honest answer needs a term the audience can't know
  |     +-> Keep the term. Define it by what it does in one clause.
  |
  +-> Every analogy you find breaks at the important part
  |     +-> Use no analogy. Explain the real mechanism with a concrete example.
  |
  +-> The subject is genuinely uncertain (undocumented, conflicting sources)
  |     +-> Say what is known, label what is inferred, and say what would
  |         settle it. Never present a guess as fact to keep it simple.
  |
  +-> User asks the same thing again
  |     +-> The first explanation didn't land. Change the angle (a different
  |         example, a diagram, fewer parts), not just the wording.
  |
  +-> The user wanted depth, not simplicity
        +-> Drop this skill's constraints and answer at full technical depth.

Reference Files

  • references/audience-guide.md: per-audience vocabulary, framing, length, and what each one cares about.
  • references/analogy-guide.md: when to use an analogy, mapping and break-point rules, good and bad pairs.
  • references/story-shapes.md: the four flow shapes (concept, code-path, incident, tradeoff) with templates.
  • references/anti-patterns.md: simplifications that look helpful and make the explanation worse.
  • references/examples.md: worked examples, one per flow, at two audience levels.

Sources

Methodology this skill packages: the Feynman technique (explain it plainly or you don't understand it), "lies-to-children" (Stewart and Cohen) constrained to simplifications that survive the next level, progressive disclosure, and bottom-line-up-front writing. Design draws on public ELI5 skills listed on skills.sh: anthropics/claude-plugins-community (plain picture-first framing), dreambigou/eli5 (audience calibration), coldteadotai/pr-lens (answer sentence first, one path, grow the picture), cloudflare/cloudflare-docs (accuracy rules, analogy break points, anti-patterns), nathanksou/eli5 (safety carve-out), and yizhiyanhua-ai/fireworks-open-eli5 (story shapes, evidence labels, teach-back). No text is copied from them.

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.