sw-do
Skill4 starsChanged 57 days agoMITView on GitHub
Use when the user wants to plan and implement a Superwiki task in one go, says "do this task" or asks to take a task from todo to done without choosing between planning and implementing, or invokes sw-do or sw:do, with or without a task id.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- anton-abyzov/specweavetheir own version, first seen Oct 26, 2025
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- anton-abyzov/specweave★ 164same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository17 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- sw-boardSkill
- sw-configSkill
- sw-doctorSkill
- sw-explainSkill
- 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
2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
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
- Very specific: line 18
No id: node docs/.sw/sw.mjs ready, and let the user choose.
- Distinctive: line 42
Small: follow sw-implement from its step 1.
≈ “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-do
Takes one task from todo to done with one command. It judges the task's size from the task file, picks one of three routes, and then follows sw-plan and/or sw-implement.
It is a thin orchestrator. Changing the task's status, the log entries, the review and sw-summarize as the gate before done all come from sw-plan and sw-implement: follow those skills as they are written, and do not repeat or shorten their steps here. The only thing sw-do itself writes is a note in the task's "Notes".
Needs the task module (docs/tasks/). If it is missing, say so and offer sw-init with --tasks. Run commands from the project root.
Steps
Pick the task.
- Id given:
node docs/.sw/sw.mjs check <ID>, then readdocs/tasks/<ID>.md. - No id:
node docs/.sw/sw.mjs ready, and let the user choose. - New work without a task file: sw-plan step 1 ("New work") creates it; then continue here.
checkmay settle the route before any classifying:checksaysDo status doneorcancelledstop and ask what the user wants status in-progress, or a plan withstatus: approvedsw-implement, nothing else a draft plan large route; sw-plan revises it open deps stop, as sw-implement's gate does. Do not plan around it unasked - Id given:
Classify from the task file alone: no code, no plan file. Take the first row that matches, from the top.
Class The task file shows Route large any of: more than six "Done when" items; more than one area; a question left open in "Notes"; review:set; a new format, interface or migration other work will depend onsw-plan, the user's approval, then sw-implement small all of: one area, three "Done when" items or fewer, nothing left open in its notes, the change confined to a few files sw-implement directly; no plan, no note medium everything else: one area, four to six "Done when" items or more than a few files, nothing open an "Approach" note in "Notes", then sw-implement Say the route in one line before acting:
Route: <class> (<the rubric conditions that decided it>).Do not wait for an answer. When the user has waived the plan's approval, the line says so:Route: <class>, plan approval waived by the user (<the rubric conditions that decided it>).Override. A route the user names wins over the rubric, whether in the invocation ("as small", "with a plan", "no plan") or at any later point. When the override lowers the class, record it in the task's "Notes" as
- Route: <class>, chosen by the user.Only a named route lowers the class. A waiver of approval ("without presenting the plan for approval", "no need to approve it") names no route: the class stays what the rubric decided.- Follow the route.
- Small: follow sw-implement from its step 1.
- Medium: write one bullet into the task's "Notes", starting
- Approach (sw-do, <date>):, three to five lines long: the order of the work, which "Done when" items belong together, the constraints the notes set, and how the result is checked. Its sources are the task file and the area guide, ifnode docs/.sw/sw.mjs explain <ID>names one. No planner, no code reading, no plan file, no log entry. Then follow sw-implement from its step 1; its gate acceptsplan: nonewith this note. - Large: follow sw-plan, which skips its own size test when called from here; it clarifies, dispatches the planner, gets the user's approval and records it. That approval is the one planned stop of sw-do. Plan approved: continue with sw-implement in the same run. Plan dropped: stop; the task stays
todo. - Large, approval waived by the user: the planner runs all the same; the waiver removes the stop, not the plan. Follow sw-plan steps 4 to 6 with these differences. Nothing is presented. Each question of the planner gets its assumed answer, unless the task file, a wiki page or a lesson says otherwise (
node docs/.sw/sw.mjs search), as under sw-run's standing answer, and the answers count as the user's: step 6 runs whole, so the plan isapproved, and "Notes" gets the answers once, as- <date>, answered under the user's waiver of approval: .... Theplanlog entry gets the body lineApproved under the user's waiver.ASplit:the planner proposes is still put to the user, as sw-plan step 5 says: the waiver covers the plan's approval, not the creation of tasks. Then continue with sw-implement in the same run. Its question about checks that need the environment is still asked.
Common mistakes
- Restating, shortening or skipping steps of sw-plan or sw-implement. They are followed whole, as written.
- Reading code or a plan file to classify. The rubric uses the task file only.
- Asking the user to confirm the route. Say it and go on; the user interrupts if they disagree.
- Skipping the planner, or lowering the route, because the user waived the plan's approval. A waiver removes the stop, not the plan; only a named route lowers the class.
- Treating the Approach note as a plan.
checkstill saysplan: none, and the note holds no steps or verification list. - Writing a long Approach note, or exploring the code to write it. Past five lines the task is large: use the large route.
- Implementing after a plan that was not approved, or going on after the user dropped it.
- Setting the task to
donehere. sw-implement does that, after sw-summarize has verified every item.
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.

