monozukuri-router
Skill11 starsChanged 2 months agoMITView on GitHub
Step 0 of consequential software work under Monozukuri, run by monozukuri-core. Classify the task, assess its risk tier, choose execute or sensei mode, and compose the sequence of Monozukuri skills and the Definition of Done for it. Skip for trivial one-line edits, pure questions, and throwaway scripts.
In this repository13 other files it gives its agents.
- andonSkill
- genchi-genbutsuSkill
- hanseiSkill
- jidokaSkill
- kaizenSkill
- kansoSkill
- kataSkill
- kodawariSkill
- monozukuri-blueprintSkill
- monozukuri-coreSkill
- nemawashiSkill
- poka-yokeSkill
- shukkaSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 1 is distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 40
Low-risk fast-path: If the tier is low and no modifier applies (documentation work is nearly always this): emit fast-path: apply …
- Very specific: line 44
Compose: Look up the playbook in monozukuri-core/references/playbooks.md.
- Very specific: line 50
Decide execution mode per step: Default every step to inline.
- Very specific: line 56
Plan checkpoints: When the work splits into more than one unit, size each unit and order them smallest first within dependency order, each …
- Very specific: line 105
After the header, proceed through the composed sequence using each named skill in order.
- Distinctive: line 109
If a referenced skill is not installed, apply its named lens inline instead of trying to invoke it.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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
Monozukuri router
The router does no engineering work itself. It decides which Monozukuri practices apply to the task in front of it and in what order, emits a plan header, and hands off to the composed sequence.
Use this skill when
- any feature, bugfix, refactor, incident, migration, release, or investigation that is more than a one-line change;
- the user asks to be guided or taught;
- the user asks for a review of their own approach; or
- the user asks to set up Monozukuri for a project.
Do not use when
- the change is a trivial one-liner;
- the request is a pure question with no change to the system; or
- the code is a throwaway script.
Procedure
- Choose interaction mode.
execute(default) orsensei. Route tosenseiwhen the user asks to be guided / taught / reviewed / set up. Incident or "production is down" language forcesexecute. Detail inmonozukuri-core/references/sensei.md. - Classify the task. Pick one type:
feature,bugfix,refactor,incident,migration,release,investigation,docs,greenfield(a new project, or a new standalone subsystem, built from scratch). Set context flags:security,performance,production,data,auth. - Assess risk. Tier
low|medium|high|criticalpermonozukuri-core/references/constitution.md. When signals disagree, take the higher tier. - Low-risk fast-path. If the tier is
lowand no modifier applies (documentation work is nearly always this): emitfast-path: apply genchi-genbutsu + kanso + kodawari inlineand stop. Never inflate a small task. - Compose. Look up the playbook in
monozukuri-core/references/playbooks.md; apply thesecurity/performancemodifiers matching the context flags; scale verification depth by risk tier. Forgreenfield, the sequence beginsnemawashi → monozukuri-blueprint; the four blueprint stages are gated on user approval, and phases execute one at a time after stage 4. - Decide execution mode per step. Default every step to inline. Mark a
step for delegation only when it matches a row in the inline-vs-delegated
table in
monozukuri-core/references/orchestration.md— an independent investigation, an independently verifiable implementation step, parallel disjoint work, or independent review on high/critical risk. Never delegate integration or the final call. - Plan checkpoints. When the work splits into more than one unit, size
each unit and order them smallest first within dependency order, each
ending at a verified checkpoint, per
monozukuri-core/references/checkpoints.md. Skip for single-unit work. - Emit the plan header (see Output).
Output
Task: <one line>
Mode: <execute|sensei>
Context: <type> [+security] [+performance] Risk: <tier> → <human gate>
Monozukuri sequence:
<skill> → <skill> → [<injected step>] → <skill [subagent: role]> ...
DoD: <n> items (<playbook> [+modifiers], <tier>) — see monozukuri-core/references/definition-of-done.md
Change budget: declare expected file scope before CHANGE (see change-budget.md)
Checkpoints: <n> units, smallest first (multi-unit work only — see checkpoints.md)[subagent: role] marks a step delegated per
monozukuri-core/references/orchestration.md; an unmarked step runs inline.
Worked example:
Task: add OAuth login
Mode: execute
Context: feature +security Risk: high → architecture-approval gate
Monozukuri sequence:
nemawashi → genchi-genbutsu → kanso → [threat-model]
→ poka-yoke (+security test cases) → kata [subagent: implementer]
→ kodawari (+security review) [subagent: reviewer] → andon (+security observability)
→ shukka (+security verification) → hansei
DoD: 11 items (feature + security, high) — see monozukuri-core/references/definition-of-done.md
Change budget: declare expected file scope before CHANGE (see change-budget.md)Task: build a new invoicing service from scratch
Mode: execute
Context: greenfield Risk: high → architecture-approval gate
Monozukuri sequence:
nemawashi → monozukuri-blueprint (4 gated stages)
→ per phase: kanso → kata → poka-yoke → kodawari → andon → shukka → hansei
DoD: 8 items (greenfield, high) — see monozukuri-core/references/definition-of-done.mdHandoff
After the header, proceed through the composed sequence using each named
skill in order. monozukuri-core remains the umbrella contract
(DISCOVER/CHANGE/PROVE) that governs the whole task.
If a referenced skill is not installed, apply its named lens inline instead of trying to invoke it.
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.

