specweave 0.23.14 → 0.23.16
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.
- package/CLAUDE.md +55 -0
- package/dist/src/core/spec-detector.d.ts +5 -0
- package/dist/src/core/spec-detector.d.ts.map +1 -1
- package/dist/src/core/spec-detector.js +91 -33
- package/dist/src/core/spec-detector.js.map +1 -1
- package/package.json +1 -1
- package/plugins/specweave-github/.claude-plugin/plugin.json +15 -1
- package/plugins/specweave-github/hooks/.specweave/logs/hooks-debug.log +16 -0
- package/plugins/specweave-github/hooks/post-task-completion.sh +53 -0
- package/plugins/specweave-release/hooks/.specweave/logs/dora-tracking.log +24 -0
- package/plugins/specweave-alternatives/.claude-plugin/plugin.json +0 -21
- package/plugins/specweave-alternatives/skills/bmad-method-expert/SKILL.md +0 -626
- package/plugins/specweave-alternatives/skills/bmad-method-expert/scripts/analyze-project.js +0 -318
- package/plugins/specweave-alternatives/skills/bmad-method-expert/scripts/check-setup.js +0 -208
- package/plugins/specweave-alternatives/skills/bmad-method-expert/scripts/generate-template.js +0 -1149
- package/plugins/specweave-alternatives/skills/bmad-method-expert/scripts/validate-documents.js +0 -340
- package/plugins/specweave-alternatives/skills/spec-kit-expert/SKILL.md +0 -1010
- package/plugins/specweave-cost-optimizer/.claude-plugin/plugin.json +0 -20
- package/plugins/specweave-cost-optimizer/skills/cost-optimizer/SKILL.md +0 -190
- package/plugins/specweave-docs/.claude-plugin/plugin.json +0 -19
- package/plugins/specweave-docs/skills/docusaurus/SKILL.md +0 -613
- package/plugins/specweave-docs/skills/spec-driven-brainstorming/README.md +0 -264
- package/plugins/specweave-docs/skills/spec-driven-brainstorming/SKILL.md +0 -439
- package/plugins/specweave-docs/skills/spec-driven-debugging/README.md +0 -479
- package/plugins/specweave-docs/skills/spec-driven-debugging/SKILL.md +0 -652
- package/plugins/specweave-figma/.claude-plugin/.mcp.json +0 -12
- package/plugins/specweave-figma/.claude-plugin/plugin.json +0 -20
- package/plugins/specweave-figma/ARCHITECTURE.md +0 -453
- package/plugins/specweave-figma/README.md +0 -728
- package/plugins/specweave-figma/skills/figma-to-code/SKILL.md +0 -632
- package/plugins/specweave-figma/skills/figma-to-code/test-1-token-generation.yaml +0 -29
- package/plugins/specweave-figma/skills/figma-to-code/test-2-component-generation.yaml +0 -27
- package/plugins/specweave-figma/skills/figma-to-code/test-3-typescript-generation.yaml +0 -28
- package/plugins/specweave-frontend/.claude-plugin/plugin.json +0 -21
- package/plugins/specweave-frontend/skills/design-system-architect/SKILL.md +0 -107
- package/plugins/specweave-frontend/skills/frontend/SKILL.md +0 -177
- package/plugins/specweave-frontend/skills/nextjs/SKILL.md +0 -176
- package/plugins/specweave-testing/.claude-plugin/plugin.json +0 -20
- package/plugins/specweave-testing/skills/e2e-playwright/README.md +0 -506
- package/plugins/specweave-testing/skills/e2e-playwright/SKILL.md +0 -457
- package/plugins/specweave-testing/skills/e2e-playwright/execute.js +0 -373
- package/plugins/specweave-testing/skills/e2e-playwright/lib/utils.js +0 -514
- package/plugins/specweave-testing/skills/e2e-playwright/package.json +0 -33
- package/plugins/specweave-tooling/.claude-plugin/plugin.json +0 -19
- package/plugins/specweave-tooling/skills/skill-creator/LICENSE.txt +0 -202
- package/plugins/specweave-tooling/skills/skill-creator/SKILL.md +0 -209
- package/plugins/specweave-tooling/skills/skill-creator/scripts/init_skill.py +0 -303
- package/plugins/specweave-tooling/skills/skill-creator/scripts/package_skill.py +0 -110
- package/plugins/specweave-tooling/skills/skill-creator/scripts/quick_validate.py +0 -65
- package/plugins/specweave-tooling/skills/skill-router/SKILL.md +0 -479
- package/plugins/specweave-ui/.claude-plugin/plugin.json +0 -26
- package/plugins/specweave-ui/.mcp.json +0 -10
- package/plugins/specweave-ui/README.md +0 -492
- package/plugins/specweave-ui/skills/browser-automation/SKILL.md +0 -676
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "specweave-cost-optimizer",
|
|
3
|
-
"description": "Cloud cost optimization and platform comparison. Analyzes infrastructure requirements and recommends cheapest cloud platform (Hetzner, Vercel, AWS, Railway, Fly.io, DigitalOcean). Shows cost breakdown and savings calculations.",
|
|
4
|
-
"version": "0.22.14",
|
|
5
|
-
"author": {
|
|
6
|
-
"name": "SpecWeave Team",
|
|
7
|
-
"url": "https://spec-weave.com"
|
|
8
|
-
},
|
|
9
|
-
"homepage": "https://spec-weave.com",
|
|
10
|
-
"repository": "https://github.com/anton-abyzov/specweave",
|
|
11
|
-
"license": "MIT",
|
|
12
|
-
"keywords": [
|
|
13
|
-
"cost",
|
|
14
|
-
"optimization",
|
|
15
|
-
"cloud",
|
|
16
|
-
"pricing",
|
|
17
|
-
"budget",
|
|
18
|
-
"specweave"
|
|
19
|
-
]
|
|
20
|
-
}
|
|
@@ -1,190 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: cost-optimizer
|
|
3
|
-
description: Analyzes infrastructure requirements and recommends the cheapest cloud platform. Compares Hetzner, Vercel, AWS, Railway, Fly.io, DigitalOcean based on users, traffic, storage. Shows cost breakdown and savings. Activates for cheapest, budget, cost-effective, compare platforms, save money, affordable hosting.
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Cost Optimizer
|
|
7
|
-
|
|
8
|
-
Intelligent cloud platform comparison and recommendation engine that finds the cheapest infrastructure for your requirements.
|
|
9
|
-
|
|
10
|
-
## Purpose
|
|
11
|
-
|
|
12
|
-
Analyze application requirements (users, traffic, database, storage) and recommend the most cost-effective cloud platform with detailed cost breakdown and savings estimate.
|
|
13
|
-
|
|
14
|
-
## When to Use
|
|
15
|
-
|
|
16
|
-
Activates when user mentions:
|
|
17
|
-
- "cheapest"
|
|
18
|
-
- "budget"
|
|
19
|
-
- "cost-effective"
|
|
20
|
-
- "compare platforms"
|
|
21
|
-
- "save money"
|
|
22
|
-
- "affordable hosting"
|
|
23
|
-
- "under $X/month"
|
|
24
|
-
|
|
25
|
-
## What It Does
|
|
26
|
-
|
|
27
|
-
1. **Analyzes Requirements**:
|
|
28
|
-
- Expected users (100, 1000, 10000, 100000+)
|
|
29
|
-
- Traffic/requests per month
|
|
30
|
-
- Database needs (type, size)
|
|
31
|
-
- Storage requirements
|
|
32
|
-
- Geographic distribution
|
|
33
|
-
|
|
34
|
-
2. **Compares Platforms**:
|
|
35
|
-
- **Hetzner Cloud** - EU-based, budget-friendly ($5-50/mo)
|
|
36
|
-
- **Vercel** - Global edge, serverless ($0-240/mo)
|
|
37
|
-
- **AWS** - Full-featured, enterprise ($10-500/mo)
|
|
38
|
-
- **Railway** - Developer-friendly ($5-100/mo)
|
|
39
|
-
- **Fly.io** - Global, modern ($0-50/mo)
|
|
40
|
-
- **DigitalOcean** - Simple, balanced ($6-100/mo)
|
|
41
|
-
|
|
42
|
-
3. **Calculates Costs**:
|
|
43
|
-
- Compute (server instances, serverless functions)
|
|
44
|
-
- Database (managed vs self-hosted)
|
|
45
|
-
- Storage (object storage, CDN)
|
|
46
|
-
- Bandwidth (egress charges)
|
|
47
|
-
- Additional services (monitoring, backups)
|
|
48
|
-
|
|
49
|
-
4. **Recommends Best Option**:
|
|
50
|
-
- Primary recommendation with rationale
|
|
51
|
-
- Alternative options
|
|
52
|
-
- Cost breakdown
|
|
53
|
-
- Savings estimate vs alternatives
|
|
54
|
-
- Trade-offs explanation
|
|
55
|
-
|
|
56
|
-
## Example Usage
|
|
57
|
-
|
|
58
|
-
**User**: "I want to build a SaaS for 1000 users with Postgres, as cheaply as possible"
|
|
59
|
-
|
|
60
|
-
**cost-optimizer**:
|
|
61
|
-
```markdown
|
|
62
|
-
Analyzing cost options for your SaaS...
|
|
63
|
-
|
|
64
|
-
Requirements detected:
|
|
65
|
-
- Users: ~1000
|
|
66
|
-
- Database: Postgres
|
|
67
|
-
- Type: Full-stack SaaS
|
|
68
|
-
- Priority: Cost optimization
|
|
69
|
-
|
|
70
|
-
Platform Comparison:
|
|
71
|
-
|
|
72
|
-
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
73
|
-
|
|
74
|
-
OPTION 1: Hetzner Cloud (RECOMMENDED) ⭐
|
|
75
|
-
Monthly Cost: $11.33
|
|
76
|
-
|
|
77
|
-
Breakdown:
|
|
78
|
-
• CX11 server (1 vCPU, 2GB RAM): $5.83
|
|
79
|
-
• Managed Postgres (2GB): $5.00
|
|
80
|
-
• Storage (20GB): $0.50
|
|
81
|
-
• Bandwidth: Included
|
|
82
|
-
• SSL: Free (Let's Encrypt)
|
|
83
|
-
|
|
84
|
-
Pros:
|
|
85
|
-
✅ Lowest cost
|
|
86
|
-
✅ Simple, predictable pricing
|
|
87
|
-
✅ EU-based (GDPR-friendly)
|
|
88
|
-
✅ Managed database included
|
|
89
|
-
|
|
90
|
-
Cons:
|
|
91
|
-
⚠️ EU-only (no global edge)
|
|
92
|
-
⚠️ Manual scaling
|
|
93
|
-
⚠️ VM-based (not serverless)
|
|
94
|
-
|
|
95
|
-
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
96
|
-
|
|
97
|
-
OPTION 2: Railway
|
|
98
|
-
Monthly Cost: $20
|
|
99
|
-
|
|
100
|
-
Breakdown:
|
|
101
|
-
• Server (512MB RAM): $5
|
|
102
|
-
• Postgres (512MB): $5
|
|
103
|
-
• Additional resources: $10
|
|
104
|
-
|
|
105
|
-
Pros:
|
|
106
|
-
✅ Developer-friendly
|
|
107
|
-
✅ Auto-scaling
|
|
108
|
-
✅ GitHub integration
|
|
109
|
-
|
|
110
|
-
Cons:
|
|
111
|
-
⚠️ 77% more expensive than Hetzner
|
|
112
|
-
⚠️ Can get costly at scale
|
|
113
|
-
|
|
114
|
-
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
115
|
-
|
|
116
|
-
OPTION 3: Vercel + PlanetScale
|
|
117
|
-
Monthly Cost: $0 (Hobby) or $60 (Production)
|
|
118
|
-
|
|
119
|
-
Breakdown:
|
|
120
|
-
• Vercel Hobby: Free (limited)
|
|
121
|
-
• PlanetScale Hobby: Free (5GB)
|
|
122
|
-
|
|
123
|
-
OR
|
|
124
|
-
|
|
125
|
-
• Vercel Pro: $20
|
|
126
|
-
• PlanetScale Scaler: $39
|
|
127
|
-
• Total: $59
|
|
128
|
-
|
|
129
|
-
Pros:
|
|
130
|
-
✅ Global edge network
|
|
131
|
-
✅ Serverless
|
|
132
|
-
✅ Free tier available
|
|
133
|
-
|
|
134
|
-
Cons:
|
|
135
|
-
⚠️ Free tier very limited
|
|
136
|
-
⚠️ Production: 5x more expensive
|
|
137
|
-
⚠️ Vendor lock-in
|
|
138
|
-
|
|
139
|
-
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
140
|
-
|
|
141
|
-
RECOMMENDATION: Hetzner Cloud
|
|
142
|
-
|
|
143
|
-
Savings: $48.67/month vs Vercel ($584/year)
|
|
144
|
-
|
|
145
|
-
Best for:
|
|
146
|
-
• Budget-conscious developers
|
|
147
|
-
• EU/European audience
|
|
148
|
-
• Predictable costs
|
|
149
|
-
• Full control over infrastructure
|
|
150
|
-
|
|
151
|
-
Next steps:
|
|
152
|
-
1. Use hetzner-provisioner skill to deploy
|
|
153
|
-
2. Estimated setup time: 15 minutes
|
|
154
|
-
3. Can upgrade to CX21 ($7/mo) if scaling needed
|
|
155
|
-
```
|
|
156
|
-
|
|
157
|
-
## Cost Comparison Matrix
|
|
158
|
-
|
|
159
|
-
| Platform | Small (<1k users) | Medium (1k-10k) | Large (10k+) |
|
|
160
|
-
|----------|-------------------|-----------------|--------------|
|
|
161
|
-
| **Hetzner** | $11/mo | $18/mo | $36/mo |
|
|
162
|
-
| **Vercel** | $0 or $60/mo | $120/mo | $240/mo |
|
|
163
|
-
| **AWS** | $25/mo | $80/mo | $200/mo |
|
|
164
|
-
| **Railway** | $20/mo | $50/mo | $100/mo |
|
|
165
|
-
| **Fly.io** | $0-10/mo | $30/mo | $80/mo |
|
|
166
|
-
| **DigitalOcean** | $12/mo | $25/mo | $60/mo |
|
|
167
|
-
|
|
168
|
-
## Test Cases
|
|
169
|
-
|
|
170
|
-
See `test-cases/` for validation:
|
|
171
|
-
1. **test-1-basic-comparison.yaml** - Small SaaS comparison
|
|
172
|
-
2. **test-2-budget-constraint.yaml** - Stay under $20/month
|
|
173
|
-
3. **test-3-scale-requirement.yaml** - 10k users requirement
|
|
174
|
-
|
|
175
|
-
## Integration
|
|
176
|
-
|
|
177
|
-
Works with:
|
|
178
|
-
- `devops-agent` - Gets requirements from strategic planning
|
|
179
|
-
- `hetzner-provisioner` - Executes recommendation
|
|
180
|
-
- `architect-agent` - Informs platform choice in architecture
|
|
181
|
-
|
|
182
|
-
## Accuracy Target
|
|
183
|
-
|
|
184
|
-
- **95%+ recommendation accuracy** (cost within 10% of estimate)
|
|
185
|
-
- **100% coverage** of common SaaS scenarios
|
|
186
|
-
- **Real-time pricing** (updated quarterly)
|
|
187
|
-
|
|
188
|
-
---
|
|
189
|
-
|
|
190
|
-
**For detailed usage**, see `README.md` and test cases
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "specweave-docs",
|
|
3
|
-
"description": "Documentation generation and spec-driven workflows. Includes Docusaurus site generation from SpecWeave structure, spec-driven brainstorming for feature ideation, and spec-driven debugging. Focus on living documentation and knowledge management.",
|
|
4
|
-
"version": "0.22.14",
|
|
5
|
-
"author": {
|
|
6
|
-
"name": "SpecWeave Team",
|
|
7
|
-
"url": "https://spec-weave.com"
|
|
8
|
-
},
|
|
9
|
-
"homepage": "https://spec-weave.com",
|
|
10
|
-
"repository": "https://github.com/anton-abyzov/specweave",
|
|
11
|
-
"license": "MIT",
|
|
12
|
-
"keywords": [
|
|
13
|
-
"documentation",
|
|
14
|
-
"docusaurus",
|
|
15
|
-
"specs",
|
|
16
|
-
"docs-generation",
|
|
17
|
-
"specweave"
|
|
18
|
-
]
|
|
19
|
-
}
|