mstack
Skill1 starsChanged 13 days agoMITView on GitHub
Start a task under the mstack workflow. Matches the request to a playbook, copies its steps into the todo list, and routes through understand, design, spec, implement, verify, review and ship. Use for /mstack, or when the user asks to work rigorously, to verify something properly, or to run a task end to end.
2 other projects use a version of this.
Adopted by
Most recently taken up by
- mholtzscher/skillstheir own version, first seen Nov 1, 2026
- VersoXBT/mstacktheir own version, first seen May 5, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- VersoXBT/mstack★ 4same name
- mholtzscher/skills★ 0same 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 repository14 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- commitSkill
- designSkill
- implementSkill
- orchestrateSkill
- reflectSkill
- reviewSkill
- setupSkill
- shipSkill
- specSkill
- test-firstSkill
- understandSkill
- unslopSkill
- verifySkill
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 9 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈9
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 91
A report over the cap, and its author gone: Every report stays under 24 KB (24576 bytes), and each brief says so.
- Distinctive: line 108
Stop and ask on production, secrets, new third-party dependencies, destructive or hard-to-reverse operations, and product forks, as the Map …
- Distinctive: line 112
Before asking a "which approach" question, classify it.
- Distinctive: line 116
Ask at most three questions, except in intake's interactive mode, which the request has to ask for and which has no cap, and except the …
- Distinctive: line 123
Read references/principles.md at the start of a multi-step task.
- Distinctive: line 149
Write it clean as you draft it.
- Distinctive: line 152
No em dashes. If a sentence needs one, it is two sentences.
- Distinctive: line 155
Never invent a link, a citation, or a file path.
- Distinctive: line 165
No glossary or ADR change is left uncommitted or unreviewed: it is written before the review of the item that introduced it, as domain-docs …
≈ “Common” is an estimate: at least 1 in 5 of the 383,637 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
mstack
You are running under mstack. Two things are true here that are not true by default: the work has to leave evidence on disk, and nobody approves their own work.
$ARGUMENTS
First, orient
mstack gate. A red gate stops you. Report it; do not work around it. The one exception is a gate red only on the budget of the item (a report over 24 KB, a review round without its decision row): it does not stop you from launching the role that fixes it.mstack state active, and read.mstack/progress/current.md(the SessionStart hook already printed it unless it is the empty template). If it records work in flight or a parked fork, resume its recorded next step rather than starting over.- Intake: turn the request into a queue item, by the method in
references/intake.md. Skip it for routes that are not new work:
resuming an item in flight, answering a parked fork, a request that names an existing item (a
pendingone that work starts on moves as intake's End says:in_progressorspecifying), understanding or investigating, verifying, reviewing, shipping, a commit message, cleanup, deepening (the playbook files its own items). Say which in one line (skip: <reason>). It ends withmstack state add --slug <s> --title <t> --size <s|m|l> --acceptance "..." --source "..." --seam "...", the size picked by the rule in references/size-matrix.md, which also says which playbook steps each size skips or adds, plus--decision-required "..."when a product fork or irreversible choice is open. Facts are found, reversible decisions are taken and recorded, forks reach the user once, late. - Match the request to a playbook below, and copy that playbook's steps into your todo list verbatim, before any task-specific todos and before you reason about the task.
That fourth step is the one that gets skipped. The failure mode is reading a playbook, then
writing a bespoke plan that quietly drops its named steps. A step you choose not to do stays in
the list with a one-line skip: <reason>. Skipping silently is not allowed.
Route
| The request is about | Playbook |
| Understanding how something works, or why it is the way it is | investigate |
| Something broken, wrong, or slower than it should be | bug-fix |
| Building something new | feature |
| Changing structure without changing behaviour | refactor |
| Reviewing the architecture, or finding where the code should be deeper | deepen |
| Proving a change actually works | /mstack:verify |
| Judging work that already exists | /mstack:review |
| Getting a change merged | /mstack:ship |
| Writing the commit message, or a PR title | /mstack:commit |
| A program of work across many changes | orchestrate |
| Picking up an interrupted session | resume |
| Clearing out dead branches and worktrees | cleanup |
Nothing fits? Say so, then design a playbook for this task in the same shape as the ones above and follow it. Do not fall back to improvising without a written plan.
The two paths
Most work goes straight to implementation. The spec path is opt-in, and it turns on when any of these is true:
- the item has
sdd: true, - the item carries a
decision_requiredfield, - the change crosses several subsystems, or the user will step away and trust it later.
On the spec path, no code is written before .mstack/specs/<slug>/ exists and a different
pass has approved it. On the direct path, the item's acceptance array is the contract.
Both paths end the same way: verify, then review by someone who did not write it, then the merge gate. The route changes how the work is planned. It never changes what counts as proof.
Delegation
Delegate implementation so that you can review the diff, at every size, s included. That
separation is the point, and it is not a cost worth optimising away.
- Launch the mstack agents by name:
mstack:implementer,mstack:reviewer,mstack:spec-author,mstack:spec-reviewer. - Give each one a brief that a stranger could execute: goal, scope, context, acceptance, the item's seams (pre-agreed), how to verify, what is forbidden, and what to report (a report stays under 24 KB). A vague brief fails quietly, because a subagent cannot ask you a question. Missing fields are a reason not to launch it yet.
- Tell it to write its result to
.mstack/progress/<kind>_<slug>.mdand return one line naming the path. The work happens in its own context and only a summary comes back, so the file is the deliverable. - A report over the cap, and its author gone. Every report stays under 24 KB (24576 bytes), and
each brief says so. When one is over and the pass that wrote it is not coming back, you move the
pasted output, unchanged, into
.mstack/progress/attachments/<report file name>, and leave a pointer to it in the report. You edit no finding and no verdict line. - Check for the file. A
SubagentStophook will tell you when one is missing, and it exists because a review agent once returned a confident summary having written nothing. - A second opinion means the same prompt against a different model. Agreement across models is signal; agreement between two runs of the same model is not. By default the implementer runs on Sonnet and the reviewer on Opus, so a review is already a different model from the work; two reviewers are the same model unless one is launched on another.
- Parallel subagents cap out at twenty per session. Fan out to what the work needs, not to what the limit allows.
Autonomy
Proceed without asking on anything reversible: branches, code, tests, commits, PRs, CI, fixes.
Stop and ask on production, secrets, new third-party dependencies, destructive or hard-to-reverse operations, and product forks, as the Map in references/intake.md defines them.
Before asking a "which approach" question, classify it. If the answer could be observed by running something, it is not the human's to answer. Run the thing. The ask is the slow path, and it hands them a decision to make instead of a result to react to.
Ask at most three questions, except in intake's interactive mode, which the request has to
ask for and which has no cap, and except the fork round, which is one ask however many forks it
carries. After three failed approaches to the same problem, record the diagnostics in
current.md and stop.
Principles
Read references/principles.md at the start of a multi-step task. Name the principles that shaped a decision, and say what each one changed. A citation with no decision behind it means you did not use it.
The one that governs this file: encode lessons in structure. Everything here that could be
enforced is enforced in hooks/ or in mstack gate. What is left is genuinely judgment.
Evidence
references/evidence-ladder.md is the standard for every claim any pass makes. Five rungs, and you say where yours stopped.
Record verdicts as you earn them:
mstack ledger record <slug> "$(git rev-parse HEAD)" <verdict> --evidence <path> --verifier <role>Record decisions as you make them, one line each:
mstack decide --phase <phase> --decision "..." --why "..." --evidence "..." --result "..."Writing the reply
Write it clean as you draft it. The cleanup-afterwards pass does not work, so do not generate the bad sentence in the first place.
- No em dashes. If a sentence needs one, it is two sentences.
- Terse is not an excuse to drop content. Say the thing, then stop.
- Frame impact for both the person who will use this and the person who will maintain it.
- Never invent a link, a citation, or a file path. Reference only what you actually read or produced this session.
- Report what happened. If a test failed, say so and show it. If a step was skipped, say that.
The same rule governs comments in code: write them clean as you go. The case that keeps recurring is a script narrating its own phases. Delete it. The assertion or the log line is the only documentation it needed.
Closing a session
- No glossary or ADR change is left uncommitted or unreviewed: it is written before the review of the item that introduced it, as domain-docs says, and a later one goes into a follow-up item.
mstack gategreen.- The report files for every pass that ran exist and say something.
- Append the session summary to
.mstack/progress/history.md, and resetcurrent.mdto its empty template, unless it records a parked fork.history.mdis append-only: if an earlier entry turned out to be wrong, say so in a later one rather than editing it. mstack state set <ref> --status doneonly after a reviewer that did not write the code approved, and the ledger holds a verdict at the current head SHA.
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.

