/t-stack:tstack-swarmfrom t-stack
Use when one task splits into many independent pieces that can run at once: reading or checking every file in a set, verifying several commits, measuring several options, hunting a bug from several angles, or racing workers on the same brief. Frame the done condition and the shape (slices, a race, or both), give each worker a brief that stands alone, collect PASS, ISSUES or BLOCKED with evidence, and report one table on the card plus one line in the room. Skip for competing designs to pick from (use tstack-arena), and for splitting a card's build among teammates (use tstack-lead-card).
Ships in t-stack. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Some work is wide rather than deep: thirty files to check, five commits to verify, four ways a bug might happen. Workers can cover the slices at once while you keep your own context for the result. They may cover separate slices, race on the same brief, or both. You wait, gather, and return one report.
Frame it. Write the done condition and what the swarm returns (a table, a verdict, a ranked list).
Pick the shape.
Set the number of workers from the task or the person. Use a different model per arm only when the race is about models.
Write each brief so it stands alone: the goal, the exact slice or arm, the way to check the result, and the shape of the reply. When workers check commits, the brief names the exact SHAs. When they measure, it names the method (runs, what one run is, the order). Workers that write get their own output folder or worktree. Template: references/worker-brief.md.
Launch them all at once, as background subagents or teammates. If one drops out, carry on and note it.
Gather. Read each result. Drop one that doesn't record the SHAs and method its brief named, and give that worker one more try. If it misses again, write the slice down as a gap, which never counts as a pass. Apply the race rule you declared.
Report. Put the table on the card by the round-trip (sfora-board), and one line in the mission room (sfora-chat):
sfora chat <room> -m "<one line: the verdict and the card number>" --bot claude-code
PASS, ISSUES or BLOCKED and attaches its evidence. Finding one provable defect doesn't end the job: the worker reports all of the ones it can prove.tstack-benchmark-checklist. Each worker's number needs its run count and range.One table (slice or arm, verdict, evidence), one line per proven issue, the gaps and dropouts, and the race rule if you used one. On the card, plus the room line.
Detail: references/worker-brief.md.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub wavyrai/sfora-skills --plugin t-stack28 skills in this plugin
/tstack-architectUse when a change is big enough that writing code first would fix the wrong shape: a new module, a new data model, a change to who owns some state, or a card whose design the owner must see. Sketch the caller's usage, the types and the signatures first, compare at least two shapes, put the chosen sketch on the card or a doc, then build against it and scrap it when it keeps fighting you. Skip for a one-file fix with an obvious shape (just build it, with tstack-tdd), and for comparing finished candidates (use tstack-arena)./tstack-arenaUse when one attempt at a non-trivial piece of work would fix the wrong shape: a contested design, an API, a tricky algorithm, a page of copy. Run two to four independent candidates on the same brief, have a separate judge score them against a written rubric, pick one as the base, graft the best parts of the others into it by hand, and verify the result. Covers the brief, the rubric, the judge and the synthesis note on the card. Skip for work with one obvious answer, and for splitting work into slices (use tstack-swarm)./tstack-benchmark-checklistUse before you report or act on a performance number you measured: a speedup or regression in a PR, a CI step's time, a job's duration, a choice between two libraries or settings. Seven questions to answer with evidence from runs: what limits it, was each side tuned, does it break physical limits, did it error, does it repeat, does it matter end to end, and did the work happen at all. Covers how to state the number on a card. Skip for numbers you didn't measure, and for finding the slow code in the first place (use tstack-how, then measure).