arcane-cli 0.14.0 → 0.15.1

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/LICENSE +21 -21
  2. package/README.md +253 -253
  3. package/dist/assets/.arcane/agents/agent-policies-template.md +414 -414
  4. package/dist/assets/.arcane/governance/agent-policies.md +414 -414
  5. package/dist/assets/.arcane/governance/agent-work-queue-model.md +61 -61
  6. package/dist/assets/.arcane/governance/cicd-standards.md +227 -227
  7. package/dist/assets/.arcane/governance/development-methodology.md +384 -384
  8. package/dist/assets/.arcane/governance/git-conventions.md +759 -759
  9. package/dist/assets/.arcane/governance/naming-conventions.md +142 -142
  10. package/dist/assets/.arcane/governance/new-business-setup.md +182 -182
  11. package/dist/assets/.arcane/governance/portable-bootstrap.md +101 -101
  12. package/dist/assets/.arcane/governance/product-excellence-standards.md +211 -211
  13. package/dist/assets/.arcane/governance/testing-standards.md +158 -158
  14. package/dist/assets/.arcane/governance/universal-agent-rules.md +108 -108
  15. package/dist/assets/.arcane/image-prompts/adelaide-image-prompt.md +140 -140
  16. package/dist/assets/.arcane/image-prompts/alexander-image-prompt.md +138 -138
  17. package/dist/assets/.arcane/image-prompts/bess-image-prompt.md +139 -139
  18. package/dist/assets/.arcane/image-prompts/circe-image-prompt.md +143 -143
  19. package/dist/assets/.arcane/image-prompts/custodio-image-prompt.md +140 -140
  20. package/dist/assets/.arcane/image-prompts/iris-image-prompt.md +139 -139
  21. package/dist/assets/.arcane/image-prompts/kellar-image-prompt.md +141 -141
  22. package/dist/assets/.arcane/image-prompts/lafayette-image-prompt.md +140 -140
  23. package/dist/assets/.arcane/image-prompts/lince-image-prompt.md +142 -142
  24. package/dist/assets/.arcane/image-prompts/mercurio-image-prompt.md +140 -140
  25. package/dist/assets/.arcane/image-prompts/merlin-image-prompt.md +139 -139
  26. package/dist/assets/.arcane/image-prompts/prospero-image-prompt.md +141 -141
  27. package/dist/assets/.arcane.json +5 -0
  28. package/dist/assets/.claude/commands/spell-enchant.md +9 -9
  29. package/dist/assets/.github/agents/adelaide.agent.md +44 -44
  30. package/dist/assets/.github/agents/alexander.agent.md +43 -43
  31. package/dist/assets/.github/agents/bess.agent.md +42 -42
  32. package/dist/assets/.github/agents/circe.agent.md +43 -43
  33. package/dist/assets/.github/agents/custodio.agent.md +44 -44
  34. package/dist/assets/.github/agents/iris.agent.md +43 -43
  35. package/dist/assets/.github/agents/kellar.agent.md +43 -43
  36. package/dist/assets/.github/agents/lafayette.agent.md +42 -42
  37. package/dist/assets/.github/agents/lince.agent.md +43 -43
  38. package/dist/assets/.github/agents/mercurio.agent.md +43 -43
  39. package/dist/assets/.github/agents/merlin.agent.md +44 -44
  40. package/dist/assets/.github/agents/prospero.agent.md +43 -43
  41. package/dist/assets/.github/prompts/spell-close-session.prompt.md +17 -5
  42. package/dist/assets/.github/prompts/spell-commit-work.prompt.md +24 -6
  43. package/dist/assets/.github/prompts/spell-create-pull-request.prompt.md +12 -3
  44. package/dist/assets/.github/prompts/spell-enchant.prompt.md +385 -385
  45. package/dist/assets/.github/prompts/spell-feedback.prompt.md +113 -113
  46. package/dist/assets/.github/prompts/spell-full-cycle.prompt.md +202 -201
  47. package/dist/assets/.github/prompts/spell-implement.prompt.md +101 -101
  48. package/dist/assets/.github/prompts/spell-open-session.prompt.md +20 -5
  49. package/dist/assets/.github/prompts/spell-scope.prompt.md +263 -263
  50. package/dist/assets/agents/architecture-lead.yaml +61 -61
  51. package/dist/assets/agents/collaborator.yaml +59 -59
  52. package/dist/assets/agents/devops.yaml +60 -60
  53. package/dist/assets/agents/frontend-dev.yaml +60 -60
  54. package/dist/assets/agents/fullstack-dev.yaml +59 -59
  55. package/dist/assets/agents/marketing-strategist.yaml +60 -60
  56. package/dist/assets/agents/mobile-dev.yaml +59 -59
  57. package/dist/assets/agents/operations-comms.yaml +58 -58
  58. package/dist/assets/agents/orchestrator.yaml +60 -60
  59. package/dist/assets/agents/qa-lead.yaml +60 -60
  60. package/dist/assets/agents/research-analyst.yaml +59 -59
  61. package/dist/assets/agents/security-ops.yaml +61 -61
  62. package/dist/index.js +346 -9
  63. package/dist/index.js.map +1 -1
  64. package/package.json +72 -72
  65. package/dist/assets/.claude/commands/spell-eas-ios-deploy.md +0 -9
  66. package/dist/assets/.github/prompts/spell-eas-ios-deploy.prompt.md +0 -183
