specweave 0.23.14 → 0.23.18

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 (119) hide show
  1. package/.claude-plugin/marketplace.json +11 -0
  2. package/CLAUDE.md +77 -7
  3. package/dist/plugins/specweave-github/lib/github-spec-content-sync.d.ts.map +1 -1
  4. package/dist/plugins/specweave-github/lib/github-spec-content-sync.js +57 -0
  5. package/dist/plugins/specweave-github/lib/github-spec-content-sync.js.map +1 -1
  6. package/dist/src/cli/commands/sync-spec-content.js +3 -0
  7. package/dist/src/cli/commands/sync-spec-content.js.map +1 -1
  8. package/dist/src/core/progress/progress-tracker.d.ts +4 -1
  9. package/dist/src/core/progress/progress-tracker.d.ts.map +1 -1
  10. package/dist/src/core/progress/progress-tracker.js +33 -4
  11. package/dist/src/core/progress/progress-tracker.js.map +1 -1
  12. package/dist/src/core/spec-content-sync.d.ts +1 -1
  13. package/dist/src/core/spec-content-sync.d.ts.map +1 -1
  14. package/dist/src/core/spec-detector.d.ts +5 -0
  15. package/dist/src/core/spec-detector.d.ts.map +1 -1
  16. package/dist/src/core/spec-detector.js +91 -33
  17. package/dist/src/core/spec-detector.js.map +1 -1
  18. package/dist/src/integrations/ado/ado-dependency-loader.d.ts +1 -1
  19. package/dist/src/integrations/ado/ado-dependency-loader.d.ts.map +1 -1
  20. package/dist/src/integrations/ado/ado-dependency-loader.js +39 -7
  21. package/dist/src/integrations/ado/ado-dependency-loader.js.map +1 -1
  22. package/package.json +1 -1
  23. package/plugins/specweave/hooks/lib/migrate-increment-work.sh +1 -1
  24. package/plugins/specweave/hooks/lib/migrate-increment-work.sh.bak +245 -0
  25. package/plugins/specweave/hooks/lib/sync-spec-content.sh +2 -2
  26. package/plugins/specweave/hooks/lib/sync-spec-content.sh.bak +149 -0
  27. package/plugins/specweave/hooks/lib/update-status-line.sh +34 -4
  28. package/plugins/specweave/hooks/lib/validate-spec-status.sh +1 -1
  29. package/plugins/specweave/hooks/lib/validate-spec-status.sh.bak +163 -0
  30. package/plugins/specweave/hooks/post-first-increment.sh +1 -1
  31. package/plugins/specweave/hooks/post-first-increment.sh.bak +61 -0
  32. package/plugins/specweave/hooks/post-spec-update.sh +1 -1
  33. package/plugins/specweave/hooks/post-spec-update.sh.bak +158 -0
  34. package/plugins/specweave/hooks/post-user-story-complete.sh +1 -1
  35. package/plugins/specweave/hooks/post-user-story-complete.sh.bak +179 -0
  36. package/plugins/specweave/hooks/pre-command-deduplication.sh +1 -1
  37. package/plugins/specweave/hooks/pre-command-deduplication.sh.bak +83 -0
  38. package/plugins/specweave/hooks/user-prompt-submit.sh +1 -1
  39. package/plugins/specweave/hooks/user-prompt-submit.sh.bak +386 -0
  40. package/plugins/specweave/skills/specweave-framework/SKILL.md +1 -1
  41. package/plugins/specweave-ado/agents/ado-manager/AGENT.md +23 -0
  42. package/plugins/specweave-ado/agents/ado-multi-project-mapper/AGENT.md +23 -0
  43. package/plugins/specweave-ado/agents/ado-sync-judge/AGENT.md +23 -0
  44. package/plugins/specweave-backend/agents/database-optimizer/AGENT.md +23 -0
  45. package/plugins/specweave-confluent/agents/confluent-architect/AGENT.md +23 -0
  46. package/plugins/specweave-diagrams/agents/diagrams-architect/AGENT.md +23 -0
  47. package/plugins/specweave-github/.claude-plugin/plugin.json +15 -1
  48. package/plugins/specweave-github/agents/github-manager/AGENT.md +23 -0
  49. package/plugins/specweave-github/agents/github-task-splitter/AGENT.md +25 -0
  50. package/plugins/specweave-github/agents/user-story-updater/AGENT.md +25 -0
  51. package/plugins/specweave-github/hooks/.specweave/logs/hooks-debug.log +16 -0
  52. package/plugins/specweave-github/hooks/post-task-completion.sh +53 -0
  53. package/plugins/specweave-github/lib/github-spec-content-sync.js +49 -0
  54. package/plugins/specweave-github/lib/github-spec-content-sync.ts +67 -0
  55. package/plugins/specweave-infrastructure/agents/devops/AGENT.md +26 -0
  56. package/plugins/specweave-infrastructure/agents/network-engineer/AGENT.md +26 -0
  57. package/plugins/specweave-infrastructure/agents/observability-engineer/AGENT.md +26 -0
  58. package/plugins/specweave-infrastructure/agents/performance-engineer/AGENT.md +26 -0
  59. package/plugins/specweave-infrastructure/agents/sre/AGENT.md +26 -0
  60. package/plugins/specweave-jira/agents/jira-manager/AGENT.md +26 -0
  61. package/plugins/specweave-kafka/agents/kafka-architect/AGENT.md +26 -0
  62. package/plugins/specweave-kafka/agents/kafka-devops/AGENT.md +26 -0
  63. package/plugins/specweave-kafka/agents/kafka-observability/AGENT.md +26 -0
  64. package/plugins/specweave-kubernetes/agents/kubernetes-architect/AGENT.md +26 -0
  65. package/plugins/specweave-ml/.claude-plugin/plugin.json +2 -2
  66. package/plugins/specweave-ml/agents/data-scientist/AGENT.md +26 -0
  67. package/plugins/specweave-ml/agents/ml-engineer/AGENT.md +26 -0
  68. package/plugins/specweave-ml/agents/mlops-engineer/AGENT.md +26 -0
  69. package/plugins/specweave-mobile/agents/mobile-architect/AGENT.md +26 -0
  70. package/plugins/specweave-payments/agents/payment-integration/AGENT.md +26 -0
  71. package/plugins/specweave-plugin-dev/.claude-plugin/plugin.json +19 -0
  72. package/plugins/specweave-plugin-dev/skills/plugin-expert/SKILL.md +1231 -0
  73. package/plugins/specweave-release/agents/release-manager/AGENT.md +27 -0
  74. package/plugins/specweave-release/hooks/.specweave/logs/dora-tracking.log +24 -0
  75. package/plugins/specweave/skills/plugin-expert/SKILL.md +0 -340
  76. package/plugins/specweave-alternatives/.claude-plugin/plugin.json +0 -21
  77. package/plugins/specweave-alternatives/skills/bmad-method-expert/SKILL.md +0 -626
  78. package/plugins/specweave-alternatives/skills/bmad-method-expert/scripts/analyze-project.js +0 -318
  79. package/plugins/specweave-alternatives/skills/bmad-method-expert/scripts/check-setup.js +0 -208
  80. package/plugins/specweave-alternatives/skills/bmad-method-expert/scripts/generate-template.js +0 -1149
  81. package/plugins/specweave-alternatives/skills/bmad-method-expert/scripts/validate-documents.js +0 -340
  82. package/plugins/specweave-alternatives/skills/spec-kit-expert/SKILL.md +0 -1010
  83. package/plugins/specweave-cost-optimizer/.claude-plugin/plugin.json +0 -20
  84. package/plugins/specweave-cost-optimizer/skills/cost-optimizer/SKILL.md +0 -190
  85. package/plugins/specweave-docs/.claude-plugin/plugin.json +0 -19
  86. package/plugins/specweave-docs/skills/docusaurus/SKILL.md +0 -613
  87. package/plugins/specweave-docs/skills/spec-driven-brainstorming/README.md +0 -264
  88. package/plugins/specweave-docs/skills/spec-driven-brainstorming/SKILL.md +0 -439
  89. package/plugins/specweave-docs/skills/spec-driven-debugging/README.md +0 -479
  90. package/plugins/specweave-docs/skills/spec-driven-debugging/SKILL.md +0 -652
  91. package/plugins/specweave-figma/.claude-plugin/.mcp.json +0 -12
  92. package/plugins/specweave-figma/.claude-plugin/plugin.json +0 -20
  93. package/plugins/specweave-figma/ARCHITECTURE.md +0 -453
  94. package/plugins/specweave-figma/README.md +0 -728
  95. package/plugins/specweave-figma/skills/figma-to-code/SKILL.md +0 -632
  96. package/plugins/specweave-figma/skills/figma-to-code/test-1-token-generation.yaml +0 -29
  97. package/plugins/specweave-figma/skills/figma-to-code/test-2-component-generation.yaml +0 -27
  98. package/plugins/specweave-figma/skills/figma-to-code/test-3-typescript-generation.yaml +0 -28
  99. package/plugins/specweave-frontend/.claude-plugin/plugin.json +0 -21
  100. package/plugins/specweave-frontend/skills/design-system-architect/SKILL.md +0 -107
  101. package/plugins/specweave-frontend/skills/frontend/SKILL.md +0 -177
  102. package/plugins/specweave-frontend/skills/nextjs/SKILL.md +0 -176
  103. package/plugins/specweave-testing/.claude-plugin/plugin.json +0 -20
  104. package/plugins/specweave-testing/skills/e2e-playwright/README.md +0 -506
  105. package/plugins/specweave-testing/skills/e2e-playwright/SKILL.md +0 -457
  106. package/plugins/specweave-testing/skills/e2e-playwright/execute.js +0 -373
  107. package/plugins/specweave-testing/skills/e2e-playwright/lib/utils.js +0 -514
  108. package/plugins/specweave-testing/skills/e2e-playwright/package.json +0 -33
  109. package/plugins/specweave-tooling/.claude-plugin/plugin.json +0 -19
  110. package/plugins/specweave-tooling/skills/skill-creator/LICENSE.txt +0 -202
  111. package/plugins/specweave-tooling/skills/skill-creator/SKILL.md +0 -209
  112. package/plugins/specweave-tooling/skills/skill-creator/scripts/init_skill.py +0 -303
  113. package/plugins/specweave-tooling/skills/skill-creator/scripts/package_skill.py +0 -110
  114. package/plugins/specweave-tooling/skills/skill-creator/scripts/quick_validate.py +0 -65
  115. package/plugins/specweave-tooling/skills/skill-router/SKILL.md +0 -479
  116. package/plugins/specweave-ui/.claude-plugin/plugin.json +0 -26
  117. package/plugins/specweave-ui/.mcp.json +0 -10
  118. package/plugins/specweave-ui/README.md +0 -492
  119. package/plugins/specweave-ui/skills/browser-automation/SKILL.md +0 -676
