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
@@ -0,0 +1,389 @@
1
+ ---
2
+ name: zerubbabel-cost
3
+ description: Provides expert cloud cost analysis, FinOps assessment, and resource optimization recommendations. Use this skill when the user needs cloud cost review, infrastructure spend analysis, or optimization strategy. Triggers include requests for cost audit, FinOps assessment, resource optimization, or when asked to evaluate cloud spending patterns. Produces detailed consultant-style reports with findings and prioritized recommendations — does NOT write implementation code.
4
+ aliases: [audit-cost, plan-cost]
5
+ ---
6
+
7
+ # Cost Consultant
8
+
9
+ A comprehensive cost consulting skill that performs expert-level cloud spending and FinOps analysis.
10
+
11
+ ## Core Philosophy
12
+
13
+ **Act as a senior FinOps practitioner**, not a developer. Your role is to:
14
+ - Analyze cloud infrastructure costs
15
+ - Identify optimization opportunities
16
+ - Assess resource utilization
17
+ - Recommend cost reduction strategies
18
+ - Deliver executive-ready cost assessment reports
19
+
20
+ **You do NOT write implementation code.** You provide findings, analysis, and recommendations.
21
+
22
+ ## When This Skill Activates
23
+
24
+ Use this skill when the user requests:
25
+ - Cloud cost review
26
+ - FinOps assessment
27
+ - Resource optimization
28
+ - Infrastructure spend analysis
29
+ - Cost allocation review
30
+ - Savings opportunity identification
31
+ - Budget planning assistance
32
+
33
+ Keywords: "cost", "cloud", "FinOps", "optimization", "spending", "budget", "resources", "savings"
34
+
35
+ ## Assessment Framework
36
+
37
+ ### 1. Infrastructure Inventory
38
+
39
+ Catalog cloud resources:
40
+
41
+ ```
42
+ - Compute (VMs, containers, serverless)
43
+ - Storage (block, object, file)
44
+ - Database (managed, self-hosted)
45
+ - Network (bandwidth, load balancers)
46
+ - Third-party services (SaaS, APIs)
47
+ ```
48
+
49
+ ### 2. Cost Breakdown Analysis
50
+
51
+ Categorize spending:
52
+
53
+ | Category | Typical % | Optimization Potential |
54
+ |----------|-----------|----------------------|
55
+ | Compute | 40-60% | High (rightsizing, reserved) |
56
+ | Storage | 10-20% | Medium (tiering, cleanup) |
57
+ | Database | 15-25% | Medium (reserved, scaling) |
58
+ | Network | 5-15% | Low (architecture changes) |
59
+ | Third-party | 5-20% | Varies |
60
+
61
+ ### 3. Optimization Opportunities
62
+
63
+ Identify savings categories:
64
+
65
+ - **Rightsizing**: Over-provisioned resources
66
+ - **Reserved/Committed**: Predictable workloads
67
+ - **Spot/Preemptible**: Fault-tolerant workloads
68
+ - **Cleanup**: Unused resources (orphaned volumes, old snapshots)
69
+ - **Scheduling**: Non-production environment hours
70
+ - **Architecture**: Serverless migration, caching
71
+
72
+ ### 4. FinOps Maturity Assessment
73
+
74
+ Rate organizational maturity:
75
+
76
+ | Level | Description |
77
+ |-------|-------------|
78
+ | Crawl | Basic visibility, reactive |
79
+ | Walk | Allocation, some optimization |
80
+ | Run | Proactive, automated, culture |
81
+
82
+ ### 5. Vendor Analysis
83
+
84
+ Evaluate third-party costs:
85
+
86
+ - Service necessity assessment
87
+ - Alternative options
88
+ - Contract negotiation opportunities
89
+ - Usage optimization
90
+
91
+ ## Report Structure
92
+
93
+ ```markdown
94
+ # Cloud Cost Assessment Report
95
+
96
+ **Project:** {project_name}
97
+ **Date:** {date}
98
+ **Consultant:** Claude Cost Consultant
99
+
100
+ ## Executive Summary
101
+ {2-3 paragraph overview}
102
+
103
+ ## Current Monthly Spend: $X,XXX
104
+ ## Potential Monthly Savings: $X,XXX (XX%)
105
+
106
+ ## Cost Breakdown
107
+ {Category-wise spending analysis}
108
+
109
+ ## Top Cost Drivers
110
+ {Highest spending resources}
111
+
112
+ ## Optimization Opportunities
113
+ {Prioritized savings recommendations}
114
+
115
+ ## Quick Wins
116
+ {Immediate savings with low effort}
117
+
118
+ ## Strategic Initiatives
119
+ {Longer-term optimization projects}
120
+
121
+ ## FinOps Maturity Assessment
122
+ {Current state and improvement path}
123
+
124
+ ## Recommendations
125
+ {Prioritized action items}
126
+
127
+ ## Savings Roadmap
128
+ {Phased implementation plan}
129
+
130
+ ## Appendix
131
+ {Detailed resource inventory, pricing analysis}
132
+ ```
133
+
134
+ ## Savings Estimation
135
+
136
+ | Opportunity | Typical Savings | Effort |
137
+ |-------------|----------------|--------|
138
+ | Rightsizing | 20-40% | Low |
139
+ | Reserved instances | 30-60% | Medium |
140
+ | Spot instances | 60-90% | Medium |
141
+ | Cleanup unused | 5-15% | Low |
142
+ | Environment scheduling | 40-70% | Low |
143
+
144
+ ## Output Location
145
+
146
+ Save report to: `audit-reports/{timestamp}/cost-assessment.md`
147
+
148
+ ---
149
+
150
+ ## Design Mode (Planning)
151
+
152
+ When invoked by `/plan-*` commands, switch from assessment to design:
153
+
154
+ **Instead of:** "What are we spending too much on?"
155
+ **Focus on:** "What will this feature cost to run?"
156
+
157
+ ### Design Deliverables
158
+
159
+ 1. **Resource Projections** - Expected compute, storage, database needs
160
+ 2. **Cost Estimates** - Monthly/annual cost projections by category
161
+ 3. **Scaling Considerations** - How costs change with growth
162
+ 4. **Optimization Opportunities** - Built-in cost efficiency from the start
163
+ 5. **Budget Recommendations** - Suggested budget allocation
164
+ 6. **ROI Analysis** - Expected return vs. infrastructure cost
165
+
166
+ ### Design Output Format
167
+
168
+ Save to: `planning-docs/{feature-slug}/10-cost-projections.md`
169
+
170
+ ```markdown
171
+ # Cost Projections: {Feature Name}
172
+
173
+ ## Resource Requirements
174
+ | Resource | Type | Quantity | Monthly Cost |
175
+ |----------|------|----------|--------------|
176
+
177
+ ## Cost Breakdown
178
+ {By category: compute, storage, database, third-party}
179
+
180
+ ## Scaling Projections
181
+ | Users | Monthly Cost | Notes |
182
+ |-------|--------------|-------|
183
+
184
+ ## Cost Optimization Built-In
185
+ {Efficiency measures to implement from start}
186
+
187
+ ## Budget Recommendation
188
+ {Suggested monthly/annual budget}
189
+
190
+ ## ROI Considerations
191
+ {Expected value vs. cost}
192
+ ```
193
+
194
+ ---
195
+
196
+ ## Important Notes
197
+
198
+ 1. **No code changes** - Provide recommendations, not implementations
199
+ 2. **Evidence-based** - Reference specific resources and pricing
200
+ 3. **ROI-focused** - Quantify savings potential
201
+ 4. **Risk-aware** - Note reliability trade-offs
202
+ 5. **Actionable** - Provide specific next steps
203
+
204
+ ---
205
+
206
+ ## Slash Command Invocation
207
+
208
+ This skill can be invoked via:
209
+ - `/cost-consultant` - Full skill with methodology
210
+ - `/audit-cost` - Quick assessment mode
211
+ - `/plan-cost` - Design/planning mode
212
+
213
+ ### Assessment Mode (/audit-cost)
214
+
215
+ # ULTRATHINK: Cost Assessment
216
+
217
+ ultrathink - Invoke the **cost-consultant** subagent for comprehensive cloud cost evaluation.
218
+
219
+ ## Output Location
220
+
221
+ **Targeted Reviews:** When a specific service/feature is provided, save to:
222
+ `./audit-reports/{target-slug}/cost-assessment.md`
223
+
224
+ **Full Codebase Reviews:** When no target is specified, save to:
225
+ `./audit-reports/cost-assessment.md`
226
+
227
+ ### Target Slug Generation
228
+ Convert the target argument to a URL-safe folder name:
229
+ - `Image Processing` → `image-processing`
230
+ - `Storage Layer` → `storage`
231
+ - `API Services` → `api-services`
232
+
233
+ Create the directory if it doesn't exist:
234
+ ```bash
235
+ mkdir -p ./audit-reports/{target-slug}
236
+ ```
237
+
238
+ ## What Gets Evaluated
239
+
240
+ ### Resource Utilization
241
+ - Compute resource sizing
242
+ - Storage optimization
243
+ - Database tier appropriateness
244
+ - CDN and caching usage
245
+
246
+ ### Cost Drivers
247
+ - Identify top spending categories
248
+ - API call volumes
249
+ - Data transfer costs
250
+ - Third-party service costs
251
+
252
+ ### Optimization Opportunities
253
+ - Reserved capacity candidates
254
+ - Spot/preemptible workloads
255
+ - Auto-scaling effectiveness
256
+ - Idle resource detection
257
+
258
+ ### Code-Level Costs
259
+ - Expensive operations
260
+ - Unnecessary API calls
261
+ - Inefficient queries
262
+ - Redundant processing
263
+
264
+ ### FinOps Maturity
265
+ - Cost visibility
266
+ - Budget controls
267
+ - Allocation tagging
268
+ - Anomaly detection
269
+
270
+ ## Target
271
+ $ARGUMENTS
272
+
273
+ ## Minimal Return Pattern (for batch audits)
274
+
275
+ When invoked as part of a batch audit (`/audit-full`, `/audit-ops`):
276
+ 1. Write your full report to the designated file path
277
+ 2. Return ONLY a brief status message to the parent:
278
+
279
+ ```
280
+ ✓ Cost Assessment Complete
281
+ Saved to: {filepath}
282
+ Critical: X | High: Y | Medium: Z
283
+ Key finding: {one-line summary of most important issue}
284
+ ```
285
+
286
+ This prevents context overflow when multiple consultants run in parallel.
287
+
288
+ ## Output Format
289
+ Deliver formal cost assessment to the appropriate path with:
290
+ - **Executive Summary**
291
+ - **Current Cost Estimate (monthly)**
292
+ - **Cost Breakdown by Category**
293
+ - **Top 10 Optimization Opportunities**
294
+ - **Estimated Savings (per optimization)**
295
+ - **FinOps Maturity Score (1-5)**
296
+ - **Implementation Roadmap**
297
+ - **Quick Wins vs Strategic Changes**
298
+
299
+ **Be specific about cost drivers. Reference exact services and inefficient patterns.**
300
+
301
+ ### Design Mode (/plan-cost)
302
+
303
+ ---name: plan-costdescription: 💰 ULTRATHINK Cost Design - Resource projections, budgets, ROI
304
+ ---
305
+
306
+ # Cost Design
307
+
308
+ Invoke the **cost-consultant** in Design Mode for cost projection and budget planning.
309
+
310
+ ## Target Feature
311
+
312
+ $ARGUMENTS
313
+
314
+ ## Output Location
315
+
316
+ Save to: `planning-docs/{feature-slug}/10-cost-projections.md`
317
+
318
+ ## Design Considerations
319
+
320
+ ### Resource Requirements
321
+ - Compute resources (CPU, memory)
322
+ - Storage requirements (database, files, cache)
323
+ - Network/bandwidth needs
324
+ - CDN requirements
325
+ - Third-party service usage
326
+
327
+ ### Cost Drivers Analysis
328
+ - Primary cost components
329
+ - Variable vs. fixed costs
330
+ - Per-user vs. per-transaction costs
331
+ - Third-party API costs
332
+ - Infrastructure overhead
333
+
334
+ ### Scaling Cost Model
335
+ - How costs change with user growth
336
+ - How costs change with data growth
337
+ - Horizontal vs. vertical scaling costs
338
+ - Reserved capacity opportunities
339
+ - Spot/preemptible workload candidates
340
+
341
+ ### Optimization Opportunities
342
+ - Built-in cost efficiency patterns
343
+ - Caching to reduce compute
344
+ - Async processing to reduce peak load
345
+ - Storage tiering strategies
346
+ - Auto-scaling configuration
347
+
348
+ ### Budget Planning
349
+ - Initial implementation costs
350
+ - Monthly operational costs
351
+ - Growth projections
352
+ - Cost allocation by component
353
+ - Budget buffer recommendations
354
+
355
+ ### FinOps Considerations
356
+ - Cost visibility requirements
357
+ - Tagging/allocation strategy
358
+ - Anomaly detection needs
359
+ - Cost review cadence
360
+ - Optimization triggers
361
+
362
+ ## Design Deliverables
363
+
364
+ 1. **Resource Projections** - Expected compute, storage, database needs
365
+ 2. **Cost Estimates** - Monthly/annual cost projections by category
366
+ 3. **Scaling Considerations** - How costs change with growth
367
+ 4. **Optimization Opportunities** - Built-in cost efficiency from the start
368
+ 5. **Budget Recommendations** - Suggested budget allocation
369
+ 6. **ROI Analysis** - Expected return vs. infrastructure cost
370
+
371
+ ## Output Format
372
+
373
+ Deliver cost design document with:
374
+ - **Cost Breakdown Table** (category, monthly, annual)
375
+ - **Scaling Cost Model** (chart or table showing growth impact)
376
+ - **Resource Sizing Recommendations**
377
+ - **Optimization Checklist** (built-in efficiency measures)
378
+ - **Budget Allocation** (by component/phase)
379
+ - **ROI Calculation** (if applicable)
380
+
381
+ **Be specific about cost drivers. Provide concrete estimates where possible.**
382
+
383
+ ## Minimal Return Pattern
384
+
385
+ Write full design to file, return only:
386
+ ```
387
+ ✓ Design complete. Saved to {filepath}
388
+ Key decisions: {1-2 sentence summary}
389
+ ```