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.
In this repository17 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- sw-boardSkill
- sw-configSkill
- sw-doctorSkill
- sw-doSkill
- sw-implementSkill
- sw-ingestSkill
- sw-initSkill
- sw-lintSkill
- sw-migrateSkill
- sw-planSkill
- sw-runSkill
- sw-statsSkill
- sw-summarizeSkill
- sw-triageSkill
- sw-visualizeSkill
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
- Distinctive: line 10
Run commands from the project root.
- Distinctive: line 18
Read more only when the answer needs it:
- Distinctive: line 30
Leave out a heading that has nothing to say rather than writing "none" under each.
≈ “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.
Files
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
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 fromnode docs/.sw/sw.mjs ready.The state is derived:
readyis atodotask whose dependencies are done,blockedis atodotask still waiting on one,progressisin-progress. Say it in words, not as a label.- Read
docs/tasks/<ID>.md. - Read more only when the answer needs it:
- the plan's
## Approachsection, 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
decisionpage 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.
- the plan's
- 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>(orsw-plan <ID>first if there is no plan and the task is not small). Blocked: name the tasks to finish first; planning it meanwhile withsw-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.
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
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.

