@ionivetech/mugiwara 0.3.0 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. package/.opencode/commands/mugiwara-plan.md +4 -0
  2. package/README.md +320 -384
  3. package/content/skills/mugiwara-agent-security/SKILL.md +5 -0
  4. package/content/skills/mugiwara-api-and-interface-design/SKILL.md +5 -0
  5. package/content/skills/mugiwara-backend/SKILL.md +5 -0
  6. package/content/skills/mugiwara-brainstorm/SKILL.md +5 -0
  7. package/content/skills/mugiwara-checkpoint/SKILL.md +5 -0
  8. package/content/skills/mugiwara-context-engineering/SKILL.md +5 -0
  9. package/content/skills/mugiwara-deprecation/SKILL.md +5 -0
  10. package/content/skills/mugiwara-doubt-driven-development/SKILL.md +5 -0
  11. package/content/skills/mugiwara-dynamic-workflow/SKILL.md +5 -0
  12. package/content/skills/mugiwara-eval/SKILL.md +5 -0
  13. package/content/skills/mugiwara-execution/SKILL.md +5 -0
  14. package/content/skills/mugiwara-frontend/SKILL.md +12 -12
  15. package/content/skills/mugiwara-gates/SKILL.md +5 -0
  16. package/content/skills/mugiwara-git/SKILL.md +5 -0
  17. package/content/skills/mugiwara-git-worktrees/SKILL.md +5 -0
  18. package/content/skills/mugiwara-healing/SKILL.md +5 -0
  19. package/content/skills/mugiwara-lessons/SKILL.md +5 -0
  20. package/content/skills/mugiwara-mode/SKILL.md +5 -0
  21. package/content/skills/mugiwara-observability/SKILL.md +5 -0
  22. package/content/skills/mugiwara-orchestration/SKILL.md +13 -0
  23. package/content/skills/mugiwara-planning/SKILL.md +14 -13
  24. package/content/skills/mugiwara-pr/SKILL.md +5 -0
  25. package/content/skills/mugiwara-quality/SKILL.md +5 -0
  26. package/content/skills/mugiwara-resume/SKILL.md +5 -0
  27. package/content/skills/mugiwara-review/SKILL.md +5 -0
  28. package/content/skills/mugiwara-security/SKILL.md +17 -17
  29. package/content/skills/mugiwara-ship/SKILL.md +5 -0
  30. package/content/skills/mugiwara-systematic-debugging/SKILL.md +5 -0
  31. package/content/skills/mugiwara-test-driven-development/SKILL.md +5 -0
  32. package/content/skills/mugiwara-testcases/SKILL.md +5 -0
  33. package/content/skills/mugiwara-workflow/SKILL.md +6 -1
  34. package/content/skills/mugiwara-writing-skills/SKILL.md +5 -0
  35. package/dist/mugiwara.js +136 -28
  36. package/docs/adoption-guide.md +2 -2
  37. package/docs/comparison.md +166 -44
  38. package/docs/config.md +3 -0
  39. package/docs/developer-onboarding.md +17 -13
  40. package/docs/enforcement.md +38 -0
  41. package/docs/index.md +11 -5
  42. package/docs/lanes.md +40 -0
  43. package/docs/skill-anatomy.md +11 -6
  44. package/docs/troubleshooting.md +91 -0
  45. package/docs/workflow.md +15 -6
  46. package/evals/cases/adversarial-pressure-fake-pass.json +12 -0
  47. package/evals/cases/adversarial-pressure-skip-review.json +13 -0
  48. package/evals/cases/lane-exploratory-vague.json +12 -0
  49. package/evals/cases/lane-sensitivity-payment.json +12 -0
  50. package/evals/cases/negative-secrets-typo.json +12 -0
  51. package/evals/cases/negative-security-docs-change.json +12 -0
  52. package/evals/cases/positive-refactor-existing-tests.json +11 -0
  53. package/evals/cases/positive-resume-mid-mission.json +11 -0
  54. package/evals/cases/routing-auth-feature.json +13 -0
  55. package/evals/cases/routing-bug-one-file.json +13 -0
  56. package/evals/cases/routing-typo.json +13 -0
  57. package/package.json +2 -1
  58. package/src/args.ts +2 -1
  59. package/src/cli.ts +16 -20
  60. package/src/installer.ts +31 -3
  61. package/src/mission.ts +25 -0
  62. package/src/targets/claude.ts +4 -0
  63. package/src/targets/copilot.ts +4 -0
  64. package/src/targets/generic.ts +33 -1
  65. package/src/targets/kilo.ts +1 -0
  66. package/src/targets/opencode.ts +4 -0