package/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2026 Code Magician LLC
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Code Magician LLC
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,253 +1,253 @@
1
- <div align="center">
2
-
3
- <h1 align="center">
4
- <picture>
5
- <source media="(prefers-color-scheme: dark)" srcset="./assets/brand/arcane-lockup.svg">
6
- <img src="./assets/brand/arcane-lockup-light.svg" width="300" alt="Arcane">
7
- </picture>
8
- </h1>
9
-
10
- **Cast spells to ship software** — the methodology layer for AI-assisted development.
11
-
12
- AI agents can write your code; Arcane gives them the discipline to *plan it, govern it, test it, review it, and **ship** it.*
13
-
14
- [![npm version](https://img.shields.io/npm/v/arcane-cli?style=flat-square&color=6f9fd8&label=npm)](https://www.npmjs.com/package/arcane-cli)
15
- [![npm downloads](https://img.shields.io/npm/dm/arcane-cli?style=flat-square&color=6f9fd8)](https://www.npmjs.com/package/arcane-cli)
16
- [![CI](https://img.shields.io/github/actions/workflow/status/codemagicianhq/arcane/ci.yml?style=flat-square&branch=main&label=CI)](https://github.com/codemagicianhq/arcane/actions/workflows/ci.yml)
17
- [![Node](https://img.shields.io/badge/node-%E2%89%A518-339933?style=flat-square&logo=node.js&logoColor=white)](https://nodejs.org)
18
- [![TypeScript](https://img.shields.io/badge/TypeScript-5-3178c6?style=flat-square&logo=typescript&logoColor=white)](https://www.typescriptlang.org)
19
- [![License: MIT](https://img.shields.io/badge/License-MIT-6f9fd8?style=flat-square)](./LICENSE)
20
- [![PRs welcome](https://img.shields.io/badge/PRs-welcome-6f9fd8?style=flat-square)](./CONTRIBUTING.md)
21
- [![GitHub stars](https://img.shields.io/github/stars/codemagicianhq/arcane?style=flat-square&color=6f9fd8)](https://github.com/codemagicianhq/arcane/stargazers)
22
-
23
- ```bash
24
- npm install -g arcane-cli # then: spell init
25
- ```
26
-
27
- </div>
28
-
29
- ---
30
-
31
- <div align="center">
32
-
33
- **🔁 opinionated lifecycle** &nbsp;·&nbsp; **📜 33 spells** &nbsp;·&nbsp; **🤖 12 agents** &nbsp;·&nbsp; **⚖️ 19 governance standards** &nbsp;·&nbsp; **📝 markdown-native** &nbsp;·&nbsp; **🔌 any AI client / tracker**
34
-
35
- </div>
36
-
37
- ---
38
-
39
- <div align="center">
40
-
41
- <img src="./assets/arcane-cli.svg" alt="The Arcane CLI welcome — the lockup, tagline, and live repo status" width="800">
42
-
43
- </div>
44
-
45
- ---
46
-
47
- ### See it in action
48
-
49
- <details>
50
- <summary><strong>⚡ Get started</strong> — one command, full methodology installed</summary>
51
-
52
- <br>
53
-
54
- <div align="center">
55
- <img src="./assets/demo/spell-init.gif" alt="spell init — installs the full spell library and governance" width="800">
56
- </div>
57
-
58
- </details>
59
-
60
- <details>
61
- <summary><strong>🃏 Arcanos agents</strong> — assign the built-in persona roster</summary>
62
-
63
- <br>
64
-
65
- <div align="center">
66
- <img src="./assets/demo/spell-agents-arcanos.gif" alt="spell agents init — Arcanos naming strategy" width="800">
67
- </div>
68
-
69
- </details>
70
-
71
- <details>
72
- <summary><strong>🎭 Custom agent names</strong> — name your team after any universe you own</summary>
73
-
74
- <br>
75
-
76
- <div align="center">
77
- <img src="./assets/demo/spell-agents-custom.gif" alt="spell agents init — custom public-domain mythology naming" width="800">
78
- </div>
79
-
80
- </details>
81
-
82
- ---
83
-
84
- ## The problem
85
-
86
- AI coding agents are great at *generating code*. They're terrible at *shipping software*.
87
-
88
- Ask one to "build a feature" and you get a pile of plausible code with no plan, no tests you trust, no review, no governance, and no repeatable path from idea to a merged, deployed change. The gap isn't code generation — it's **methodology**.
89
-
90
- **Arcane is that missing layer.** It's a structured, opinionated lifecycle — the **Spell Loop** — plus the governance, agent roles, and templates that make AI-driven development reproducible instead of chaotic. You stay in the driver's seat and cast `spell`s; the framework keeps the work on rails.
91
-
92
- ---
93
-
94
- ## The Spell Loop
95
-
96
- One opinionated lifecycle. Each phase is a spell you cast — and the build→test→review core loops until the work actually passes.
97
-
98
- <div align="center">
99
- <img src="./assets/spell-loop.svg" alt="The Spell Loop — plan → architect → implement → test → review → ship" width="800">
100
- </div>
101
-
102
- ```
103
- /spell-plan → /spell-architect → [ /spell-implement → /spell-test → /spell-review ]* → /spell-ship
104
- ```
105
-
106
- Plus session and operational spells — `/spell-open-session`, `/spell-close-session`, `/spell-commit-work`, `/spell-bug`, and more. Workflow spells are cast from your AI client as prompts; the `spell` CLI manages installation and the agent roster.
107
-
108
- ---
109
-
110
- ## What's in the box
111
-
112
- Arcane isn't a prompt snippet — it's a full framework. Everything installs into your repo as plain, reviewable markdown.
113
-
114
- | Layer | What you get |
115
- | --- | --- |
116
- | 📜 **Spells** | **33** prompt-driven workflows spanning the entire lifecycle — planning, architecture, implementation, testing, review, shipping, session management, and ops. |
117
- | ⚖️ **Governance** | **19** battle-tested standards as drop-in templates: git conventions, testing standards, CI/CD, threat model, ADR format, naming, security hardening, and more. |
118
- | 🤖 **Agents** | **12** ready-made agent personas with roles, clusters, and a gamified autonomy model — assign work and power levels per repo. |
119
- | 🛠️ **CLI** | `spell init / add / update / status / uninstall` — install by profile or à la carte, and keep everything in sync as new versions ship. |
120
-
121
- <details>
122
- <summary><b>📜 The full spell catalogue (33)</b></summary>
123
-
124
- **Core Spell Loop** — `plan` · `enchant` · `scope` · `architect` · `implement` · `test` · `review` · `ship`
125
- **Session** — `open-session` · `close-session` · `status`
126
- **Operational & Git** — `commit-work` · `todo` · `check-drift` · `bug` · `create-pull-request` · `address-review` · `bump`
127
- **Specialized** — `full-cycle` · `review-batch` · `security-review` · `dotnet-expert` · `product-review` · `suggest-feature`
128
- **Knowledge & Docs** — `document` · `explain-concept` · `feedback` · `save-idea`
129
- **Business & Admin** — `bootstrap-business` · `brainstorm` · `generate-bot-icons` · `present-arcane` · `arcane-version`
130
-
131
- </details>
132
-
133
- <details>
134
- <summary><b>⚖️ The governance standards (19)</b></summary>
135
-
136
- `universal-agent-rules` · `development-methodology` · `git-conventions` · `testing-standards` · `cicd-standards` · `decision-documentation-standard` · `naming-conventions` · `agent-policies` · `agent-approved-paths` · `agent-work-queue-model` · `threat-model` · `hardening-checklist` · `authentication-strategy` · `product-excellence-standards` · `rca-process-standard` · `poc-management-pattern` · `spell-authoring-standards` · `new-business-setup` · `portable-bootstrap`
137
-
138
- </details>
139
-
140
- ---
141
-
142
- ## Meet the agents
143
-
144
- Twelve legendary agents ship with Arcane — **the Arcanos**. Each is a **role** with a **code name**; within Arcane the two are aliases: summon `Merlin` or summon `the architect` and you get the same agent. Every namesake is public domain — golden-age stage magicians, myth, and classic literature. Run `spell agents init` and choose how they're named — the **Arcanos** roster below, plain **generic** role labels, **random** names, or your own **custom** universe.
145
-
146
- <div align="center">
147
- <table>
148
- <tr>
149
- <td align="center" width="25%"><img src="assets/agents/kellar.png" width="112" alt="Kellar"><br><b>Kellar</b><br><sub>the Maestro</sub><br><sub>Product Operations Manager</sub></td>
150
- <td align="center" width="25%"><img src="assets/agents/merlin.png" width="112" alt="Merlin"><br><b>Merlin</b><br><sub>the Archmage</sub><br><sub>CTO · Architecture Lead</sub></td>
151
- <td align="center" width="25%"><img src="assets/agents/alexander.png" width="112" alt="Alexander"><br><b>Alexander</b><br><sub>the Man Who Knows</sub><br><sub>Research &amp; Backlog Analyst</sub></td>
152
- <td align="center" width="25%"><img src="assets/agents/custodio.png" width="112" alt="Custodio"><br><b>Custodio</b><br><sub>the Warden</sub><br><sub>Security Operations</sub></td>
153
- </tr>
154
- <tr>
155
- <td align="center"><img src="assets/agents/lince.png" width="112" alt="Lince"><br><b>Lince</b><br><sub>the Unmasker</sub><br><sub>Quality &amp; Test Gates</sub></td>
156
- <td align="center"><img src="assets/agents/lafayette.png" width="112" alt="Lafayette"><br><b>Lafayette</b><br><sub>the Conjuror</sub><br><sub>Full-Stack Developer</sub></td>
157
- <td align="center"><img src="assets/agents/adelaide.png" width="112" alt="Adelaide"><br><b>Adelaide</b><br><sub>the Illusionist</sub><br><sub>Frontend Developer</sub></td>
158
- <td align="center"><img src="assets/agents/mercurio.png" width="112" alt="Mercurio"><br><b>Mercurio</b><br><sub>the Swift</sub><br><sub>Mobile Developer</sub></td>
159
- </tr>
160
- <tr>
161
- <td align="center"><img src="assets/agents/prospero.png" width="112" alt="Prospero"><br><b>Prospero</b><br><sub>the Stormcaller</sub><br><sub>CI/CD &amp; Infrastructure</sub></td>
162
- <td align="center"><img src="assets/agents/circe.png" width="112" alt="Circe"><br><b>Circe</b><br><sub>the Charmweaver</sub><br><sub>Marketing Strategist</sub></td>
163
- <td align="center"><img src="assets/agents/bess.png" width="112" alt="Bess"><br><b>Bess</b><br><sub>the Herald</sub><br><sub>Operations Communications</sub></td>
164
- <td align="center"><img src="assets/agents/iris.png" width="112" alt="Iris"><br><b>Iris</b><br><sub>the Emissary</sub><br><sub>External Collaboration</sub></td>
165
- </tr>
166
- </table>
167
- </div>
168
-
169
- Use the roster as-is, rename them to your own universe, or define new roles entirely — it's just a starting point. <sub>Agent portraits © Code Magician LLC.</sub>
170
-
171
- ---
172
-
173
- ## Quick start
174
-
175
- ```bash
176
- # Install the CLI (binary is `spell`; `arcane` works too)
177
- npm install -g arcane-cli
178
-
179
- # Bootstrap the current repo with a governance profile
180
- spell init
181
-
182
- # Optional: set up the agent roster (Arcanos, generic, random, or custom names)
183
- spell agents init
184
-
185
- # Then cast workflow spells from your AI client, per the Spell Loop:
186
- # /spell-plan → /spell-architect → /spell-implement → /spell-test → /spell-review → /spell-ship
187
-
188
- # Keep your installed governance current
189
- spell status # what's installed + available updates
190
- spell update # pull the latest
191
- ```
192
-
193
- > **`spell` or `arcane`?** Both commands invoke the same CLI. `spell` ties to the Spell Loop; `arcane` is there for when you reach for the brand name. Use whichever you like.
194
-
195
- Requires **Node.js 18+**.
196
-
197
- ### Profiles
198
-
199
- Install everything, or just the slice you want:
200
-
201
- | Profile | Contents |
202
- | --- | --- |
203
- | `lite` | Spell library + core git & testing conventions — fast start |
204
- | `methodology` | Spells + the full methodology (no security/infra docs) |
205
- | `governance-only` | All standards docs — no spells or agents |
206
- | `full` | Everything — spells, governance, templates, agent definitions |
207
-
208
- ```bash
209
- spell init --profile full
210
- spell add agent-policies # or install any component à la carte
211
- ```
212
-
213
- ---
214
-
215
- ## Philosophy
216
-
217
- - **Opinionated about *how*, pluggable about *which*.** Arcane is strict about the lifecycle, governance, and commit discipline — and adapter-friendly about your tools (any AI client, any tracker, GitHub or Azure DevOps).
218
- - **Markdown is the source of truth.** Everything is plain, reviewable, version-controlled text. No lock-in, no opaque state.
219
- - **Reproducible by design.** Spinning up a new project should mean running `spell init`, not redoing months of process work.
220
-
221
- ---
222
-
223
- ## Built in public
224
-
225
- Arcane is built *with Arcane*. From this repo's first commit forward, development happens in the open — planned, implemented, reviewed, and shipped using its own spells, with each session logged. Want to see how the methodology actually works? Watch the commit history.
226
-
227
- ---
228
-
229
- ## Contributing
230
-
231
- PRs welcome. See **[CONTRIBUTING.md](./CONTRIBUTING.md)** for dev setup and conventions, and **[SECURITY.md](./SECURITY.md)** to report a vulnerability. By contributing you agree your contributions are licensed under MIT.
232
-
233
- ```bash
234
- npm ci # install dependencies
235
- npm test # run the test suite
236
- npm run build # produces dist/index.js + dist/assets/
237
- npm run lint # lint
238
- npm run typecheck # type-check
239
- ```
240
-
241
- **Claude Code preview config:** [.claude/launch.json](./.claude/launch.json) registers dev-server launch configs (`arcane-website`, `arcane-ui`) for Claude Code's in-editor preview tooling. It assumes both repos are cloned as sibling directories next to this one (`../arcane-website`, `../arcane-ui`).
242
-
243
- ---
244
-
245
- ## License
246
-
247
- **MIT** — see [LICENSE](./LICENSE). Copyright © 2026 Code Magician LLC.
248
-
249
- > The *Arcane* name, logo, and agent art are brand assets of Code Magician LLC; the source code is MIT-licensed.
250
-
251
- <div align="center">
252
- <sub>Built by <a href="https://github.com/codemagicianhq">Code Magician</a> · <code>spell</code> your way to shipped.</sub>
253
- </div>
1
+ <div align="center">
2
+
3
+ <h1 align="center">
4
+ <picture>
5
+ <source media="(prefers-color-scheme: dark)" srcset="./assets/brand/arcane-lockup.svg">
6
+ <img src="./assets/brand/arcane-lockup-light.svg" width="300" alt="Arcane">
7
+ </picture>
8
+ </h1>
9
+
10
+ **Cast spells to ship software** — the methodology layer for AI-assisted development.
11
+
12
+ AI agents can write your code; Arcane gives them the discipline to *plan it, govern it, test it, review it, and **ship** it.*
13
+
14
+ [![npm version](https://img.shields.io/npm/v/arcane-cli?style=flat-square&color=6f9fd8&label=npm)](https://www.npmjs.com/package/arcane-cli)
15
+ [![npm downloads](https://img.shields.io/npm/dm/arcane-cli?style=flat-square&color=6f9fd8)](https://www.npmjs.com/package/arcane-cli)
16
+ [![CI](https://img.shields.io/github/actions/workflow/status/codemagicianhq/arcane/ci.yml?style=flat-square&branch=main&label=CI)](https://github.com/codemagicianhq/arcane/actions/workflows/ci.yml)
17
+ [![Node](https://img.shields.io/badge/node-%E2%89%A518-339933?style=flat-square&logo=node.js&logoColor=white)](https://nodejs.org)
18
+ [![TypeScript](https://img.shields.io/badge/TypeScript-5-3178c6?style=flat-square&logo=typescript&logoColor=white)](https://www.typescriptlang.org)
19
+ [![License: MIT](https://img.shields.io/badge/License-MIT-6f9fd8?style=flat-square)](./LICENSE)
20
+ [![PRs welcome](https://img.shields.io/badge/PRs-welcome-6f9fd8?style=flat-square)](./CONTRIBUTING.md)
21
+ [![GitHub stars](https://img.shields.io/github/stars/codemagicianhq/arcane?style=flat-square&color=6f9fd8)](https://github.com/codemagicianhq/arcane/stargazers)
22
+
23
+ ```bash
24
+ npm install -g arcane-cli # then: spell init
25
+ ```
26
+
27
+ </div>
28
+
29
+ ---
30
+
31
+ <div align="center">
32
+
33
+ **🔁 opinionated lifecycle** &nbsp;·&nbsp; **📜 33 spells** &nbsp;·&nbsp; **🤖 12 agents** &nbsp;·&nbsp; **⚖️ 19 governance standards** &nbsp;·&nbsp; **📝 markdown-native** &nbsp;·&nbsp; **🔌 any AI client / tracker**
34
+
35
+ </div>
36
+
37
+ ---
38
+
39
+ <div align="center">
40
+
41
+ <img src="./assets/arcane-cli.svg" alt="The Arcane CLI welcome — the lockup, tagline, and live repo status" width="800">
42
+
43
+ </div>
44
+
45
+ ---
46
+
47
+ ### See it in action
48
+
49
+ <details>
50
+ <summary><strong>⚡ Get started</strong> — one command, full methodology installed</summary>
51
+
52
+ <br>
53
+
54
+ <div align="center">
55
+ <img src="./assets/demo/spell-init.gif" alt="spell init — installs the full spell library and governance" width="800">
56
+ </div>
57
+
58
+ </details>
59
+
60
+ <details>
61
+ <summary><strong>🃏 Arcanos agents</strong> — assign the built-in persona roster</summary>
62
+
63
+ <br>
64
+
65
+ <div align="center">
66
+ <img src="./assets/demo/spell-agents-arcanos.gif" alt="spell agents init — Arcanos naming strategy" width="800">
67
+ </div>
68
+
69
+ </details>
70
+
71
+ <details>
72
+ <summary><strong>🎭 Custom agent names</strong> — name your team after any universe you own</summary>
73
+
74
+ <br>
75
+
76
+ <div align="center">
77
+ <img src="./assets/demo/spell-agents-custom.gif" alt="spell agents init — custom public-domain mythology naming" width="800">
78
+ </div>
79
+
80
+ </details>
81
+
82
+ ---
83
+
84
+ ## The problem
85
+
86
+ AI coding agents are great at *generating code*. They're terrible at *shipping software*.
87
+
88
+ Ask one to "build a feature" and you get a pile of plausible code with no plan, no tests you trust, no review, no governance, and no repeatable path from idea to a merged, deployed change. The gap isn't code generation — it's **methodology**.
89
+
90
+ **Arcane is that missing layer.** It's a structured, opinionated lifecycle — the **Spell Loop** — plus the governance, agent roles, and templates that make AI-driven development reproducible instead of chaotic. You stay in the driver's seat and cast `spell`s; the framework keeps the work on rails.
91
+
92
+ ---
93
+
94
+ ## The Spell Loop
95
+
96
+ One opinionated lifecycle. Each phase is a spell you cast — and the build→test→review core loops until the work actually passes.
97
+
98
+ <div align="center">
99
+ <img src="./assets/spell-loop.svg" alt="The Spell Loop — plan → architect → implement → test → review → ship" width="800">
100
+ </div>
101
+
102
+ ```
103
+ /spell-plan → /spell-architect → [ /spell-implement → /spell-test → /spell-review ]* → /spell-ship
104
+ ```
105
+
106
+ Plus session and operational spells — `/spell-open-session`, `/spell-close-session`, `/spell-commit-work`, `/spell-bug`, and more. Workflow spells are cast from your AI client as prompts; the `spell` CLI manages installation and the agent roster.
107
+
108
+ ---
109
+
110
+ ## What's in the box
111
+
112
+ Arcane isn't a prompt snippet — it's a full framework. Everything installs into your repo as plain, reviewable markdown.
113
+
114
+ | Layer | What you get |
115
+ | --- | --- |
116
+ | 📜 **Spells** | **33** prompt-driven workflows spanning the entire lifecycle — planning, architecture, implementation, testing, review, shipping, session management, and ops. |
117
+ | ⚖️ **Governance** | **19** battle-tested standards as drop-in templates: git conventions, testing standards, CI/CD, threat model, ADR format, naming, security hardening, and more. |
118
+ | 🤖 **Agents** | **12** ready-made agent personas with roles, clusters, and a gamified autonomy model — assign work and power levels per repo. |
119
+ | 🛠️ **CLI** | `spell init / add / update / status / uninstall` — install by profile or à la carte, and keep everything in sync as new versions ship. |
120
+
121
+ <details>
122
+ <summary><b>📜 The full spell catalogue (33)</b></summary>
123
+
124
+ **Core Spell Loop** — `plan` · `enchant` · `scope` · `architect` · `implement` · `test` · `review` · `ship`
125
+ **Session** — `open-session` · `close-session` · `status`
126
+ **Operational & Git** — `commit-work` · `todo` · `check-drift` · `bug` · `create-pull-request` · `address-review` · `bump`
127
+ **Specialized** — `full-cycle` · `review-batch` · `security-review` · `dotnet-expert` · `product-review` · `suggest-feature`
128
+ **Knowledge & Docs** — `document` · `explain-concept` · `feedback` · `save-idea`
129
+ **Business & Admin** — `bootstrap-business` · `brainstorm` · `generate-bot-icons` · `present-arcane` · `arcane-version`
130
+
131
+ </details>
132
+
133
+ <details>
134
+ <summary><b>⚖️ The governance standards (19)</b></summary>
135
+
136
+ `universal-agent-rules` · `development-methodology` · `git-conventions` · `testing-standards` · `cicd-standards` · `decision-documentation-standard` · `naming-conventions` · `agent-policies` · `agent-approved-paths` · `agent-work-queue-model` · `threat-model` · `hardening-checklist` · `authentication-strategy` · `product-excellence-standards` · `rca-process-standard` · `poc-management-pattern` · `spell-authoring-standards` · `new-business-setup` · `portable-bootstrap`
137
+
138
+ </details>
139
+
140
+ ---
141
+
142
+ ## Meet the agents
143
+
144
+ Twelve legendary agents ship with Arcane — **the Arcanos**. Each is a **role** with a **code name**; within Arcane the two are aliases: summon `Merlin` or summon `the architect` and you get the same agent. Every namesake is public domain — golden-age stage magicians, myth, and classic literature. Run `spell agents init` and choose how they're named — the **Arcanos** roster below, plain **generic** role labels, **random** names, or your own **custom** universe.
145
+
146
+ <div align="center">
147
+ <table>
148
+ <tr>
149
+ <td align="center" width="25%"><img src="assets/agents/kellar.png" width="112" alt="Kellar"><br><b>Kellar</b><br><sub>the Maestro</sub><br><sub>Product Operations Manager</sub></td>
150
+ <td align="center" width="25%"><img src="assets/agents/merlin.png" width="112" alt="Merlin"><br><b>Merlin</b><br><sub>the Archmage</sub><br><sub>CTO · Architecture Lead</sub></td>
151
+ <td align="center" width="25%"><img src="assets/agents/alexander.png" width="112" alt="Alexander"><br><b>Alexander</b><br><sub>the Man Who Knows</sub><br><sub>Research &amp; Backlog Analyst</sub></td>
152
+ <td align="center" width="25%"><img src="assets/agents/custodio.png" width="112" alt="Custodio"><br><b>Custodio</b><br><sub>the Warden</sub><br><sub>Security Operations</sub></td>
153
+ </tr>
154
+ <tr>
155
+ <td align="center"><img src="assets/agents/lince.png" width="112" alt="Lince"><br><b>Lince</b><br><sub>the Unmasker</sub><br><sub>Quality &amp; Test Gates</sub></td>
156
+ <td align="center"><img src="assets/agents/lafayette.png" width="112" alt="Lafayette"><br><b>Lafayette</b><br><sub>the Conjuror</sub><br><sub>Full-Stack Developer</sub></td>
157
+ <td align="center"><img src="assets/agents/adelaide.png" width="112" alt="Adelaide"><br><b>Adelaide</b><br><sub>the Illusionist</sub><br><sub>Frontend Developer</sub></td>
158
+ <td align="center"><img src="assets/agents/mercurio.png" width="112" alt="Mercurio"><br><b>Mercurio</b><br><sub>the Swift</sub><br><sub>Mobile Developer</sub></td>
159
+ </tr>
160
+ <tr>
161
+ <td align="center"><img src="assets/agents/prospero.png" width="112" alt="Prospero"><br><b>Prospero</b><br><sub>the Stormcaller</sub><br><sub>CI/CD &amp; Infrastructure</sub></td>
162
+ <td align="center"><img src="assets/agents/circe.png" width="112" alt="Circe"><br><b>Circe</b><br><sub>the Charmweaver</sub><br><sub>Marketing Strategist</sub></td>
163
+ <td align="center"><img src="assets/agents/bess.png" width="112" alt="Bess"><br><b>Bess</b><br><sub>the Herald</sub><br><sub>Operations Communications</sub></td>
164
+ <td align="center"><img src="assets/agents/iris.png" width="112" alt="Iris"><br><b>Iris</b><br><sub>the Emissary</sub><br><sub>External Collaboration</sub></td>
165
+ </tr>
166
+ </table>
167
+ </div>
168
+
169
+ Use the roster as-is, rename them to your own universe, or define new roles entirely — it's just a starting point. <sub>Agent portraits © Code Magician LLC.</sub>
170
+
171
+ ---
172
+
173
+ ## Quick start
174
+
175
+ ```bash
176
+ # Install the CLI (binary is `spell`; `arcane` works too)
177
+ npm install -g arcane-cli
178
+
179
+ # Bootstrap the current repo with a governance profile
180
+ spell init
181
+
182
+ # Optional: set up the agent roster (Arcanos, generic, random, or custom names)
183
+ spell agents init
184
+
185
+ # Then cast workflow spells from your AI client, per the Spell Loop:
186
+ # /spell-plan → /spell-architect → /spell-implement → /spell-test → /spell-review → /spell-ship
187
+
188
+ # Keep your installed governance current
189
+ spell status # what's installed + available updates
190
+ spell update # pull the latest
191
+ ```
192
+
193
+ > **`spell` or `arcane`?** Both commands invoke the same CLI. `spell` ties to the Spell Loop; `arcane` is there for when you reach for the brand name. Use whichever you like.
194
+
195
+ Requires **Node.js 18+**.
196
+
197
+ ### Profiles
198
+
199
+ Install everything, or just the slice you want:
200
+
201
+ | Profile | Contents |
202
+ | --- | --- |
203
+ | `lite` | Spell library + core git & testing conventions — fast start |
204
+ | `methodology` | Spells + the full methodology (no security/infra docs) |
205
+ | `governance-only` | All standards docs — no spells or agents |
206
+ | `full` | Everything — spells, governance, templates, agent definitions |
207
+
208
+ ```bash
209
+ spell init --profile full
210
+ spell add agent-policies # or install any component à la carte
211
+ ```
212
+
213
+ ---
214
+
215
+ ## Philosophy
216
+
217
+ - **Opinionated about *how*, pluggable about *which*.** Arcane is strict about the lifecycle, governance, and commit discipline — and adapter-friendly about your tools (any AI client, any tracker, GitHub or Azure DevOps).
218
+ - **Markdown is the source of truth.** Everything is plain, reviewable, version-controlled text. No lock-in, no opaque state.
219
+ - **Reproducible by design.** Spinning up a new project should mean running `spell init`, not redoing months of process work.
220
+
221
+ ---
222
+
223
+ ## Built in public
224
+
225
+ Arcane is built *with Arcane*. From this repo's first commit forward, development happens in the open — planned, implemented, reviewed, and shipped using its own spells, with each session logged. Want to see how the methodology actually works? Watch the commit history.
226
+
227
+ ---
228
+
229
+ ## Contributing
230
+
231
+ PRs welcome. See **[CONTRIBUTING.md](./CONTRIBUTING.md)** for dev setup and conventions, and **[SECURITY.md](./SECURITY.md)** to report a vulnerability. By contributing you agree your contributions are licensed under MIT.
232
+
233
+ ```bash
234
+ npm ci # install dependencies
235
+ npm test # run the test suite
236
+ npm run build # produces dist/index.js + dist/assets/
237
+ npm run lint # lint
238
+ npm run typecheck # type-check
239
+ ```
240
+
241
+ **Claude Code preview config:** [.claude/launch.json](./.claude/launch.json) registers dev-server launch configs (`arcane-website`, `arcane-ui`) for Claude Code's in-editor preview tooling. It assumes both repos are cloned as sibling directories next to this one (`../arcane-website`, `../arcane-ui`).
242
+
243
+ ---
244
+
245
+ ## License
246
+
247
+ **MIT** — see [LICENSE](./LICENSE). Copyright © 2026 Code Magician LLC.
248
+
249
+ > The *Arcane* name, logo, and agent art are brand assets of Code Magician LLC; the source code is MIT-licensed.
250
+
251
+ <div align="center">
252
+ <sub>Built by <a href="https://github.com/codemagicianhq">Code Magician</a> · <code>spell</code> your way to shipped.</sub>
253
+ </div>