writethevision 7.0.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 (37) hide show
  1. package/README.md +382 -0
  2. package/bin/wtv.js +8 -0
  3. package/package.json +51 -0
  4. package/src/cli.js +4452 -0
  5. package/templates/VISION_TEMPLATE.md +22 -0
  6. package/templates/WTV.md +37 -0
  7. package/templates/agents/aholiab.md +58 -0
  8. package/templates/agents/bezaleel.md +58 -0
  9. package/templates/agents/david.md +60 -0
  10. package/templates/agents/ezra.md +57 -0
  11. package/templates/agents/hiram.md +59 -0
  12. package/templates/agents/moses.md +57 -0
  13. package/templates/agents/nehemiah.md +59 -0
  14. package/templates/agents/paul.md +360 -0
  15. package/templates/agents/solomon.md +57 -0
  16. package/templates/agents/zerubbabel.md +57 -0
  17. package/templates/skills/aholiab-seo/SKILL.md +456 -0
  18. package/templates/skills/aholiab-ui/SKILL.md +377 -0
  19. package/templates/skills/aholiab-ux/SKILL.md +393 -0
  20. package/templates/skills/bezaleel-architect/SKILL.md +395 -0
  21. package/templates/skills/bezaleel-stack/SKILL.md +782 -0
  22. package/templates/skills/david-copy/SKILL.md +423 -0
  23. package/templates/skills/ezra-docs/SKILL.md +391 -0
  24. package/templates/skills/ezra-qa/SKILL.md +407 -0
  25. package/templates/skills/hiram-backend/SKILL.md +383 -0
  26. package/templates/skills/hiram-performance/SKILL.md +404 -0
  27. package/templates/skills/moses-product/SKILL.md +413 -0
  28. package/templates/skills/moses-user-testing/SKILL.md +215 -0
  29. package/templates/skills/nehemiah-compliance/SKILL.md +450 -0
  30. package/templates/skills/nehemiah-security/SKILL.md +352 -0
  31. package/templates/skills/paul-artisan-contract/SKILL.md +179 -0
  32. package/templates/skills/paul-quality/SKILL.md +410 -0
  33. package/templates/skills/solomon-database/SKILL.md +390 -0
  34. package/templates/skills/wtv/SKILL.md +397 -0
  35. package/templates/skills/zerubbabel-cost/SKILL.md +389 -0
  36. package/templates/skills/zerubbabel-devops/SKILL.md +389 -0
  37. package/templates/skills/zerubbabel-observability/SKILL.md +483 -0
