/maister:workflow-author new <name> | overlay <builtin> | check [<name> | --all] [--profile=NAME] [--overlay=PATH ...] | nodes <builtin> | preview <name> [--profile=NAME] [--overlay=PATH ...]from maister
Authors workflow definitions, overlays, and prose companions under `.maister/workflows/`. Scaffolds new workflows, overlays built-ins, validates definitions, lists attachable nodes, and previews resolved graphs as ASCII.
Ships in maister. 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.
A workflow of the project's own is a definition, .maister/workflows/<name>.yml, and a prose
companion, <name>.md, written in the grammar every built-in uses. An overlay,
<builtin>.overlay.yml, changes a built-in without copying it. This skill helps write both and
check them before a run: it scaffolds, it shows what a built-in lets an overlay touch, it adds
the checks the validator does not make, and it draws the graph readably. It is an editor's
assistant, not a runner.
The grammar is the authority. Every key, rule and recipe is in the workflow engine's
references/grammar.md § 1 to § 14 (two levels above this skill's base directory, then
skills/workflow-engine/references/grammar.md § ). Read the section a step needs, cite it to the
author by number, and never restate it here or in a file you write — a second copy drifts.
.maister/workflows/. Definitions, companions and overlays — nothing in
the plugin, nothing under .maister/tasks/, nothing elsewhere in the project. A skill or agent
a node should call is the author's to write in .claude/; say where it goes, do not create it./maister:run <name>; name it at the end, do not do it.Use the verbs exactly as /maister:run does — its § Calling the engine's verbs is the
contract: the script skills/workflow-engine/scripts/workflow.mjs under the plugin root, written
as its absolute path, one verb per call, from the project root; exit 0 success, 1 a rejection
whose reasons are in the JSON on stdout, 2 a runtime that did not start (quote stderr and stop).
This skill uses four, all read-only:
| Verb | Gives |
|---|---|
locate --name=<name> | Where the name resolves: from (eject, generated, overlay, builtin), the definition and overlays paths the next verbs take, ignored, inputs, dispatches, and html_companions — the block (§ 3.2) merged over the overlays and profile given, a node an overlay or the profile disables dropped, {} without one, and changes_code, the definition's declaration raised by the same overlays and profile (§ 12). Without --name: the project's own workflows |
validate --definition=… [--overlay=…] [--profile=…] | errors, warnings, resolved (each target, the tier that answered and the file), counts |
resolve (same flags) | The folded graph: nodes in frozen order, each with needs, when, on, with, outputs, and a gate's ask and options; the graph_hash |
diagram (same flags) | Mermaid text carrying each node's title. Read it for the titles; never print it — a terminal does not render Mermaid |
Overlays passed to a verb are always the ones locate found, then the author's --overlays, in
that order, with --profile when given — and locate --name itself takes the author's
--overlays and --profile too, so its html_companions and changes_code match the graph the
other verbs fold.
List what the project has: locate without a name for its workflows (name, title, broken or
chain), then every *.overlay.yml in .maister/workflows/ with the built-in it extends and
whether an eject beside it means it is ignored. Then show the five subcommands in one line each
and stop.
new <name>Refuse first, each with its reason and the way on:
.maister/workflows/ — offer check or preview on it;locate answers from: builtin) — a new file under that name is an eject;
route to overlay <name> and Overlay or eject below;bug-fixes, enhancements, new-features, refactoring,
mockups) — a run's folder is its workflow's name, and those folders are skipped by every run
reader.Interview, short, in this order — each answer shapes the next question. Ask by meaning:
the question and the option labels say what the author is deciding ("Should someone approve
after this step?", "What does someone give it when they start it?"), and the engine's term —
direct:, a gate, a guard, bool — appears only in an option's description, so an author who
has never read the definition format can still answer. The headings below are for you, not the
questions:
description:, which
is how /maister:work offers the workflow; the companion's opening paragraph expands it.string, bool, path), required or defaulted (§ 8.1). A run can
carry at most one tracker_key.direct: — the engine follows a section the author writes in the companion; the default
for a step described in words;skill: / agent: — something that already exists. Offer what resolves: the project's
.claude/skills and .claude/agents, the author's own, this plugin's, installed plugins
(§ 5.1). A name that resolves nowhere is allowed but warns — say so;workflow: — another workflow as a child run, only if that workflow is child-capable
(§ 13.1).display.gate_kinds. A gate none fits is left out. The kind only labels the gate for
a tool that shows or routes checkpoints; it changes nothing about how the gate is asked.bool — an input, a
value an earlier node records, or a value the answer to the gate before it sets (§ 6, § 7). A
stretch either of two gates can switch on joins their values with ||; a stretch that needs
two values at once joins them with &&, which binds tighter. There are no parentheses, so a
condition that needs them is turned into one recorded bool.bool, id or enum rather than string where they are handles.
Name each file for its subject (outputs/research-report.md, analysis/gap-analysis.md):
Claude Code refuses a subagent's Write of a file whose name starts with report, summary,
findings or analysis and ends in .md, and the check warns subagent-artifact-name on one.
Which of those documents should also get an HTML page for people to read? Offer each
declared markdown artifact by what it holds; the answer becomes the html_companions block
(§ 3.2), keyed by node id and listing artifact keys; the engine draws each such page from its
markdown. None is a fine answer — a definition without the block owes no page.direct: step:
the questions it may ask, each with the answer it takes when nobody can be asked; how many
attempts it may make before giving up (a budget, 1 to 10); what its closing summary must carry
for the next gate (a summary hint); an artifact it may rightly leave unwritten, and why; and,
for a step a gate follows, which continue option each value of one of its inputs should
recommend. "Nothing" is the common answer — such a step needs no prose at all.embedded input, the guarded closing node, a workflow-level outputs: block and
a default for every in-node question. Ask whether it behaves differently as a child — writes
elsewhere, skips a step, returns something else — and write an ## Embedded mode section only
where the workflow behaves differently as a child, saying how.changes_code: true (§ 3); no leaves the line out.Write the pair.
<name>.yml — name, version: 1, description, changes_code when the answer was yes,
inputs, nodes wired by needs in the
order given, gates after the phases chosen, guards, outputs, html_companions when any page was
chosen, display.titles for every node, display.gate_kinds for each gate given a kind.
Pass what a node needs from earlier ones through with: using ${…} references inside its
needs closure (§ 9); a value a skipped node may leave null is read from state by the prose,
not interpolated (§ 9).
Then a top-level brief: block (§ 3.3) carrying the step data the interview gave, only for the
steps that have any: budget,
absent (artifact key → reason) and recommends (with: key → value → continue option). It
sits outside the graph hash. The answer a question takes when nobody can be asked goes in its
Without question sets line, not here.<name>.md — an # H1 title; an opening paragraph saying what the workflow is for and when to
use it; then a section only for a direct: step that asks a question, keeps a budget or has a
summary hint, headed ## `<name>` with the name after direct: (§ 11). Every other direct:
step gets no section: it runs from the engine's node conventions alone, and the check resolves it
from: conventions. A section follows the template (§ 11): the bold run-in parts Does.,
Asks., Writes., Summary., Re-run., Budget., in that order, each only when the
step has something of its own to say there. Asks. carries one
**With question sets** (`<id>`): … line and one **Without question sets** (`<id>`): …
line per question id, each at the start of its line, the Without line stating the default — the
one place it is written; a question that asks the person what the task means is marked
(clarification, `<id>`), so the run settles it as a fact only with the question reader's
agreement; Budget. says what each further attempt does differently, the
number staying in brief:.
Each section is a short, honest stub the author will finish. It never restates a convention —
checking the declared artifacts, how a revised step runs again, what a summary for a gate holds.
A fix loop inside one node follows § 13.2. The engine checks the declared artifacts at each node
and at the close, and draws each declared document's page at every state write; the closing
node relays what it reports.Then run check on the new name and report. End with the next steps: finish each section
written, /maister:workflow-author preview <name>, then /maister:run <name> — before each step
the run prints the step's node-brief (its conventions, its brief: data and its section), which
is everything that step runs from.
overlay <builtin>Refuse a name that is not a built-in (locate answers anything but builtin or overlay),
and warn before writing when an eject or a generated chain of that name exists — the overlay would
be ignored (§ 1). An existing <builtin>.overlay.yml is read and extended, never replaced
without asking.
Show the surface first — run nodes for the built-in, so the author picks ids they can see.
Ask what should change, and route each wish to the one operation that does it (§ 12):
| The author wants | Write |
|---|---|
| A new phase between two existing ones, or a verifier that holds a gate | add the node with needs on the phase before and before: naming the phase or gate that must wait for it |
| A step's inputs changed | tune: {<id>: {with: {…}}} — merged key by key, null deletes a key; restate a map-valued key whole |
| A phase gone | disable — clean only when nodes says so; otherwise also tune each dependent's with to drop the key that referred to it, or eject when the reference is a guard |
| Variants of the same change | profiles, selected with --profile |
| Different titles or icons, or a gate's kind | display — gate_kinds for the kind (§ 3.1) |
| A step's budget, absences or recommendation changed | brief: — merged node by node and key by key over the built-in's, null removes a key (§ 3.3) |
| A companion added or dropped | html_companions: {<id>: [<key>…]}, [] drops a node's — merged node by node over the built-in's (§ 3.2) |
| A step added that changes the project's code, on a built-in that does not declare it | changes_code: true — an overlay may raise it and never lower it (§ 12); to say a built-in no longer changes code, eject |
| A different executor, gate wording or options, a guard, a reorder | an eject — see Overlay or eject |
An added node without before: is a side branch nothing waits for; propose the before: anchor
from nodes every time. Never disable a node and add it back under the same id — pick a new id.
Write <builtin>.overlay.yml (extends: builtin:<builtin>, version: 1, the operations,
display.titles for added nodes, a brief: entry for an added step with data) and
<builtin>.overlay.md whenever the overlay adds a direct: step: its # H1 and opening
paragraph, then a template section only for an added step that needs prose, as in new. An
added direct: step without a section runs from the conventions; one without the file does not
validate. Then run check on the built-in's name, which picks the overlay up, and report.
check [<name> | --all]maister:run with the Skill tool, as <name> --check plus
any --overlay and --profile the author gave, and relay its report as it prints it — the
error lines, their fix: hints, the warnings, what resolved, the inputs. That skill's hint
table is the only one; do not add hints to its findings, and leave out its line pointing back
here.locate and validate for the JSON, and resolve,
then add a section headed Authoring checks, each finding as <file> · <node> — <problem>
with a fix: line:
Executors — for each skill: and agent: entry in resolved whose from is project
or user, read the file at at:
name: differs from the name the target was found by (the skill's
directory or the agent's file name). The engine finds it by the file name while the host
registers it by name:, so the node calls something else, or nothing. Fix: make them
agree..github/ — Copilot CLI reads that layout and Claude Code does
not. Fix: move or copy it to .claude/, unless the workflow only ever runs under Copilot.validate reports yours as the
winner, but a built-in's prose calls the plugin's by its prefixed name, so a built-in or an
overlay of one may still run the plugin's. Fix: give yours a distinct name and attach it
with add — or accept the shadow knowingly for your own new workflows only.And for an entry whose from is installed with a bare target: the host registers an
installed plugin's skills and agents under that plugin's namespace, so the bare name may not
be callable. Fix: write skill:<plugin>:<name> (§ 5.1). A target in no tier is already a
warning in the report above; add nothing.
Pages — for each node in locate --name's html_companions (the same overlays and
profile), the engine draws each declared document's page from its markdown at every state
write, so a page written or edited by hand is drawn over at the next write. A direct:
node's section, or a project or user agent:, that writes or edits such a page has a step
nothing keeps. Fix: delete that step from the section or the agent's instructions.
A misnamed node or artifact key in the block is already a warning in the report above.
Prose sections — read each direct: step's section in the companion beside the file
that declares the step, and the brief: blocks of the definition, then each overlay, then
the profile, merged as § 3.3 says:
brief: has budget or recommends but no section — the step
would run from the conventions with data nothing explains. Fix: write its
section in the template (§ 11), or drop the data from brief:.## `x` heading outside a fence whose x is not the name some node finds its
section by: the name after direct: for a direct: node, the node id otherwise (a
disabled node still counts). The report above warns orphan-prose-section for it: a
renamed node or a mistyped target has silently fallen back to the conventions. Fix: rename
the heading to the node id, or delete the section.Code changes — the validator judges changes_code only as true or false. When
locate --name's changes_code is false, read the folded graph: a node that runs
skill:implementation-plan-executor, a workflow: child whose own locate says true, or a
section telling a step to edit the project's code means the workflow says less than it does.
Fix: add changes_code: true, in the overlay when the overlay brought that work in. A true
with nothing like that in the graph is the author's call; mention it and leave it.
Gate kinds — a kind outside the list, or for something that is not a gate, is already
an error in the report above. Add one finding per gate that locate --name's gate_kinds
(the same overlays and profile) leaves out: nothing breaks, and a tool that labels or routes
checkpoints by kind shows that gate as a plain checkpoint. Fix: add it under
display.gate_kinds with the closest kind (§ 3.1), or leave it when none fits.
Dangling leaves — the validator warns for these itself, for a definition's own node and for one an overlay adds; they are in the report above. Add nothing.
Gates asked whatever their guard reads — the validator warns skip-guard-not-pure for
a gate guarded by a value a non-gate node records that is more than a pure confirmation;
it is in the report above. Add nothing, but say what it means: the run asks that gate even
when its guard is false.
Overlay or eject — when an error is a refusal only an eject lifts (a key that may not be tuned, a disabled id added back, a guard or a target changed), say so and point to Overlay or eject.
preview <name>, or /maister:run <name> when clean.--all checks every workflow locate lists and every built-in with an overlay in
.maister/workflows/, one after another, and ends with one summary line each — name, errors,
warnings, authoring findings. This is the pass to run after a plugin upgrade: an overlay attaches
to a built-in's node ids, and an eject has stopped following the built-in.
nodes <builtin>The attachable surface of a built-in: what an overlay may name. Run resolve on the built-in as
shipped (locate's definition with no overlays); when the project already has an overlay of it,
say so and offer the folded view too. Read diagram for the node titles.
One row per node, in frozen order: id, title, gate or executor (uses), needs, the guard in
words, the on: when it is not success, declared values with their types, declared artifacts,
the artifacts it owes an HTML page for, and for a gate its kind. Take the last two from
locate --name=<builtin>'s html_companions and gate_kinds, never from the files by hand; it
folds the project's overlay when there is one, so say so beside the columns.
Then two lists:
${<id>.…} in another node's with, ask or dir, no when on its values — and the
workflow's outputs: block does not name it. Its dependents are rewired to what it waited for.
For every other node, name the nodes that refer to it and how: a with reference can be freed
with a tune that sets that key to null; a when reference cannot be tuned, so disabling that
node means an eject.before: anchors. A gate is the anchor for a verifier that must hold it: the gate waits, and
its brief shows the verifier's summary. The node that starts the next phase is the anchor for an
inserted phase. before: is refused on the added node itself, on a node the graph does not
carry, and on a node the added one already needs (§ 12).preview <name>Run locate, then validate — with errors, stop and point to check — then resolve and
diagram. Draw the graph in the terminal as ASCII:
A header: the workflow, where it came from in plain words (the project's own, an eject, an overlay over the built-in, the built-in), the overlays applied in order, the profile, the node and gate counts.
The flow, top to bottom, one box per node with its title and id, gates visibly different
and each with its kind from locate --name's gate_kinds (the same overlays and profile) when
it has one, nodes that can run at the same time side by side, joins where a node needs several.
Every guard in words, next to its node — "runs only when gap analysis found a reproducible
defect", "skipped when this run is a child of another", "runs when either gate chose the
design", "runs when the push was chosen and the pull request was not" — and every on:
other than success
("runs only if a need failed", "runs however its needs ended").
A gate the skip-guard rule asks — one guarded by a value a non-gate node records that is more than a single plain continue — is drawn with its guard and "asked whatever its guard reads", never as skippable.
Dangling leaves: a node nothing waits for that is not where the run ends. Name each, say
where the frozen order puts it (ties are broken by id), and say what it means — no gate waits
for it, and the run can close past it. For a definition's own node the fix is a later node's
needs; for an overlay's added node it is before:. An on: failure or on: always node is a
handler, a leaf by design, and is not one.
Under the graph, the HTML pages: each node and the artifacts it owes a page for, from
locate --name's html_companions with the same overlays and profile — never from the files
by hand. An empty block reads "no HTML pages declared".
Never print the Mermaid text itself.
Prefer an overlay: it keeps following the built-in as the plugin improves it, and it states only what the project changed.
An overlay can disable a node, tune a node's with or provider, add a node with its own
needs and a before: that makes existing nodes wait for it, carry profiles, retitle, and raise
changes_code to true.
Only an eject can change what runs a node (uses is immutable), reword a gate or change its
options, change or drop a guard, change a node's needs or declared outputs, reorder existing
phases, remove a node that a guard reads, or take a built-in's changes_code: true back.
What an eject costs. It is a copy of the built-in's definition and companion under the same
name in .maister/workflows/, and it shadows the built-in entirely:
.yml and .md beside the workflow engine's workflows/;overlay-ignored); fold it into the eject;check --all finds what no
longer validates, but not what the built-in improved.When the author chooses an eject, copy the built-in's .yml and .md into .maister/workflows/
on request, make the change there, fold in any overlay of the same name and remove it with the
author's agreement, then run check.
/maister:run <name> starts it; /maister:run <name> --check is the validator alone.dir: dispatches into member repositories; chains are
planned and started from maister cockpit, and a workspace is set up and validated through
the Pro edition..maister/workflows/.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub skillpanel/maister --plugin maister22 skills in this plugin
/codebase-analyzerAnalyzes codebase using adaptive parallel Explore subagents based on task complexity. Selects agent roles from a pool, launches Explore agents, then delegates report generation to codebase-analysis-reporter subagent./developmentmaister:developmentUnified orchestrator for all development tasks. ALWAYS execute when invoked — never skip for 'straightforward' tasks. Phases adapt based on detected task characteristics rather than predetermined types. Use for any development work that modifies code./docs-managerInternal engine for managing project documentation and technical standards in .maister/docs/. Handles file operations, INDEX.md refresh, CLAUDE.md integration, and the consolidation of standard candidates at a workflow's finalization. Invoked by maister:init, standards-update, standards-discover and workflow finalization./implementation-plan-executorExecute implementation plans by delegating each task group to the task-group-implementer subagent. Hands a workflow run's waves — group dispatch, group returns, escalation, failure handling and the work-log bookkeeping — to the implementation runner subagent when the run can nest subagents, and runs the same loop in the main session when it cannot. Asks the user only the decisions the loop returns. Every wave start and group return is recorded through the workflow engine; standards are loaded per task group./implementation-verifierVerify completed implementations for quality assurance. Hands a workflow run's verification loop — the tests and the project's other checks, the spec conformance, code risk and simplicity reviews, the fixes they call for and their re-checks — to the verification runner subagent when the run can nest subagents, and runs the same loop in the main session when it cannot. Asks the user only the decisions the loop returns, and closes on one verification report. Use after implementation is complete and before code review/commit./initmaister:initInitialize Maister framework with intelligent project analysis and documentation generationOther plugins' skills for the same job