@@ -1,264 +0,0 @@
1
- # Spec-Driven Brainstorming Skill
2
-
3
- ## Overview
4
-
5
- The **spec-driven-brainstorming** skill transforms rough, vague ideas into specification-ready designs through structured Socratic questioning, alternative exploration, and incremental validation. It prepares ideas for SpecWeave's increment creation workflow.
6
-
7
- ## Purpose
8
-
9
- This skill bridges the gap between **"I have an idea"** and **"I have a validated design ready for implementation."**
10
-
11
- It helps users:
12
- - Clarify vague requirements through targeted questioning
13
- - Explore multiple architectural approaches with trade-offs
14
- - Validate designs incrementally before committing to code
15
- - Make informed technology choices aligned with existing projects
16
- - Leverage deep reasoning (ultrathink) for complex problems
17
- - Create SpecWeave increments with confidence
18
-
19
- ## Inspired By
20
-
21
- This skill is **adapted from** [obra/superpowers brainstorming skill](https://github.com/obra/superpowers/tree/main/skills/brainstorming) and modified for SpecWeave's spec-driven development methodology.
22
-
23
- **Key differences from the original:**
24
- - ✅ Integrates with SpecWeave's increment workflow (spec.md, plan.md, context manifests)
25
- - ✅ Includes tech stack detection phase (aligns with existing projects)
26
- - ✅ Incorporates **ultrathink mode** for complex reasoning (31,999 thinking tokens)
27
- - ✅ Adapts file paths to SpecWeave structure (`.specweave/docs/`, `.specweave/increments/`)
28
- - ✅ Hands off to SpecWeave agents (PM, Architect, QA Lead) instead of superpowers sub-skills
29
- - ✅ Supports both full increment creation and quick-start approaches
30
- - ✅ Emphasizes SpecWeave principles (YAGNI, test-validated, context precision)
31
-
32
- ## When to Use This Skill
33
-
34
- ### ✅ Use spec-driven-brainstorming when:
35
- - User has a **rough, unclear idea** needing refinement
36
- - Multiple **architectural approaches** need evaluation
37
- - Complex design requiring **deep thinking** (ultrathink)
38
- - Requirements need clarification through **Socratic questioning**
39
- - User says: "I want to build...", "Help me think through...", "What's the best way to..."
40
-
41
- ### ❌ Skip to increment-planner when:
42
- - User has **clear, well-defined requirements**
43
- - Tech stack is **obvious** from existing code
44
- - Solution approach is **straightforward** (no alternatives needed)
45
- - No exploration or questioning needed
46
-
47
- ## Activation Triggers
48
-
49
- This skill activates automatically when users say:
50
- - "Brainstorm a feature for..."
51
- - "Help me think through this idea"
52
- - "I want to build something with [vague description]"
53
- - "What's the best approach for..."
54
- - "Ultrathink this design" (activates deep reasoning mode)
55
- - "Explore architecture options for..."
56
-
57
- ## Five-Phase Process
58
-
59
- ### Phase 1: Understanding
60
- **Goal:** Gather requirements through Socratic questioning
61
-
62
- - Ask **ONE question at a time** (not 5 at once!)
63
- - Use **AskUserQuestion tool** for structured choices (2-4 options)
64
- - Gather: purpose, users, constraints, success criteria
65
- - Be flexible: revisit earlier questions if new constraints emerge
66
-
67
- **Example:**
68
- ```
69
- Q: "What's your primary goal with crypto prices?"
70
- Options:
71
- - Real-time price tracking dashboard
72
- - Price alerts and notifications
73
- - Historical data analysis
74
- - Automated trading bot
75
- ```
76
-
77
- ### Phase 2: Tech Stack Detection
78
- **Goal:** Understand existing/desired technology context
79
-
80
- - **Detect existing tech stack** (brownfield):
81
- - Scan for `package.json`, `requirements.txt`, `.csproj`
82
- - Identify frameworks (Next.js, FastAPI, ASP.NET Core)
83
- - **Ask about desired tech stack** (greenfield):
84
- - Present 2-3 appropriate stacks based on project type
85
- - Consider team expertise, budget, timeline
86
- - **Activate relevant SpecWeave skills**:
87
- - `nextjs`, `nodejs-backend`, `python-backend`, `dotnet-backend`, `frontend`
88
-
89
- ### Phase 3: Exploration
90
- **Goal:** Propose and evaluate 2-3 architectural approaches
91
-
92
- - Generate **2-3 distinct approaches** (not just variations)
93
- - For each: architecture pattern, trade-offs, complexity, cost
94
- - Use **AskUserQuestion** to present choices with trade-offs
95
- - Apply **YAGNI ruthlessly** (remove unnecessary complexity)
96
- - For complex problems: **suggest ultrathink mode** (31,999 thinking tokens)
97
-
98
- **Example:**
99
- ```
100
- Q: "Which approach for real-time updates?"
101
- Options:
102
- - Event-driven with WebSockets (real-time, complex, $$$)
103
- - Polling with REST API (simple, delayed, $)
104
- - Server-Sent Events (middle ground, $$)
105
- ```
106
-
107
- ### Phase 4: Design Validation
108
- **Goal:** Present complete design incrementally and validate
109
-
110
- - Present in **250-word sections** (matches SpecWeave's spec.md limit)
111
- - Cover: architecture, components, data flow, error handling, testing, security, performance
112
- - Ask after each section: **"Does this align with your vision?"** (open-ended)
113
- - Use **open-ended questions** for validation (not structured choices)
114
-
115
- ### Phase 5: SpecWeave Handoff
116
- **Goal:** Create SpecWeave increment with validated design
117
-
118
- **Option A: Full Increment Creation** (recommended for production)
119
- - Invoke `increment-planner` skill
120
- - PM agent creates `.specweave/docs/internal/strategy/` documentation
121
- - Architect agent creates `.specweave/docs/internal/architecture/` documentation
122
- - Creates `.specweave/increments/0001-feature/` with spec.md, plan.md, tasks.md, tests.md, context-manifest.yaml
123
-
124
- **Option B: Quick Increment** (fast start for personal projects)
125
- - Create increment directory directly
126
- - Write spec.md, basic plan.md outline, tasks.md, tests.md
127
- - Minimal context manifest
128
- - Expand documentation incrementally during implementation
129
-
130
- ## Ultrathink Mode
131
-
132
- **What is ultrathink?**
133
- - Claude Code feature that allocates **31,999 thinking tokens** for deep reasoning
134
- - Enables deeper analysis, edge case exploration, nuanced trade-off evaluation
135
- - Most useful for: complex architecture, security-critical design, distributed systems, novel problems
136
-
137
- **When to use ultrathink:**
138
- - Complex distributed systems (e.g., "distributed task queue with exactly-once delivery")
139
- - Security-critical design (e.g., "financial transaction processing with audit trail")
140
- - Performance/scale optimization (e.g., "handle 100K requests/sec")
141
- - Novel problem domains requiring creative solutions
142
-
143
- **How to activate:**
144
- - Suggest to user: "This seems complex - let me **ultrathink** the architecture options."
145
- - Or user requests: "Can you **ultrathink** this design?"
146
-
147
- **Other thinking modes:**
148
- - `think` - 4,000 tokens (simple problems)
149
- - `megathink` - 10,000 tokens (moderate complexity)
150
- - `ultrathink` - 31,999 tokens (high complexity)
151
-
152
- ## Integration with SpecWeave
153
-
154
- ### Relationship to Other Skills
155
-
156
- ```
157
- spec-driven-brainstorming (this skill)
158
- ↓ validated design
159
- increment-planner
160
- ↓ orchestration
161
- ├─ PM Agent → .specweave/docs/internal/strategy/
162
- ├─ Architect Agent → .specweave/docs/internal/architecture/
163
- └─ Increment Files → .specweave/increments/0001-feature/
164
- ```
165
-
166
- ### Documentation Flow
167
-
168
- 1. **spec-driven-brainstorming** produces: Validated design (in conversation)
169
- 2. **increment-planner** creates: Living docs + increment files
170
- 3. **PM agent** writes: Product requirements, user stories, success criteria
171
- 4. **Architect agent** writes: System design, component design, ADRs
172
- 5. **QA Lead agent** writes: Test strategy, test cases
173
-
174
- ## Test Cases
175
-
176
- This skill includes **3 comprehensive test cases**:
177
-
178
- ### TC-001: Simple Idea to Validated Design
179
- - **Scenario:** "I want to add user authentication to my app"
180
- - **Focus:** Basic flow, tech stack detection, NextAuth.js integration
181
- - **Phases:** Understanding → Tech Stack → Exploration (3 approaches) → Design Validation → Handoff
182
- - **Complexity:** Low
183
- - **Time:** 10-15 minutes
184
-
185
- ### TC-002: Complex Problem with Ultrathink Mode
186
- - **Scenario:** "I need a distributed task queue with exactly-once delivery guarantees"
187
- - **Focus:** Deep reasoning, edge case analysis, distributed systems patterns
188
- - **Phases:** Socratic questioning → Tech stack choice → **Ultrathink exploration** → Comprehensive validation → Full increment
189
- - **Complexity:** High (financial systems, compliance, fault tolerance)
190
- - **Time:** 20-30 minutes
191
-
192
- ### TC-003: Unclear Requirements with Socratic Questioning
193
- - **Scenario:** "I want to build something with crypto prices" (vague!)
194
- - **Focus:** Extracting requirements through dialogue, budget constraints, flexibility
195
- - **Phases:** **6 Socratic questions** → Tech stack detection + database choice → Budget-aware exploration → Validation → Quick increment
196
- - **Complexity:** Medium (requirements gathering)
197
- - **Time:** 15-20 minutes
198
-
199
- ## Key Principles
200
-
201
- | Principle | Application |
202
- |-----------|-------------|
203
- | **One question at a time** | Phase 1: Single question per message |
204
- | **Structured choices** | Use AskUserQuestion for 2-4 options with trade-offs |
205
- | **Tech stack awareness** | Phase 2: Detect existing or choose appropriate technologies |
206
- | **YAGNI ruthlessly** | Remove unnecessary complexity from ALL designs |
207
- | **Explore alternatives** | Always propose 2-3 approaches before settling |
208
- | **Incremental validation** | Present design in 250-word sections, validate each |
209
- | **Flexible progression** | Go backward when needed - flexibility > rigidity |
210
- | **SpecWeave integration** | End with increment creation, not just design document |
211
- | **Ultrathink for complexity** | Use "ultrathink" for deep reasoning (31,999 tokens) |
212
-
213
- ## Anti-Patterns to Avoid
214
-
215
- | Anti-Pattern | Why It's Bad | What to Do Instead |
216
- |--------------|--------------|-------------------|
217
- | Asking 5 questions at once | Overwhelming, unclear priorities | ONE question at a time |
218
- | Jumping to implementation | Skips validation, no alternatives | Follow Phase 1→2→3→4→5 |
219
- | Presenting only 1 approach | No trade-off evaluation | Always propose 2-3 alternatives |
220
- | Skipping tech stack detection | Mismatch with existing code | Phase 2: Scan or ask |
221
- | Design dump (no validation) | User overwhelmed, no feedback | 250-word sections with validation |
222
- | Creating files directly | Bypasses SpecWeave structure | Use increment-planner handoff |
223
- | Over-engineering simple tasks | Unnecessary complexity | Apply YAGNI ruthlessly |
224
-
225
- ## Installation
226
-
227
- This skill is part of the SpecWeave framework. To install:
228
-
229
- ```bash
230
- # From SpecWeave project root:
231
- npm run install:skills
232
-
233
- # Or install this specific skill to .claude/ (local project):
234
- cp -r src/skills/spec-driven-brainstorming ~/.claude/skills/
235
-
236
- # Restart Claude Code after installation
237
- ```
238
-
239
- ## Contributing
240
-
241
- This skill is part of the SpecWeave framework. To contribute:
242
-
243
- 1. **Edit the source**: `src/skills/spec-driven-brainstorming/SKILL.md`
244
- 2. **Update test cases**: Add `.yaml` files to `test-cases/` directory
245
- 3. **Test the skill**: Use SpecWeave's skill testing framework
246
- 4. **Run installation**: `npm run install:skills` to sync to `.claude/`
247
- 5. **Create PR**: Follow SpecWeave's contribution guidelines
248
-
249
- ## License
250
-
251
- This skill is part of SpecWeave and licensed under [LICENSE].
252
-
253
- **Acknowledgment:** Adapted from [obra/superpowers brainstorming skill](https://github.com/obra/superpowers) by Jesse Vincent. Thank you to the superpowers project for the inspiration and methodology!
254
-
255
- ## Changelog
256
-
257
- ### v1.0.0 (2025-01-XX)
258
- - ✅ Initial release
259
- - ✅ Adapted from obra/superpowers brainstorming skill
260
- - ✅ Integrated with SpecWeave increment workflow
261
- - ✅ Added tech stack detection phase
262
- - ✅ Incorporated ultrathink mode for complex reasoning
263
- - ✅ Created 3 comprehensive test cases
264
- - ✅ SpecWeave-specific documentation paths and agent orchestration