/dstack-planning:state-machine-workflowfrom DStack Planning
Models work as a state machine with states, events, guards, outcomes, and illegal transitions. Use when work has distinct modes rather than a prose todo list.
Ships in DStack Planning. 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 not a todo list. The system sits in one mode at a time and moves between modes on events. When that is the shape of the problem, write it down as a state machine: every mode named, every move guarded, every forbidden shortcut called out, so the result can be encoded directly in types, a state-machine library, or a runtime enum.
This skill writes one specification file to the project and nothing else. It never touches remote systems. Rolling back is deleting that file.
You need a description of the domain, process, or system being modeled: who owns the states and where the boundary sits. Optionally, an existing list of states or transitions to refine, or an existing state-machine file to extend. If the domain is too vague to enumerate states from (no named entity, no boundary, no modes), stop and ask the user to supply them. Do not invent scope.
Work through these in order. Each step has a bar for moving on. Do not skip ahead past an unresolved step.
If only part of the machine is complete and approved, write only that part and mark the rest as open. Never present unfinished states or transitions as stubs or placeholders.
The specification file: all states with entry conditions, all transitions with source, destination, event, guard, and outcome, all terminal outcomes, and all illegal transitions with rationale. It should be sufficient to encode directly.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub gosuda/dstack-skills --plugin dstack-planning19 skills in this plugin
/automatic-freeform-graphs-designUse when a user wants a looser conceptual graph for exploratory work. Not for remote, credential, publish, deploy, or irreversible changes./bakeoffUse when choosing well needs developing competing solutions to a defined brief beyond their current form. Not for judging already-developed options, discovering open opportunities, or settling product goals./councilUse when the user asks for a council, second opinions, or parallel investigation. Not for cross-examination of existing proposals: use cross-critique./cross-critiqueUse when independent proposals on a contested decision need cross-critique before choosing, reusing the original authors. Not for parallel multi-stance investigation: use council./cross-lens-convergeUse when one reviewer is not enough because failure modes are heterogeneous, or a claim needs cross-lens pressure before it ships. Not for collapsing a decision field./decision-rationale-gapsUse when a current decision needs pressure-testing until the rationale is clear to a skeptic. Not for tasks requiring source or remote-system changes.Other plugins' skills for the same job