/manifest-dev:audit-state-machines [path or area] [--no-log]from manifest-dev
Audits a codebase for implicit and explicit state machines, models them formally, and reports bugs like bad states, forbidden transitions, or dead ends with fixes. Use for lifecycle or status logic bugs spanning multiple files.
Ships in manifest-dev. 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.
None: SKILL.md is the whole skill.
Audit a codebase for state-machine bugs. A state machine is a value whose changes follow a lifecycle — a status, or flags whose combinations act as states — and ../review-code/references/code-bugs.md → State machines says how to find one, rebuild it, check it and confirm what the check finds. figure-out runs the audit with its whole investigation discipline; this skill adds the brief below and the offer at the end.
Invoke the figure-out skill with the brief below, the arguments given, --autonomous and --no-docs. --no-docs keeps figure-out's project-document writes out of the audited project; forward --no-log when given. With no path or area, the scope is the whole repository. With no codebase in reach, say so and stop.
Brief:
Audit [the scope] for state machines, implicit and explicit, following
../review-code/references/code-bugs.md→ State machines. Every bug you find counts, whether or not anything changed recently: this is an audit, not a review of a change. Machines written as instructions count too, checked as that section says.
- List every machine in the scope searched: what it tracks, explicit or implicit, its states, and its writers by file and line. Say which parts of the scope you searched and which you did not, with why. On a large repository, record each machine in your log, when one is kept, as you finish it.
- Rank confirmed bugs by consequence. For each, give each site by file and line, the sequence that reaches the bad state, and the model that found it — its saved path, or its scratch path when no log is kept. For a bug in an implicit machine, the fix is to make the machine explicit: one owner of its transitions, and a test or a type that fails when anything else writes the state.
- After the bugs, ranked lower: each implicit machine with no bug but writers in several files, with the recommendation to make it explicit. A machine whose writers are all in one function gets no recommendation.
- For a machine whose model found nothing, say what the model covered; never call the machine correct.
- Write no file in the audited project. Models and scripts stay outside it.
When figure-out returns its read, give the person the read and offer to turn the confirmed bugs and the make-explicit recommendations into Tickets — self-contained work items in the project's tracker or files — recorded as debt, the issues found and not yet fixed. On their yes, invoke the ticket-up skill with those findings. With no person to answer, as when another workflow runs this skill, list the offer in the result and invoke ticket-up only where that caller's assignment authorizes writing Tickets.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub doodledood/manifest-dev --plugin manifest-dev21 skills in this plugin
/autoEnd-to-end autonomous execution: figure-out → define → do, chained without manual approval gates. Use when you want to define and execute without intervention during planning, when the user asks for autonomous or end-to-end work, or asks to go from idea to done without approval gates./check-prRead-only inspection of a single GitHub PR lifecycle — checks CI, review feedback (threads, review bodies, top-level comments), description sync, and mergeability, and returns PASS or FAIL with per-gate findings. The read-only lifecycle check that babysit-pr calls. Use when verifying a PR is ready to merge, polling lifecycle progress, or checking mergeability./Other plugins' skills for the same job