package/README.md CHANGED
@@ -3,15 +3,16 @@
3
3
  [![npm version](https://img.shields.io/npm/v/@ionivetech%2fmugiwara)](https://www.npmjs.com/package/@ionivetech/mugiwara)
4
4
  [![License: MIT](https://img.shields.io/github/license/ionivetech/mugiwara)](https://github.com/ionivetech/mugiwara/blob/main/LICENSE)
5
5
 
6
- The Straw Hat crew of AI agents and skills a complete software development
7
- workflow for your coding agent.
6
+ **The Straw Hat crew of AI agents and skills.** A complete software
7
+ development workflow for your coding agent — triage, planning, execution,
8
+ verification, review, and shipping — with the discipline of a senior
9
+ engineering team.
8
10
 
9
- Skills encode the workflows, quality gates, and best practices a senior
10
- engineering team applies to software, packaged so your agent follows them
11
- consistently across every phase of development. The crew **auto-activates**:
12
- give a non-trivial request and the pipeline runs inline in your main
13
- conversation with checkpoint reports at every stage, nothing hidden behind a
14
- subagent click.
11
+ Mugiwara is pure markdown. No daemons, no servers, no plugin to babysit. Your
12
+ existing coding agent reads the skills and runs them itself. It works across
13
+ 12 coding agents Claude Code, opencode, Gemini CLI, Codex, Cursor, Copilot,
14
+ Kimi, pi, Windsurf, Cline, Kilo Code, and Antigravity and installs into
15
+ 70+ more as plain skills.
15
16
 
16
17
  ```
17
18
  TRIAGE PLAN BUILD VERIFY REVIEW SHIP
@@ -20,109 +21,181 @@ subagent click.
20
21
  │ 5-way │ │ waves + │ │ TDD per │ │ Sanji + │ │ Jinbe │ │ ready PR │
21
22
  │ triage │ │ tasks │ │ task │ │ Franky │ │ review+ │ │ summary │
22
23
  └──────────┘ └──────────┘ └──────────┘ └──────────┘ └──────────┘ └──────────┘
24
+ ↰ exploratory → Usopp brainstorms fail → Brook heals ↺ Wave 4
23
25
  ```
24
26
 
25
- Zero runtime: pure markdown your existing AI agent runs with its own subagent
26
- machinery — no daemons, no plugins to keep updated, nothing to host. 32 skills,
27
- 15 agents, and per-stage commands, ready for Claude Code, opencode, Gemini CLI,
28
- Codex, Cursor, Copilot, Kimi, pi, Windsurf, Cline, Kilo Code, and Antigravity.
29
-
30
- ## Philosophy
31
-
32
- - 🧭 **Skills are the product, agents are the engine.** Skills are the
33
- user-facing surface they auto-activate, they ship to any harness, and you
34
- never need to learn an agent name. The named agents are opencode-native
35
- enforcement underneath: permission isolation, role lenses, parallel review.
36
- Pick mugiwara up the same way you'd pick up a skills pack.
37
- - 🧑‍🚀 **The crew runs in the main thread.** No crew member is dispatched as a
38
- hidden subagent. You watch the pipeline happen, you can interrupt any time,
39
- and every wave shows a checkpoint report never a narration of every tool call.
40
- - ⚖️ **Mode owns autonomy, config owns writing standards.** Whether branch,
41
- commit, and PR run automatically is decided by one lever: the mode
42
- (guided / semi / auto). The config only shapes HOW those artifacts are
43
- written when they are created.
44
- - 🛡 **Evidence over claims.** No wave passes on assertion — the owning agent
45
- shows output. No evidence, not complete.
46
- - 📦 **No runtime.** Ships markdown only: native skills and agents for
47
- Claude Code, opencode, Copilot, Gemini CLI, Codex, Cursor, Kimi, pi,
48
- Windsurf, Cline, Kilo Code, and Antigravity.
27
+ ## Why mugiwara
28
+
29
+ - **It just starts.** Give a non-trivial request "add dark mode to the
30
+ settings page" and the crew runs the pipeline in your main conversation,
31
+ with a compact checkpoint report at every stage. Nothing hides behind a
32
+ subagent click; you can interrupt any time.
33
+ - **The work is sized before it runs.** A one-file typo runs zero waves. An
34
+ architecture change runs all nine. Luffy routes each mission to a lane, so a
35
+ tiny fix never pays the price of a big feature and a sensitive change never
36
+ sneaks through the lean path.
37
+ - **Evidence over claims.** No wave passes on a spoken "it works." The owning
38
+ agent runs the checks and shows output. Every skill also knows when it does
39
+ *not* apply and says so, out loud.
40
+ - **It remembers.** Mission state lives in `.mugiwara/` plans, results, a
41
+ failure ledger, and a lessons file. Lose context mid-mission and the crew
42
+ rebuilds from disk instead of restarting.
43
+ - **You stay in control.** The crew pushes the branch and hands you a
44
+ ready-to-paste PR summary. It never creates a PR, merges, or deploys on its
45
+ own. Three autonomy levels — guided, semi, auto — decide how much it does
46
+ without asking.
47
+
48
+ ## Quick start
49
+
50
+ Install into your harness in one command, then just ask:
51
+
52
+ ```bash
53
+ # Claude Code
54
+ /plugin marketplace add ionivetech/mugiwara && /plugin install mugiwara
55
+
56
+ # opencode
57
+ { "plugin": ["@ionivetech/mugiwara"] } # add to opencode.json
58
+
59
+ # or via CLI for any target
60
+ npx @ionivetech/mugiwara@latest --project ./my-app --target all --yes
61
+ ```
62
+
63
+ ```text
64
+ > add dark mode to the settings page
65
+ ```
66
+
67
+ The crew announces itself at session start and routes the request. See
68
+ [docs/getting-started.md](docs/getting-started.md) for the full walkthrough.
69
+
70
+ ---
49
71
 
50
72
  ## The crew — 15 agents
51
73
 
52
- Each agent is a focused specialist. The main thread embodies each crew role
53
- inline using its skill; agents may also be summoned directly by your AI tool's
54
- agent machinery and may call the crew's shared skills.
55
-
56
- | Agent | Crew member | Role |
57
- |-------|-------------|------|
58
- | `using-mugiwara` | Front Door | Optional router: explains the crew, routes any request to the right crew member — no agent names to remember |
59
- | `luffy-orchestrator` | Luffy | Captain: 5-way triage, check-ins, work splitting, decision log, detailed closure |
60
- | `usopp-brainstorm` | Usopp | Critical brainstorming friend: facts over hype, options + trade-offs, no over-engineering |
61
- | `nami-planner` | Nami | Interview-first planner: full-context scan, waves-first plans, file-level dependency edges, break points |
62
- | `zoro-execution` | Zoro | Execute plans inline: todo list first, sequential tasks in the main thread, parallel batches via worker subagents, evidence per task |
63
- | `chopper-checkpoint` | Chopper | Verify-everything audit of wave results; writes the failure ledger (never fixes code) |
64
- | `sanji-quality` | Sanji | Discover the stack, then format/lint/test; integration and optional e2e tests only with consent |
65
- | `franky-gates` | Franky | Binary gates: coverage ≥90/80, build exit 0, Definition of Done |
66
- | `robin-reviewer` | Robin | Doubt-driven diff review: breaking-change first, five-axis, severity-tagged findings |
67
- | `jinbe-security` | Jinbe | Security review: STRIDE first, OWASP, secrets, injection, auth, dependencies, untrusted-data doctrine |
68
- | `brook-healing` | Brook | Reads the blocker ledger, Stop-the-Line root-cause fixes, worker subagents for fast re-verification, ≤3 heal cycles |
69
- | `skeptic-verifier` | Skeptic | Adversarial verification: doubt every output/plan/verdict, find what's wrong, do NOT validate |
70
- | `eval-runner` | Eval Runner | Test engineer for the harness itself: task suites, judge-agent rubric comparison |
71
- | `resume-coordinator` | Resume Coordinator | Rebuild the picture from `.mugiwara/` state after context loss; continue, never restart |
72
- | `memory-keeper` | Memory Keeper | Institutional memory: surface past lessons at mission start, capture new ones at closure |
74
+ Each agent is a focused specialist. The main thread embodies each role inline
75
+ using its skill; you can also summon any member directly by name. "Dispatch"
76
+ means *route the mission to this role* — crew members never dispatch each other.
77
+
78
+ | Agent | Crew member | Role | Summon for |
79
+ |-------|-------------|------|------------|
80
+ | `using-mugiwara` | Front Door | Router classifies and routes, never implements | any new mission |
81
+ | `luffy-orchestrator` | Luffy | Captain 5-way triage, lane sizing, check-ins, closure | mission start, escalations |
82
+ | `usopp-brainstorm` | Usopp | Critical friend interrogates ideas, researches, no rubber-stamps | vague ideas, direction, options |
83
+ | `nami-planner` | Nami | Planner — interview-first, full-context scan, scaled plans | turning an idea into a plan |
84
+ | `zoro-execution` | Zoro | Executor todo list first, inline tasks, parallel worker batches, evidence per task | executing an approved plan |
85
+ | `chopper-checkpoint` | Chopper | Auditor — re-verifies every acceptance criterion, writes the failure ledger, never fixes | auditing a wave's results |
86
+ | `sanji-quality` | Sanji | Quality discovers real tooling, format / lint / test | after checkpoint passes |
87
+ | `franky-gates` | Franky | Gates coverage, build, Definition of Done, binary verdicts | after quality checks |
88
+ | `robin-reviewer` | Robin | Reviewer — doubt-driven diff review, breaking-change map first | after gates pass |
89
+ | `jinbe-security` | Jinbe | Security STRIDE, OWASP, secrets, injection, auth, dependencies | security audit of a diff |
90
+ | `brook-healing` | Brook | Healer — reads the ledger, root-cause fixes, proves each fix, ≤3 cycles | any wave produced failures |
91
+ | `skeptic-verifier` | Skeptic | Adversarial verifier doubts every output, never validates | high-stakes verdicts, plans, reviews |
92
+ | `eval-runner` | Eval Runner | Harness tester task suites, rubric comparison, pass/fail | verifying mugiwara itself works |
93
+ | `resume-coordinator` | Resume Coordinator | Resumer rebuilds from `.mugiwara/`, continues never restarts | context loss, new session mid-mission |
94
+ | `memory-keeper` | Memory Keeper | Institutional memory surfaces past lessons, captures new ones | mission start + closure |
95
+
96
+ Say a name and the role embodies itself:
97
+
98
+ ```
99
+ > Chopper, audit the last wave against the plan
100
+ > Nami, plan this out
101
+ ```
102
+
103
+ Luffy still records the route and its reason, and direct calls do not skip
104
+ check-ins. See [docs/agents.md](docs/agents.md).
105
+
106
+ ---
73
107
 
74
108
  ## The techniques — 32 skills
75
109
 
76
- | Skill | Purpose |
77
- |-------|---------|
78
- | `mugiwara-workflow` | The harness entry point: inline execution model, gateway triage, wave pipeline, checkpoint reports, workspace layout, blocker protocol |
79
- | `mugiwara-orchestration` | Luffy's captain behavior: 5-way classifier, check-ins, work splitting, decision log, detailed closure |
80
- | `mugiwara-mode` | Runtime levels guided / semi / auto via `.mugiwara/config`: mode owns autonomy, config owns writing standards, consent invariants, gated auto-GO, push + ready-PR terminal |
81
- | `mugiwara-brainstorm` | Usopp's critical sparring: interrogate, research facts, cut over-engineering, recommend |
82
- | `mugiwara-planning` | Interview-first, waves-first plans with file-level dependency edges, break points, parallel-safe waves + anti-patterns |
83
- | `mugiwara-execution` | Todo list, sequential tasks inline + parallel worker batches, one commit per logical task, checkpoint-report batching |
84
- | `mugiwara-checkpoint` | Verify-everything audit of every acceptance criterion deduped and scoped to the wave's diff |
85
- | `mugiwara-quality` | Discover the project's real tooling; formatter, linter, unit tests, optional e2e gate (only when the repo has e2e AND changes touch e2e) |
86
- | `mugiwara-gates` | Coverage ≥90% new / ≥80% modified files, build validation, Definition of Done; optional e2e position after quality |
87
- | `mugiwara-testcases` | User-test intake (ATDD): accepted formats, immutable-gold rule, declarative-AC routing, consent, failure adjudication |
88
- | `mugiwara-review` | Doubt-driven review: breaking-change analysis, five-axis, severity-tagged findings |
89
- | `mugiwara-security` | STRIDE-first security review, OWASP Top 10 mapping, authn/authz, secrets, dependency audit, boundary system, untrusted-data doctrine |
90
- | `mugiwara-healing` | Reads the ledger, Stop-the-Line + Prove-It root-cause fixes, worker subagents (reviewer/security/re-run), rollback prep |
91
- | `mugiwara-deprecation` | Sunset & migration discipline: keep-or-retire gate, cutover playbooks, safe schema changes |
92
- | `mugiwara-frontend` | Anti-slop frontend: audit-first redesigns, component architecture, design systems, state, responsive, WCAG 2.1 AA |
93
- | `mugiwara-git` | Atomic commits, save-points, multi-commit splitting, bisect/blame debugging |
94
- | `mugiwara-pr` | Terminal: push + verdict file with a ready PR summary block; never creates a PR, stop-at-PR invariant |
95
- | `mugiwara-dynamic-workflow` | Runtime workflow patterns: fan-out-and-synthesize, tournament, loop-until-done, classify-and-act, adversarial verification |
96
- | `mugiwara-agent-security` | Secure the agent layer: prompt injection, memory poisoning, excessive agency, secret handling, sandboxing |
97
- | `mugiwara-backend` | Backend/server code: repo standards first, API design, data integrity, error handling, correctness, performance, server-side security |
98
- | `mugiwara-eval` | Test the harness itself: task suites, judge-agent rubric comparison, pass/fail per case |
99
- | `mugiwara-observability` | Trace the crew: structured logs, OTel-compatible spans, session correlation, end-of-mission summary |
100
- | `mugiwara-resume` | Session resume: rebuild state from `.mugiwara/` after compaction/loss; never restart |
101
- | `mugiwara-lessons` | Cross-mission memory: actionable lessons ledger, read at triage, written at closure |
102
- | `mugiwara-writing-skills` | Meta-skill: how mugiwara authors skills anatomy, ≤120-line rule, progressive disclosure, anti-rationalization |
103
- | `mugiwara-systematic-debugging` | 4-phase root-cause discipline: reproduce localize reduce fix + guard; stop-the-line, prove-it first |
104
- | `mugiwara-test-driven-development` | RED-GREEN-REFACTOR, proof-of-when, test pyramid, one test = one behavior |
105
- | `mugiwara-api-and-interface-design` | Contract-first design, error semantics, boundary validation, backward compatibility, versioning |
106
- | `mugiwara-doubt-driven-development` | Adversarial fresh-context verification of in-flight decisions: claim extract → doubt → reconcile → stop |
107
- | `mugiwara-git-worktrees` | Isolated parallel branches via `git worktree`, branch hygiene, safe cleanup |
108
- | `mugiwara-context-engineering` | Token/context management: feed selectively, trust-sort sources, progressive disclosure, rules files |
109
-
110
- ### Every capability, always
111
-
112
- Every install ships the full crew — all 32 skills and 15 agents, including
113
- the anti-slop `mugiwara-frontend`, `mugiwara-backend`, and `mugiwara-agent-security`
114
- skills. No project-type selection: you get every capability, and the harness
115
- routes each task to the right skill.
116
-
117
- ## How it works
118
-
119
- **The workflow auto-activates.** At session start the crew is announced; when
120
- you give a non-trivial request, the pipeline runs by itself — you do not need
121
- to call `/using-mugiwara`. It remains an optional explicit router if you want
122
- to hand-route a mission.
123
-
124
- From there the mission runs as a **wave pipeline** owned by one crew member
125
- per wave, executed inline in your main conversation.
110
+ Skills are the actual product: portable markdown playbooks that tell the agent
111
+ *how* to do each phase well. Agents are the personas; skills are the
112
+ knowledge. Every skill declares **when to use it** and **when to skip it**.
113
+
114
+ ### The pipeline
115
+
116
+ | Skill | Used when |
117
+ |-------|-----------|
118
+ | `mugiwara-workflow` | starting any non-trivial missionthe harness entry point |
119
+ | `mugiwara-orchestration` | triaging a new mission, coordinating waves, closing out |
120
+ | `mugiwara-brainstorm` | exploring a vague idea or architecture choice before planning |
121
+ | `mugiwara-planning` | turning an approved idea or spec into an execution plan |
122
+ | `mugiwara-execution` | executing an approved wave-structured plan |
123
+ | `mugiwara-checkpoint` | auditing a wave's results against the plan, criterion by criterion |
124
+ | `mugiwara-healing` | earlier waves produced failures test, gate, review, or security findings |
125
+ | `mugiwara-resume` | a mission was interrupted, context lost, or a new session starts mid-mission |
126
+ | `mugiwara-mode` | reading or changing the autonomy level (guided / semi / auto) |
127
+
128
+ ### Engineering practice
129
+
130
+ | Skill | Used when |
131
+ |-------|-----------|
132
+ | `mugiwara-test-driven-development` | writing code during execution RED-GREEN-REFACTOR |
133
+ | `mugiwara-testcases` | a mission declares user-provided test cases or acceptance criteria |
134
+ | `mugiwara-systematic-debugging` | a bug, crash, or unexplained regression needs root-cause discipline |
135
+ | `mugiwara-api-and-interface-design` | designing or reviewing an API, interface, or inter-service contract |
136
+ | `mugiwara-doubt-driven-development` | an in-flight decision is cheap to verify now but costly to reverse later |
137
+ | `mugiwara-context-engineering` | working in a large codebase, long session, or near the context limit |
138
+ | `mugiwara-git` | committing, splitting commits, or debugging via git history |
139
+ | `mugiwara-git-worktrees` | running parallel branches without polluting the working tree |
140
+ | `mugiwara-deprecation` | retiring code or steering users onto a replacement |
141
+ | `mugiwara-frontend` | any frontend implementation or redesign anti-slop, WCAG 2.1 AA |
142
+ | `mugiwara-backend` | implementing or reviewing backend/server code |
143
+ | `mugiwara-agent-security` | reviewing the agent layer itself — injection, poisoning, excessive agency |
144
+
145
+ ### Verification & review
146
+
147
+ | Skill | Used when |
148
+ |-------|-----------|
149
+ | `mugiwara-quality` | running format / lint / test after checkpoint passes |
150
+ | `mugiwara-gates` | enforcing coverage, build, and Definition of Done |
151
+ | `mugiwara-review` | reviewing the diff adversarially after gates pass |
152
+ | `mugiwara-security` | running the security audit of a diff or system |
153
+ | `mugiwara-ship` | running the pre-launch gate before anything reaches users |
154
+
155
+ ### Team & meta
156
+
157
+ | Skill | Used when |
158
+ |-------|-----------|
159
+ | `mugiwara-pr` | pushing the branch and preparing the PR material at closure |
160
+ | `mugiwara-lessons` | reading/writing the cross-mission lessons ledger |
161
+ | `mugiwara-observability` | tracing how the crew ran a mission |
162
+ | `mugiwara-dynamic-workflow` | a mission has many subtasks, needs comparison, or risks agent bias |
163
+ | `mugiwara-eval` | verifying a mugiwara skill or agent actually works |
164
+ | `mugiwara-writing-skills` | authoring or revising a mugiwara skill |
165
+
166
+ Every install ships the full set — no project-type selection. The harness
167
+ routes each task to the right skill, and a skill with nothing to do says so and
168
+ steps aside. See [docs/skills.md](docs/skills.md) for the anatomy and
169
+ [docs/skill-anatomy.md](docs/skill-anatomy.md) for the format spec.
170
+
171
+ ---
172
+
173
+ ## How mugiwara works
174
+
175
+ ### Auto-activation
176
+
177
+ At session start the crew is announced. Give a non-trivial request and the
178
+ pipeline runs by itself — no command to remember. `/using-mugiwara` remains an
179
+ optional router if you want to hand-route a mission.
180
+
181
+ ### Sizing: the lanes
182
+
183
+ At Wave 0, Luffy sizes the request and picks a lane. The lane decides how many
184
+ waves run:
185
+
186
+ | Lane | Picks when | Waves |
187
+ |------|-----------|-------|
188
+ | **0 · Direct** | typo, rename, one file under 20 lines | none |
189
+ | **1 · Lean** | bug in 1-2 files, under 50 lines | execute → quality |
190
+ | **2 · Standard** | feature, 3-8 files | plan → execute → checkpoint → review |
191
+ | **3 · Full** | architecture, migration, auth/payment, API | all 9 waves |
192
+ | **4 · Spike** | exploratory, needs direction | brainstorm → re-triage |
193
+
194
+ The lane escalates when the work outgrows the estimate (the diff balloons, a
195
+ sensitive path appears, failures repeat) — but never shrinks on its own.
196
+ Under-process costs more than over-process.
197
+
198
+ ### The wave pipeline
126
199
 
127
200
  ```mermaid
128
201
  flowchart TD
@@ -143,371 +216,234 @@ flowchart TD
143
216
 
144
217
  | Wave | Owner | Skill | Output |
145
218
  |------|-------|-------|--------|
146
- | 0 Triage | Luffy | `mugiwara-orchestration` | 5-way route decision + reason |
219
+ | 0 Triage | Luffy | `mugiwara-orchestration` | route + lane + reason |
147
220
  | 1 Brainstorm | Usopp | `mugiwara-brainstorm` | refined direction, options, recommendation |
148
- | 2 Planning | Nami | `mugiwara-planning` | plan doc: waves, tasks, file-level dependency edges, acceptance |
221
+ | 2 Planning | Nami | `mugiwara-planning` | plan doc: waves, tasks, dependency edges, acceptance |
149
222
  | 3 Execution | Zoro | `mugiwara-execution` | implemented tasks with evidence |
150
223
  | 4 Checkpoint | Chopper | `mugiwara-checkpoint` | audit report + failure ledger |
151
- | 5 Quality | Sanji | `mugiwara-quality` | formatter/linter/test results (+ optional e2e) |
224
+ | 5 Quality | Sanji | `mugiwara-quality` | formatter / linter / test results |
152
225
  | 6 Gates | Franky | `mugiwara-gates` | coverage + build verdict |
153
- | 7 Review | Robin ∥ Jinbe | `mugiwara-review` + `mugiwara-security` | severity-tagged findings (parallel) |
154
- | 8 Healing | Brook | `mugiwara-healing` | fixes via worker subagents; loops to Wave 4, max 3 cycles |
155
- | 9 Closure | Luffy | `mugiwara-orchestration` | detailed summary + push + ready PR summary (see Modes) |
156
-
157
- ### Checkpoint reports
226
+ | 7 Review | Robin ∥ Jinbe | `mugiwara-review` + `mugiwara-security` | severity-tagged findings |
227
+ | 8 Healing | Brook | `mugiwara-healing` | fixes; loops to Wave 4, max 3 cycles |
228
+ | 9 Closure | Luffy | `mugiwara-orchestration` | summary + push + ready PR summary |
158
229
 
159
- You see progress as **checkpoint reports**, not a firehose: a wave banner
160
- (`## Wave N — <crew> (<skill>)`), one compact report per crew member at each
161
- stage boundary (what ran / result / evidence pointer), a progress summary per
162
- wave, and a pause when something fails or gets risky. Subagents are used only
163
- where they genuinely help: independent `[PARALLEL]` task batches, Brook's
164
- reviewer/security re-verification workers, and background checks.
230
+ **You see progress, not a firehose.** Each wave opens with a banner
231
+ (`## Wave N — <crew> (<skill>)`), closes with a compact checkpoint report (what
232
+ ran / result / evidence pointer), and pauses when something fails or gets
233
+ risky. Subagents appear only where they genuinely help: parallel task batches
234
+ and independent re-verification.
165
235
 
166
- ## Manual stages
236
+ ### What a mission looks like
167
237
 
168
- Want to drive the stages yourself? Every stage has a slash command that loads
169
- the skill, runs the crew role inline, and bridges state from `.mugiwara/`:
170
-
171
- | Command | Runs | Reads state from |
172
- |---------|------|------------------|
173
- | `/mugiwara-plan` | Nami | `.mugiwara/spec/` |
174
- | `/mugiwara-execute` | Zoro | `.mugiwara/plans/` |
175
- | `/mugiwara-review` | Robin | `.mugiwara/results/` + diff |
176
- | `/mugiwara-security` | Jinbe | `.mugiwara/results/` + diff |
177
- | `/mugiwara-heal` | Brook | `.mugiwara/issues/` |
178
- | `/mugiwara-ship` | Luffy | plan + results |
179
-
180
- You can jump into any stage — e.g. run `/mugiwara-plan` first, then
181
- `/mugiwara-execute` later when you're ready.
182
-
183
- ## Modes
184
-
185
- The crew runs at one of three autonomy levels, set in `.mugiwara/config`
186
- (project, overrides global `~/.mugiwara/config`):
238
+ Small and specific:
187
239
 
188
240
  ```
189
- mode=guided
190
- branch=feature/{type}-{issue}-{slug}
191
- commit=conventional
192
- base=main
241
+ > fix the date formatting bug in src/utils/format.ts
193
242
  ```
194
243
 
195
- | Level | Plan GO | Branch/commit | Ambiguities | Check-ins |
196
- |-------|---------|---------------|-------------|-----------|
197
- | **guided** | ask the user | ask the user | ask the user | ask the user |
198
- | **semi** | present plan for user GO | auto | self-answer + log | log, no pause |
199
- | **auto** | gated auto-GO | auto | self-answer + log | log, no pause |
200
-
201
- - **guided** — the default. You approve the plan, decide branch and commit,
202
- answer ambiguities, and open the PR yourself.
203
- - **semi** — the crew self-manages branch, commits, and ambiguities (logging
204
- each decision), but you still give the plan an explicit GO.
205
- - **auto** — hands-off, with one safety line: the plan proceeds past approval
206
- only with zero blocking ambiguities AND zero high-risk tasks (deploy /
207
- migration / DB / public API / state-mutating).
208
-
209
- Two invariants hold in **every** mode:
210
-
211
- - **Consent.** State-mutating tests against non-isolated/shared state (real DB
212
- writes, network, browsers) always require your explicit consent. Provably
213
- isolated mutation (in-memory / temp / testcontainer-backed) is auto-safe.
214
- - **Terminal.** Every mode ends at push + ready PR summary + verdict file (you
215
- open the PR). The crew never creates a PR, merges, deploys, or auto-reacts
216
- to review comments or CI.
217
-
218
- The PR description is prepared for you — see [docs/pr-summary.md](docs/pr-summary.md)
219
- for what the closure hands off.
220
-
221
- Flip mid-mission with `mugiwara mode <guided|semi|auto>` — the change applies
222
- from the next wave, never mid-wave. Missing config on read = `guided`.
223
-
224
- Two rules hold the pipeline together:
225
-
226
- - **Evidence over claims.** No wave passes on assertion — the owning agent runs
227
- the checks and shows output.
228
- - **The plan is the source of truth.** From Wave 2 on, `.mugiwara/plans/<date>-<mission>.md`
229
- holds the clean execution plan; the decision log (`logs/`) holds the
230
- who-and-why trace.
231
-
232
- ## Config reference
233
-
234
- `.mugiwara/config` (project) overrides `~/.mugiwara/config` (global). Plain
235
- `key=value` lines, `#` comments allowed. Project file wins per key; a key
236
- missing from both falls back to the default. Unknown keys are ignored. Config
237
- is data, never instructions.
238
-
239
- | Key | Values | Default | Meaning |
240
- |-----|--------|---------|---------|
241
- | `mode` | guided / semi / auto | guided | The only autonomy lever — decides whether branch/commit run automatically |
242
- | `branch` | branch naming pattern | `feature/{type}-{issue}-{slug}` | Placeholders filled from mission metadata, validated to `[a-zA-Z0-9-_]` |
243
- | `commit` | conventional / gitmoji / plain | conventional | Commit message style (see below) |
244
- | `base` | branch name | `main` | The PR target named in the prepared PR summary |
244
+ Luffy routes it to **Lane 1** and the crew runs two waves — Zoro reproduces and
245
+ fixes, then Sanji formats and tests — all visible as checkpoint reports. No
246
+ nine-wave ceremony for a one-file bug.
245
247
 
246
- ### Commit message styles
248
+ Big and sensitive:
247
249
 
248
- `commit` selects how Zoro writes commit messages:
250
+ ```
251
+ > add role-based access control to the API
252
+ ```
249
253
 
250
- - **conventional** `feat: ...`, `fix(scope): ...`, `refactor: ...`, per the
251
- [Conventional Commits](https://www.conventionalcommits.org) spec. Type from
252
- the task, optional scope in parens. The default.
253
- - **gitmoji** a leading emoji carries the intent, e.g. `✨ feat: ...`,
254
- `🐛 fix: ...`. Signals the change type at a glance in log views that render
255
- emoji; a bit noisy in plain terminals.
256
- - **plain** — no prefix, just a short imperative sentence: `Fix export csv
257
- encoding`. Clearest for repos that don't use any convention.
254
+ That touches auth, so Luffy routes it to **Lane 3**. Nami plans the migration
255
+ waves, Zoro executes test-first, Chopper re-verifies every criterion, Sanji and
256
+ Franky gate it, Robin and Jinbe review, Brook heals anything that fails, and
257
+ Luffy closes with a ready PR summary. Every wave reports inline.
258
258
 
259
- Switch freely per project it only affects the message format, never the
260
- one-logical-task-one-commit rule.
259
+ That is the point of mugiwara: **the process scales to the work, and you can
260
+ see all of it.**
261
261
 
262
- ## The `.mugiwara/` workspace
262
+ ### The workspace
263
263
 
264
264
  Every mission works inside `.mugiwara/` at the repo root:
265
265
 
266
266
  ```
267
267
  .mugiwara/
268
- ├── config # mode + writing standards (gitignored; project overrides global)
269
- ├── spec/ # brainstorm output: YYYY-MM-DD-<mission>.md
270
- ├── plans/ # plan docs — clean, Nami-only, single source of truth from Wave 2
271
- ├── results/ # wave results: audits, test output, gate verdicts, todos, closure report
268
+ ├── config # mode + writing standards (gitignored)
269
+ ├── spec/ # brainstorm output
270
+ ├── plans/ # plan docs — clean, Nami-only, source of truth from Wave 2
271
+ ├── results/ # wave results: audits, test output, gate verdicts
272
272
  ├── review/ # review + security findings
273
- ├── issues/ # blocker + failure ledger: YYYY-MM-DD-<mission>-blockers.md
274
- └── logs/ # Luffy's decision + check-in log per mission (deleted at cleanup)
273
+ ├── issues/ # blocker + failure ledger
274
+ ├── refs/ # full skill/agent bodies for glob-loading harnesses
275
+ └── logs/ # decision + check-in log per mission (deleted at cleanup)
275
276
  ```
276
277
 
277
- **Blocker protocol:** any crew member that hits a blocker appends a row
278
- (`wave | task | symptom | attempted | help-needed`) to
279
- `.mugiwara/issues/YYYY-MM-DD-<mission>-blockers.md` and escalates — never a silent
280
- workaround. Brook reads the ledger in Wave 8 and heals what it lists.
281
-
282
- **Cleanup:** at closure, Luffy deletes the superseded intermediate markdown
283
- files (consumed results, review, issues, and per-mission decision logs). The
284
- plan doc and the closure report stay.
278
+ Two rules hold it together:
285
279
 
286
- ## Install
287
-
288
- ### Via your AI agent
289
-
290
- <details>
291
- <summary><strong>Claude Code</strong> — agents + skills + SessionStart hook</summary>
292
-
293
- **Install**
294
-
295
- ```bash
296
- /plugin marketplace add ionivetech/mugiwara
297
- /plugin install mugiwara
298
- ```
280
+ 1. **Evidence over claims.** No wave passes on assertion — the owning agent
281
+ runs the checks and shows output.
282
+ 2. **The plan is the source of truth.** From Wave 2 on, the plan doc holds the
283
+ clean execution plan; the decision log holds the who-and-why trace. A
284
+ skipped wave is recorded, never silent.
299
285
 
300
- **Update** re-install from the marketplace (or `mugiwara update` via CLI).
286
+ ### Manual stages
301
287
 
302
- **Uninstall** `/plugin uninstall mugiwara`, or `mugiwara uninstall` via CLI.
303
- </details>
288
+ Prefer to drive the stages yourself? Every stage has a slash command that loads
289
+ the skill, runs the role inline, and bridges state from `.mugiwara/`:
304
290
 
305
- <details>
306
- <summary><strong>opencode</strong> — native skills + agents via plugin</summary>
307
-
308
- **Install** add to `opencode.json`:
309
-
310
- ```json
311
- { "plugin": ["@ionivetech/mugiwara"] }
312
- ```
313
-
314
- Or from the git repo directly:
315
-
316
- ```json
317
- { "plugin": ["mugiwara@git+https://github.com/ionivetech/mugiwara.git"] }
318
- ```
319
-
320
- **Update** — bump the package version in the `plugin` array (or `mugiwara update`).
321
-
322
- **Uninstall** — remove the entry from the array.
323
- </details>
324
-
325
- <details>
326
- <summary><strong>GitHub Copilot CLI</strong> — same marketplace</summary>
327
-
328
- **Install**
329
-
330
- ```bash
331
- copilot plugin marketplace add ionivetech/mugiwara
332
- copilot plugin install mugiwara
333
- ```
334
-
335
- > Copilot caveat: skills install and function; the agents are Claude-native
336
- > `.md` files and are best consumed via the CLI install path, which writes
337
- > Copilot-native `.instructions.md` skills.
338
-
339
- **Update** — `copilot plugin update mugiwara`. **Uninstall** — `copilot plugin uninstall mugiwara`.
340
- </details>
341
-
342
- <details>
343
- <summary><strong>Gemini CLI</strong> — extension</summary>
344
-
345
- **Install**
346
-
347
- ```bash
348
- gemini extensions install https://github.com/ionivetech/mugiwara
349
- ```
291
+ | Command | Runs | Reads state from |
292
+ |---------|------|------------------|
293
+ | `/mugiwara-plan` | Nami | `.mugiwara/spec/` |
294
+ | `/mugiwara-execute` | Zoro | `.mugiwara/plans/` |
295
+ | `/mugiwara-review` | Robin | `.mugiwara/results/` + diff |
296
+ | `/mugiwara-security` | Jinbe | `.mugiwara/results/` + diff |
297
+ | `/mugiwara-heal` | Brook | `.mugiwara/issues/` |
298
+ | `/mugiwara-ship` | Luffy | plan + results |
350
299
 
351
- **Update**`gemini extensions update mugiwara`.
352
- **Uninstall** — `gemini extensions remove mugiwara`.
353
- </details>
300
+ Jump in at any stage plan today, execute tomorrow.
354
301
 
355
- <details>
356
- <summary><strong>Codex</strong> — plugin</summary>
302
+ ---
357
303
 
358
- **Install**
304
+ ## Modes & autonomy
359
305
 
360
- ```bash
361
- codex plugin marketplace add ionivetech/mugiwara
362
- codex plugin add mugiwara@mugiwara
363
- ```
306
+ Three autonomy levels, set in `.mugiwara/config`:
364
307
 
365
- **Update** `codex plugin update mugiwara`. **Uninstall** `codex plugin remove mugiwara`.
366
- </details>
308
+ | Level | Plan GO | Branch/commit | Ambiguities | Check-ins |
309
+ |-------|---------|---------------|-------------|-----------|
310
+ | **guided** | ask the user | ask the user | ask the user | ask the user |
311
+ | **semi** | present plan for user GO | auto | self-answer + log | log, no pause |
312
+ | **auto** | gated auto-GO | auto | self-answer + log | log, no pause |
367
313
 
368
- <details>
369
- <summary><strong>Cursor</strong> plugin</summary>
314
+ - **guided** — the default. You approve the plan, decide branch and commits,
315
+ answer ambiguities, and open the PR yourself.
316
+ - **semi** — the crew self-manages branch, commits, and ambiguities (logging
317
+ each decision), but the plan still needs your explicit GO.
318
+ - **auto** — hands-off, with one safety line: the plan proceeds only with zero
319
+ blocking ambiguities AND zero high-risk tasks (deploy / migration / DB /
320
+ public API / state-mutating).
370
321
 
371
- **Install**
322
+ Two invariants hold in every mode:
372
323
 
373
- ```
374
- /add-plugin mugiwara
375
- ```
324
+ - **Consent.** State-mutating tests against shared state (real DB writes,
325
+ network, browsers) always require your explicit consent. Provably isolated
326
+ mutation is auto-safe.
327
+ - **Terminal.** Every mode ends at push + ready PR summary + verdict file. The
328
+ crew never creates a PR, merges, deploys, or auto-reacts to review comments.
376
329
 
377
- **Update** — re-run `/add-plugin mugiwara`. **Uninstall** `/remove-plugin mugiwara`.
378
- </details>
330
+ Flip mid-mission with `mugiwara mode <guided|semi|auto>`. The PR description is
331
+ prepared for you — see [docs/pr-summary.md](docs/pr-summary.md).
379
332
 
380
- <details>
381
- <summary><strong>Kimi Code</strong> — plugin</summary>
333
+ ---
382
334
 
383
- **Install**
335
+ ## Configuration
384
336
 
385
- ```
386
- /plugins install https://github.com/ionivetech/mugiwara
387
- ```
337
+ `.mugiwara/config` (project) overrides `~/.mugiwara/config` (global). Plain
338
+ `key=value` lines, `#` comments allowed.
388
339
 
389
- **Update** `/plugins update mugiwara`. **Uninstall** `/plugins remove mugiwara`.
390
- </details>
340
+ | Key | Values | Default | Meaning |
341
+ |-----|--------|---------|---------|
342
+ | `mode` | guided / semi / auto | guided | How much the crew does without asking |
343
+ | `branch` | pattern | `feature/{type}-{issue}-{slug}` | Branch naming |
344
+ | `commit` | conventional / gitmoji / plain | conventional | Commit message style |
345
+ | `base` | branch name | `main` | The PR target in the prepared summary |
391
346
 
392
- <details>
393
- <summary><strong>pi</strong> package</summary>
347
+ Commit styles: `conventional` (`feat: ...`, `fix(scope): ...`), `gitmoji`
348
+ (`✨ feat: ...`), or `plain` (`Fix export csv encoding`). See
349
+ [docs/config.md](docs/config.md).
394
350
 
395
- **Install**
351
+ ---
396
352
 
397
- ```bash
398
- pi install git:github.com/ionivetech/mugiwara
399
- ```
353
+ ## Install
400
354
 
401
- **Update** `pi update mugiwara`. **Uninstall** — `pi remove mugiwara`.
402
- </details>
355
+ ### Via your coding agent
403
356
 
404
- <details>
405
- <summary><strong>npx / npm / curl / PowerShell</strong> — the mugiwara CLI</summary>
357
+ | Harness | Install |
358
+ |---------|---------|
359
+ | Claude Code | `/plugin marketplace add ionivetech/mugiwara` then `/plugin install mugiwara` |
360
+ | opencode | add `{ "plugin": ["@ionivetech/mugiwara"] }` to `opencode.json` |
361
+ | GitHub Copilot | `copilot plugin marketplace add ionivetech/mugiwara` then `copilot plugin install mugiwara` |
362
+ | Gemini CLI | `gemini extensions install https://github.com/ionivetech/mugiwara` |
363
+ | Codex | `codex plugin marketplace add ionivetech/mugiwara` then `codex plugin add mugiwara@mugiwara` |
364
+ | Cursor | `/add-plugin mugiwara` |
365
+ | Kimi Code | `/plugins install https://github.com/ionivetech/mugiwara` |
366
+ | pi | `pi install git:github.com/ionivetech/mugiwara` |
406
367
 
407
- Requires **Node.js >= 20.11**. Bun is optional — only needed to build from source.
368
+ ### Via the CLI
408
369
 
409
- **Install**
370
+ Requires **Node.js >= 20.11**.
410
371
 
411
372
  ```bash
412
373
  # run without installing (wizard)
413
374
  npx @ionivetech/mugiwara@latest
414
375
 
415
- # non-interactive: global Claude Code install, no prompts
376
+ # non-interactive: global Claude Code install
416
377
  npx @ionivetech/mugiwara@latest --global --target claude --yes
417
378
 
418
- # non-interactive: project install for opencode + GitHub Copilot
379
+ # project install for several harnesses
419
380
  npx @ionivetech/mugiwara@latest --project ./my-app --target opencode,copilot --yes
420
381
 
421
- # npm — global install, run `mugiwara` anywhere
382
+ # global install, run `mugiwara` anywhere
422
383
  npm install -g @ionivetech/mugiwara
423
384
  ```
424
385
 
425
386
  ```bash
426
- # curl — macOS / Linux one-liner
387
+ # macOS / Linux one-liner
427
388
  curl -fsSL https://raw.githubusercontent.com/ionivetech/mugiwara/main/scripts/install.sh | bash
428
- ```
429
389
 
430
- ```powershell
431
- # PowerShell — Windows one-liner
390
+ # Windows
432
391
  irm https://raw.githubusercontent.com/ionivetech/mugiwara/main/scripts/install.ps1 | iex
433
392
  ```
434
393
 
435
- **Update** `mugiwara update` (or `npm update -g @ionivetech/mugiwara`).
436
-
437
- **Uninstall** — `mugiwara uninstall` (removes exactly what the manifest recorded; or `npm uninstall -g @ionivetech/mugiwara`).
438
- </details>
394
+ ### Skills only, any agent
439
395
 
440
- **Skills only, any agent** — all 32 skills ship in the standard
441
- [agentskills.io](https://agentskills.io) layout (`skills/<name>/SKILL.md`), so
442
- you can install just the skills into Claude Code, opencode, Copilot, Cursor,
443
- Codex, Gemini CLI, and 70+ other agents via [skills.sh](https://skills.sh):
396
+ All 32 skills ship in the standard [agentskills.io](https://agentskills.io)
397
+ layout, so you can install just the skills into 70+ agents via
398
+ [skills.sh](https://skills.sh):
444
399
 
445
400
  ```bash
446
401
  npx skills add ionivetech/mugiwara
447
402
  ```
448
403
 
449
- ## CLI commands and flags
404
+ Update `mugiwara update` or re-run your harness's install command. Uninstall
405
+ — `mugiwara uninstall` removes exactly what the manifest recorded.
450
406
 
451
- ### Commands
407
+ ---
408
+
409
+ ## CLI reference
452
410
 
453
411
  | Command | Effect |
454
412
  |---------|--------|
455
413
  | `mugiwara install` | Install the crew (default; wizard when flags are missing) |
456
- | `mugiwara update` | Replace installed files, backing up differences to `.mugiwara/backup/<timestamp>/` first |
414
+ | `mugiwara update` | Replace installed files, backing up differences first |
457
415
  | `mugiwara uninstall` | Remove exactly what the install manifest recorded |
458
416
  | `mugiwara list` | Show installations (project + global manifests) |
459
- | `mugiwara skills` | List the installable skills (agentskills.io) + skills.sh install command |
460
- | `mugiwara --help` | Print usage and flags |
461
- | `mugiwara --version` | Print the package version |
462
-
463
- ### Flags
417
+ | `mugiwara reset` | Wipe mission state (`--keep-logs` preserves the lessons ledger) |
418
+ | `mugiwara --help` / `--version` | Help / version |
464
419
 
465
420
  | Flag | Meaning |
466
421
  |------|---------|
467
- | `--global` | Install user-wide (writes to your home directory) |
468
- | `--project <dir>` | Install into a project directory (default: current directory) |
469
- | `--target <ids\|all>` | Comma-separated target IDs, or `all`. Valid: `claude, opencode, copilot, gemini, codex, windsurf, cline, kilo, antigravity` |
470
- | `--yes`, `-y` | Non-interactive. Requires `--global` or `--project`, and `--target` |
471
- | `--force` | Overwrite files that differ (conflicting files are backed up first) |
472
- | `--dry-run` | Print the actions without writing anything |
422
+ | `--global` | Install user-wide |
423
+ | `--project <dir>` | Install into a project directory |
424
+ | `--target <ids\|all>` | Comma-separated target IDs, or `all` |
425
+ | `--yes`, `-y` | Non-interactive |
426
+ | `--force` | Overwrite differing files (with backup) |
427
+ | `--dry-run` | Print actions without writing |
428
+ | `--keep-logs` | With `reset`: keep `.mugiwara/logs` (lessons ledger) |
473
429
 
474
430
  Every install writes `.mugiwara/manifest.json` recording the version, scope,
475
- targets, and the exact written files — which is what `update` and `uninstall`
476
- use to operate safely.
477
-
478
- ## Targets
479
-
480
- | Target | Scope | Installs as |
481
- |--------|-------|-------------|
482
- | Claude Code | global + project | Native skills (`SKILL.md`) + agents in `.claude/skills` / `.claude/agents` |
483
- | opencode | global + project | Native skills + agents in `.opencode/skills` / `.opencode/agents` |
484
- | GitHub Copilot | global + project | Skills as `.instructions.md` files + agents in `instructions/` / `agents/` |
485
- | Gemini CLI | project only | Markdown rules in `.gemini/mugiwara/` + `GEMINI.md` pointer |
486
- | Codex | project only | Markdown rules in `.codex/mugiwara/` + `AGENTS.md` pointer |
487
- | Windsurf | project only | Rules files in `.devin/rules` |
488
- | Cline | project only | Rules files in `.clinerules` |
489
- | Kilo Code | project only | Rules files in `.kilo/rules` + `kilo.jsonc` pointer |
490
- | Antigravity | project only | Rules files in `.agents/rules` |
491
-
492
- ## Plugin manifests
493
-
494
- Mugiwara ships native plugin manifests at the repo root so each harness's own
495
- installer can pick it up: `.claude-plugin/`, `.opencode/plugins/mugiwara.mjs`,
496
- `gemini-extension.json` + `GEMINI.md`, `.codex-plugin/plugin.json`,
497
- `.cursor-plugin/plugin.json`, `.kimi-plugin/plugin.json`, and the `"pi"` entry
498
- in `package.json`. All manifests are skills-only and mirror `content/` as the
499
- source of truth. The opencode plugin also registers the 15 agents. Versions
500
- sync from `package.json` via `bun run sync-version`.
501
-
502
- ## Contributing
503
-
504
- Open an issue or pull request on GitHub.
505
-
506
- ## Resources
507
-
508
- - Docs: [docs/index.md](docs/index.md) — adoption guide, per-harness installs, crew & skill references
509
- - GitHub: <https://github.com/ionivetech/mugiwara>
510
- - npm: <https://www.npmjs.com/package/@ionivetech/mugiwara>
431
+ targets, and exact written files — which is what `update` and `uninstall` use
432
+ to operate safely.
433
+
434
+ ---
435
+
436
+ ## Comparing
437
+
438
+ Mugiwara is a skills pack with a named crew and a gated pipeline. For an honest
439
+ side-by-side against superpowers, agent-skills, frameworks, and mega-prompts
440
+ including a measured benchmark see [docs/comparison.md](docs/comparison.md).
441
+
442
+ ## Docs & roadmap
443
+
444
+ - [Docs index](docs/index.md) adoption guide, installs, crew & skill references
445
+ - [Troubleshooting](docs/troubleshooting.md) common problems and fixes
446
+ - [Roadmap](ROADMAP.md) what is planned next
511
447
 
512
448
  ## License
513
449