agentleFS
mhmtsrfglumhmtsrfglu/superwiki/skills/sw-explain/SKILL.md

sw-explain

Skill4 starsChanged 57 days agoMITView on GitHub

Use when the user asks what a Superwiki task is, why it exists, what it depends on, what it blocks or what changes once it is done, or invokes sw-explain or sw:explain with a task id.

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    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:

    Run commands from the project root.

    line 10
  2. Distinctive:

    Read more only when the answer needs it:

    line 18
  3. Distinctive:

    Leave out a heading that has nothing to say rather than writing "none" under each.

    line 30

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “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

sw-explain

Explains one task so that someone who has not followed the project understands it. Changes no file.

Run commands from the project root.

Steps

  1. node docs/.sw/sw.mjs explain <ID>. It prints the task's state, what it depends on, what it blocks, what becomes ready when it is done, its plan and the wiki pages it links, each with a one-line summary. No id given: ask which task, offering the ones from node docs/.sw/sw.mjs ready.

    The state is derived: ready is a todo task whose dependencies are done, blocked is a todo task still waiting on one, progress is in-progress. Say it in words, not as a label.

  2. Read docs/tasks/<ID>.md.
  3. Read more only when the answer needs it:
    • the plan's ## Approach section, if the user will want to know how it is to be done;
    • one linked page, if the task's "Goal" does not itself say why the task exists: a decision page if there is one, otherwise the page whose summary is closest to the goal;
    • nothing else. Summaries from step 1 stand in for the other pages.
  4. Answer in the user's language, in this order, one to a few sentences each:
    • What: the task in plain words, without restating its title.
    • Why: the reason it exists and the decision or source behind it, as [[page]]. If neither the task nor the page you read gives a reason, say the brain does not record one.
    • Depends on: each dependency with its state. A dependency listed under "depends on" must be done before the task can start; one under "soft depends on" lets it start but must be done before it can finish.
    • Blocks: the tasks waiting on it, and which of them become ready the moment it is done.
    • What changes when it is done: for the product or the user, from "Done when", and for the project, from what it unblocks.
    • Where it stands: state, dates, whether a plan exists, and the next step. Ready or in progress: sw-implement <ID> (or sw-plan <ID> first if there is no plan and the task is not small). Blocked: name the tasks to finish first; planning it meanwhile with sw-plan <ID> is allowed.

Leave out a heading that has nothing to say rather than writing "none" under each. If the task file is thin (no "Goal", no "Done when"), say that this is all the brain records; do not fill the gap with guesses from the code.

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.