package/README.md ADDED
@@ -0,0 +1,382 @@
1
+ # wtv
2
+
3
+ **Write The Vision (WTV) — a CLI for vision-driven development.**
4
+
5
+ WTV installs a Biblical “team” (Paul + artisans) into your AI coding tools (Claude Code, Codex CLI, OpenCode) so they can help you build **any** software: apps, APIs, infrastructure, data, UI, security, docs.
6
+
7
+ > "And the LORD answered me, and said, Write the vision, and make [it] plain upon tables, that he may run that readeth it."
8
+ > — Habakkuk 2:2 (KJV PCE)
9
+
10
+ > "According to the grace of God which is given unto me, as a wise masterbuilder, I have laid the foundation, and another buildeth thereon. But let every man take heed how he buildeth thereupon."
11
+ > — 1 Corinthians 3:10 (KJV PCE)
12
+
13
+ > "Where no counsel [is], the people fall: but in the multitude of counsellers [there is] safety."
14
+ > — Proverbs 11:14 (KJV PCE)
15
+
16
+ ## How It Works
17
+
18
+ **wtv is a management tool, not an AI runtime.** It installs agent and skill definitions that the native AI CLIs execute so you can apply them to real development work.
19
+
20
+ ```
21
+ ┌─────────────────────────────────────────────────────────────────┐
22
+ │ wtv CLI │
23
+ │ (Management Layer - install, list, edit) │
24
+ └─────────────────────────────────────────────────────────────────┘
25
+
26
+ installs into
27
+
28
+ ┌────────────┬───────────┼───────────┬────────────┬─────────────┐
29
+ ▼ ▼ ▼ ▼ ▼ ▼
30
+ ┌─────────┐ ┌─────────┐ ┌─────────┐ ┌─────────┐ ┌──────────────┐
31
+ │ Claude │ │ OpenCode│ │ Codex │ │ Gemini │ │ Antigravity │
32
+ │ Code │ │ │ │ CLI │ │ CLI │ │ (Agent Rule) │
33
+ └─────────┘ └─────────┘ └─────────┘ └─────────┘ └──────────────┘
34
+ │ │ │ │ │
35
+ └────────────┴───────────┴───────────┴─────────────┘
36
+
37
+ AI executes here
38
+ (Native Task tool spawns agents,
39
+ skills load as context)
40
+ ```
41
+
42
+ **The flow:**
43
+ 1. `wtv init` installs agents/skills into tool-specific folders
44
+ 2. You work in Claude Code, OpenCode, Codex, Gemini CLI, or Antigravity
45
+ 3. The AI loads skills as context and spawns agents via native Task tools
46
+ 4. wtv CLI helps you see and manage what's installed
47
+
48
+ ## Agent Command Center
49
+
50
+ Run `wtv` anywhere to see your agent landscape:
51
+
52
+ ```bash
53
+ wtv # Dashboard - agents, vision, quick actions
54
+ wtv agents # List all agents (local + global)
55
+ wtv agents info <name> # Show agent details
56
+ wtv agents add <name> # Create new agent
57
+ wtv agents edit <name> # Open in $EDITOR
58
+ wtv agents fav <name> # Toggle favorite (★)
59
+ wtv agents rm <name> # Remove agent
60
+ ```
61
+
62
+ The AI inside these tools can also run `npx writethevision agents` to discover what's available before spawning agents.
63
+
64
+ ## Installation
65
+
66
+ ### Quick Start
67
+
68
+ ```bash
69
+ npx writethevision init
70
+ ```
71
+
72
+ Interactive wizard to install for one or more tools.
73
+
74
+ ### Global Install (short `wtv`)
75
+
76
+ ```bash
77
+ npm install -g writethevision
78
+ wtv init
79
+ ```
80
+
81
+ Installs both `wtv` and `writethevision` commands.
82
+
83
+ ### Non-Interactive
84
+
85
+ ```bash
86
+ # Claude Code (agents + skills)
87
+ npx writethevision init --claude
88
+ npx writethevision init --claude --global
89
+
90
+ # OpenCode (agents + skills)
91
+ npx writethevision init --opencode
92
+ npx writethevision init --opencode --global
93
+
94
+ # Codex CLI (skills only)
95
+ npx writethevision init --codex
96
+ npx writethevision init --codex --global
97
+
98
+ # Gemini CLI (agents + skills)
99
+ npx writethevision init --gemini
100
+
101
+ # Antigravity (skills + rule)
102
+ npx writethevision init --antigravity
103
+ ```
104
+
105
+ ### Updates
106
+
107
+ ```bash
108
+ npx writethevision update # Update project installations
109
+ npx writethevision update --global # Update global installations
110
+ ```
111
+
112
+ ## What Gets Installed
113
+
114
+ ### Agents (10)
115
+
116
+ Paul (the Masterbuilder) + 9 artisans:
117
+
118
+ | Agent | Domain |
119
+ |-------|--------|
120
+ | **paul** | Orchestrates /wtv - reads vision, consults artisans, creates plans |
121
+ | **nehemiah** | Security - auth, secrets, compliance |
122
+ | **bezaleel** | Architecture - structure, patterns, refactors |
123
+ | **hiram** | Backend - services, APIs, workflows |
124
+ | **aholiab** | Frontend - UI/UX, accessibility, clarity |
125
+ | **solomon** | Data - schema, integrity, migrations |
126
+ | **zerubbabel** | DevOps - CI/CD, release, deployment |
127
+ | **ezra** | QA - tests, verification, regression prevention |
128
+ | **moses** | Product - requirements, scope, acceptance |
129
+ | **david** | Voice - copy, tone, worship/remembrance |
130
+
131
+ Agents run in isolated context windows via the native Task tool. Each consults domain-specific skills for methodology.
132
+
133
+ ### Skills (21)
134
+
135
+ Domain knowledge that loads as context when relevant:
136
+
137
+ - **Core:** wtv, artisan-contract, user-testing
138
+ - **Domain Consultants:** 18 specialized methodologies (security, architecture, backend, frontend, database, devops, qa, product, ux, ui-design, copy, seo, performance, cost, observability, compliance, docs, stack, code-quality)
139
+
140
+ Skills contain evaluation frameworks, checklists, and report templates.
141
+
142
+ ### Installation Paths
143
+
144
+ ```
145
+ # Claude Code
146
+ .claude/
147
+ ├── agents/ # Agent definitions
148
+ └── skills/ # Skill definitions
149
+
150
+ # OpenCode
151
+ .opencode/
152
+ └── agent/ # Agent definitions (skills from .claude/skills/)
153
+
154
+ # Codex CLI
155
+ .codex/
156
+ └── skills/ # Skill definitions (no agents)
157
+
158
+ # Gemini CLI
159
+ .gemini/
160
+ ├── agents/
161
+ └── skills/
162
+
163
+ # Antigravity
164
+ .agent/
165
+ ├── rules/ # wtv-bootstrap.md (directs to AGENTS.md + agents/)
166
+ ├── agents/ # Agent definitions
167
+ └── skills/ # Skill definitions
168
+ ```
169
+
170
+ ## Vision-Driven Development
171
+
172
+ ### VISION.md
173
+
174
+ Create a vision file that agents align to. You can use a single `VISION.md` in the root, or organize multiple vision documents in a `vision/` directory.
175
+
176
+ ```bash
177
+ npx writethevision init # Wizard helps you define it
178
+ ```
179
+
180
+ ### Directory Structure (Optional)
181
+ For complex projects, use a `vision/` folder:
182
+ - `vision/VISION.md` (Primary)
183
+ - `vision/roadmap.md`
184
+ - `vision/ideas.md`
185
+ - `vision/values.md`
186
+
187
+ Paul and the artisans will read **all markdown files** in the `vision/` directory to understand the full context.
188
+
189
+ Sections:
190
+ - **Purpose** — Who is this for and what does it do?
191
+ - **Outcomes** — What does success look like?
192
+ - **Values** — What matters most? What tradeoffs are acceptable?
193
+ - **Constraints** — What's off-limits?
194
+ - **Stage** — Prototype / MVP / Production / Maintenance
195
+ - **Current Focus** — What's the one thing right now?
196
+
197
+ ### The /wtv Command
198
+
199
+ Inside Claude Code, OpenCode, or Codex:
200
+
201
+ ```
202
+ /wtv # Strategic review: distance-to-vision
203
+ /wtv "implement OAuth login" # Tactical mission with counsel
204
+ ```
205
+
206
+ The Masterbuilder:
207
+ 1. Reads VISION.md
208
+ 2. Consults relevant artisans for counsel
209
+ 3. Creates a plan with complete task list
210
+ 4. Awaits your approval
211
+ 5. Delegates execution to artisans
212
+ 6. Verifies and integrates results
213
+
214
+ ### Distance Bands
215
+
216
+ Progress measured in honest bands, not percentages:
217
+
218
+ | Band | Meaning |
219
+ |------|---------|
220
+ | **Near** | Requirements mostly met; only polish remaining |
221
+ | **Medium** | Core approach exists but gaps block outcomes |
222
+ | **Far** | Missing fundamentals or contradicts vision |
223
+
224
+ ## The Habakkuk Workflow
225
+
226
+ A spiritual framework for product development based on Habakkuk 2:1-3.
227
+
228
+ > "I will stand upon my watch, and set me upon the tower, and will watch to see what he will say unto me... Write the vision, and make it plain upon tables, that he may run that readeth it."
229
+ > — Habakkuk 2:1-2 (KJV)
230
+
231
+ ### The Five Stages
232
+
233
+ ```
234
+ ┌───────────┐ ┌───────────┐ ┌───────────┐ ┌───────────┐ ┌───────────┐
235
+ │ CRY OUT │──▶│ WAIT │──▶│ VISION │──▶│ RUN │──▶│ WORSHIP │
236
+ │ Problem │ │ Seeking │ │ Answer │ │ Execute │ │ Gratitude│
237
+ └───────────┘ └───────────┘ └───────────┘ └───────────┘ └───────────┘
238
+ ```
239
+
240
+ 1. **CRY OUT** — Enter a problem or need ("I will stand upon my watch")
241
+ 2. **WAIT** — Position to receive, gather context, pray ("watch to see what he will say")
242
+ 3. **VISION** — The answer comes, write it plainly ("Write the vision, make it plain")
243
+ 4. **RUN** — Execute with clarity ("that he may run that readeth it")
244
+ 5. **WORSHIP** — Retrospective, gratitude, stones of remembrance (Habakkuk 3)
245
+
246
+ ### Workflow Commands
247
+
248
+ ```bash
249
+ # View your board
250
+ wtv board # Show kanban board
251
+
252
+ # Create and move items
253
+ wtv cry "description" # Enter a problem or need
254
+ wtv wait <id> # Move to waiting (seeking)
255
+ wtv vision <id> # Move to vision (answer received)
256
+ wtv run <id> # Move to execution
257
+ wtv worship <id> # Complete with retrospective
258
+
259
+ # Manage items
260
+ wtv note <id> "text" # Add note while waiting
261
+ wtv item <id> # View item details
262
+ wtv stones # View completed works
263
+ ```
264
+
265
+ ### Vision and Worship Documents
266
+
267
+ When an item moves to **VISION**, a template is created:
268
+
269
+ ```
270
+ .wtv/habakkuk/items/001-password-reset/VISION.md
271
+ ```
272
+
273
+ When completing **WORSHIP**, a retrospective template is created:
274
+
275
+ ```
276
+ .wtv/habakkuk/items/001-password-reset/WORSHIP.md
277
+ ```
278
+
279
+ These documents capture:
280
+ - What was accomplished
281
+ - What was learned
282
+ - Evidence of God's faithfulness
283
+ - Gratitude notes
284
+ - Stones of remembrance
285
+
286
+ ### Integration with Masterbuilder
287
+
288
+ When you move an item to RUN, invoke the Masterbuilder inside your AI CLI:
289
+
290
+ ```
291
+ /wtv "password-reset"
292
+ ```
293
+
294
+ The Masterbuilder reads your vision document and coordinates the artisans.
295
+
296
+ ## Creating Custom Agents
297
+
298
+ ```bash
299
+ wtv agents add my-artisan
300
+ ```
301
+
302
+ This creates a new agent from template. Edit it:
303
+
304
+ ```bash
305
+ wtv agents edit my-artisan
306
+ ```
307
+
308
+ The template follows the artisan-contract pattern:
309
+ - Counsel mode (provide advice)
310
+ - Execution mode (implement tasks)
311
+ - Vision alignment
312
+ - Evidence citations
313
+
314
+ ## CLI Reference
315
+
316
+ ```bash
317
+ # Dashboard & Agents
318
+ wtv # Dashboard
319
+ wtv agents # List agents
320
+ wtv agents add <name> # Create agent
321
+ wtv agents edit <name> # Edit agent
322
+ wtv agents fav <name> # Toggle favorite
323
+ wtv agents rm <name> # Remove agent
324
+
325
+ # Habakkuk Workflow
326
+ wtv board # Show kanban board
327
+ wtv cry "description" # Enter a problem
328
+ wtv wait <id> # Move to waiting
329
+ wtv vision <id> # Move to vision
330
+ wtv run <id> # Move to execution
331
+ wtv worship <id> # Complete with retrospective
332
+ wtv note <id> "text" # Add note to item
333
+ wtv item <id> # Show item details
334
+ wtv stones # View completed works
335
+
336
+ # Installation
337
+ wtv init # Interactive install
338
+ wtv init --claude # Claude Code
339
+ wtv init --opencode # OpenCode
340
+ wtv init --codex # Codex CLI
341
+ wtv init --gemini # Gemini CLI
342
+ wtv init --antigravity # Antigravity
343
+ wtv update # Update installations
344
+ wtv status # Show what's installed
345
+
346
+ # Vision
347
+ wtv vision # Show VISION.md status
348
+
349
+ # Help
350
+ wtv help # Show help
351
+ wtv --version # Show version
352
+ ```
353
+
354
+ ## Example Workflow
355
+
356
+ ```bash
357
+ # 1. Install wtv for Claude Code
358
+ npx writethevision init --claude
359
+
360
+ # 2. Create your vision
361
+ # (wizard runs during init, or edit VISION.md directly)
362
+
363
+ # 3. Start Claude Code and use your agents
364
+ claude
365
+
366
+ # 4. Inside Claude Code:
367
+ /wtv "implement user authentication"
368
+ # → Masterbuilder consults security, backend, database artisans
369
+ # → Creates plan with tasks
370
+ # → You approve
371
+ # → Artisans execute in parallel
372
+ # → Masterbuilder integrates and reports
373
+ ```
374
+
375
+ ## License
376
+
377
+ MIT
378
+
379
+ ## Author
380
+
381
+ Christopher Hogg
382
+ [GitHub](https://github.com/christopheraaronhogg)
package/bin/wtv.js ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env node
2
+
3
+ import { run } from '../src/cli.js';
4
+
5
+ run(process.argv.slice(2)).catch(err => {
6
+ console.error(`\n\x1b[31mError:\x1b[0m ${err.message}\n`);
7
+ process.exit(1);
8
+ });
package/package.json ADDED
@@ -0,0 +1,51 @@
1
+ {
2
+ "name": "writethevision",
3
+ "version": "7.0.1",
4
+ "description": "Write The Vision (WTV): vision-driven development with the Habakkuk workflow. 10 agents + 21 skills for Claude Code, Codex CLI, and OpenCode.",
5
+ "author": "Christopher Hogg",
6
+ "license": "MIT",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "https://github.com/christopheraaronhogg/codehogg.git"
10
+ },
11
+ "homepage": "https://github.com/christopheraaronhogg/codehogg#readme",
12
+ "bugs": {
13
+ "url": "https://github.com/christopheraaronhogg/codehogg/issues"
14
+ },
15
+ "keywords": [
16
+ "claude",
17
+ "claude-code",
18
+ "codex",
19
+ "codex-cli",
20
+ "opencode",
21
+ "openai",
22
+ "ai",
23
+ "habakkuk",
24
+ "kanban",
25
+ "vision",
26
+ "workflow",
27
+ "audit",
28
+ "architecture",
29
+ "security",
30
+ "performance",
31
+ "code-quality",
32
+ "consultants",
33
+ "planning"
34
+ ],
35
+ "bin": {
36
+ "wtv": "./bin/wtv.js",
37
+ "writethevision": "./bin/wtv.js"
38
+ },
39
+ "files": [
40
+ "bin",
41
+ "src",
42
+ "templates"
43
+ ],
44
+ "engines": {
45
+ "node": ">=20.0.0"
46
+ },
47
+ "type": "module",
48
+ "dependencies": {
49
+ "update-notifier": "^7.3.1"
50
+ }
51
+ }