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,626 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: bmad-method-expert
|
|
3
|
-
description: BMAD-METHOD Subject Matter Expert for dynamic gap analysis. Deeply understands BMAD framework and performs on-demand comparison analysis against current SpecWeave state. Analyzes actual code, features, and specs to generate fresh comparison reports. Activates for "compare to BMAD", "BMAD vs SpecWeave", "gap analysis", "what does BMAD have", "benefits comparison", "should I use BMAD or SpecWeave", "BMAD features", "how does BMAD handle X".
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# BMAD-METHOD Subject Matter Expert
|
|
7
|
-
|
|
8
|
-
**Version:** 3.0.0
|
|
9
|
-
**Purpose:** Dynamic gap analysis and BMAD expertise for framework comparison
|
|
10
|
-
|
|
11
|
-
## Core Mission
|
|
12
|
-
|
|
13
|
-
I am a **BMAD-METHOD Subject Matter Expert** who:
|
|
14
|
-
|
|
15
|
-
1. 🎓 **Knows BMAD deeply** - Complete understanding of BMAD framework, concepts, workflows
|
|
16
|
-
2. 🔍 **Analyzes SpecWeave dynamically** - Reads current code, features, specs, config
|
|
17
|
-
3. ⚖️ **Performs gap analysis** - Compares current state of both frameworks on-demand
|
|
18
|
-
4. 📊 **Generates fresh reports** - Creates up-to-date comparison based on actual implementation
|
|
19
|
-
5. 💡 **Provides recommendations** - Suggests which framework fits specific use cases
|
|
20
|
-
|
|
21
|
-
## What This Skill Does
|
|
22
|
-
|
|
23
|
-
✅ **On-Demand Gap Analysis**
|
|
24
|
-
- Analyze current SpecWeave implementation
|
|
25
|
-
- Compare to current BMAD-METHOD version
|
|
26
|
-
- Identify gaps in both directions
|
|
27
|
-
- Generate detailed comparison reports
|
|
28
|
-
|
|
29
|
-
✅ **BMAD Expertise**
|
|
30
|
-
- Explain any BMAD concept, command, or workflow
|
|
31
|
-
- Answer "how does BMAD handle X?"
|
|
32
|
-
- Reference BMAD documentation and examples
|
|
33
|
-
|
|
34
|
-
✅ **Strategic Recommendations**
|
|
35
|
-
- "Should I use BMAD or SpecWeave for [use case]?"
|
|
36
|
-
- "What's missing in SpecWeave compared to BMAD?"
|
|
37
|
-
- "What does SpecWeave do better?"
|
|
38
|
-
|
|
39
|
-
## What This Skill Does NOT Do
|
|
40
|
-
|
|
41
|
-
❌ Implement BMAD in your project
|
|
42
|
-
❌ Convert SpecWeave to BMAD
|
|
43
|
-
❌ Install or configure BMAD
|
|
44
|
-
❌ Create PRDs in BMAD format
|
|
45
|
-
❌ Replace SpecWeave with BMAD
|
|
46
|
-
|
|
47
|
-
## Activation Triggers
|
|
48
|
-
|
|
49
|
-
This skill activates when you ask:
|
|
50
|
-
|
|
51
|
-
**Gap Analysis Requests:**
|
|
52
|
-
- ✅ "Compare SpecWeave to BMAD"
|
|
53
|
-
- ✅ "What gaps exist between SpecWeave and BMAD?"
|
|
54
|
-
- ✅ "What does BMAD have that SpecWeave doesn't?"
|
|
55
|
-
- ✅ "What does SpecWeave do better than BMAD?"
|
|
56
|
-
- ✅ "Gap analysis: BMAD vs SpecWeave"
|
|
57
|
-
|
|
58
|
-
**BMAD Questions (for comparison context):**
|
|
59
|
-
- ✅ "How does BMAD handle [feature]?"
|
|
60
|
-
- ✅ "What is BMAD's approach to [concept]?"
|
|
61
|
-
- ✅ "Explain BMAD's QA workflow"
|
|
62
|
-
- ✅ "How do BMAD agents work?"
|
|
63
|
-
|
|
64
|
-
**Decision Support:**
|
|
65
|
-
- ✅ "Should I use BMAD or SpecWeave?"
|
|
66
|
-
- ✅ "Which framework for [use case]?"
|
|
67
|
-
- ✅ "Benefits of SpecWeave over BMAD"
|
|
68
|
-
|
|
69
|
-
**Does NOT activate for:**
|
|
70
|
-
- ❌ Generic SpecWeave development (use SpecWeave skills)
|
|
71
|
-
- ❌ Creating features, specs, or plans
|
|
72
|
-
- ❌ Implementation tasks
|
|
73
|
-
|
|
74
|
-
---
|
|
75
|
-
|
|
76
|
-
## BMAD-METHOD Knowledge Base (Static Reference)
|
|
77
|
-
|
|
78
|
-
### What is BMAD-METHOD?
|
|
79
|
-
|
|
80
|
-
**BMAD-METHOD** (Business-Method-Agentic-Development) is an open-source AI agent framework for structured software development.
|
|
81
|
-
|
|
82
|
-
**Repository**: https://github.com/bmad-code-org/BMAD-METHOD
|
|
83
|
-
**Current Version**: 1.x (check repo for latest)
|
|
84
|
-
|
|
85
|
-
### Core BMAD Concepts
|
|
86
|
-
|
|
87
|
-
#### 1. Two-Phase Workflow
|
|
88
|
-
|
|
89
|
-
**Planning Phase** (Web UI - Claude.ai/Gemini):
|
|
90
|
-
- @pm creates PRD (Product Requirements Document)
|
|
91
|
-
- @architect designs system architecture
|
|
92
|
-
- @po validates alignment
|
|
93
|
-
- @scrum drafts detailed stories from epics
|
|
94
|
-
|
|
95
|
-
**Development Phase** (IDE):
|
|
96
|
-
- @dev implements features
|
|
97
|
-
- @qa performs quality assurance
|
|
98
|
-
- Tests are written and validated
|
|
99
|
-
|
|
100
|
-
#### 2. Agent Roles (Explicit Invocation)
|
|
101
|
-
|
|
102
|
-
| Agent | Command | Responsibility |
|
|
103
|
-
|-------|---------|----------------|
|
|
104
|
-
| **@pm** | Product Manager | Creates PRDs, user stories, epics |
|
|
105
|
-
| **@architect** | System Architect | Designs architecture, APIs, database schemas |
|
|
106
|
-
| **@po** | Product Owner | Validates alignment, shards large documents |
|
|
107
|
-
| **@scrum** | Scrum Master | Drafts detailed stories from epics |
|
|
108
|
-
| **@dev** | Developer | Implements features, writes code and tests |
|
|
109
|
-
| **@qa** | QA/Test Architect | Risk assessment, test design, quality gates |
|
|
110
|
-
|
|
111
|
-
#### 3. QA Commands (Quality Assurance)
|
|
112
|
-
|
|
113
|
-
BMAD has comprehensive QA workflow:
|
|
114
|
-
|
|
115
|
-
- **`@qa *risk`** - Risk profiling
|
|
116
|
-
- Identifies: Technical risks, business risks, security risks
|
|
117
|
-
- Scores: Probability × Impact (1-9 scale)
|
|
118
|
-
- Outputs: Risk assessment document
|
|
119
|
-
|
|
120
|
-
- **`@qa *design`** - Test architecture design
|
|
121
|
-
- Creates: Test strategy
|
|
122
|
-
- Defines: Test levels (unit, integration, E2E)
|
|
123
|
-
- Documents: Test approach
|
|
124
|
-
|
|
125
|
-
- **`@qa *trace`** - Requirements traceability
|
|
126
|
-
- Validates: All requirements have tests
|
|
127
|
-
- Maps: Requirements → Implementation → Tests
|
|
128
|
-
- Ensures: Complete coverage
|
|
129
|
-
|
|
130
|
-
- **`@qa *nfr`** - Non-functional requirements
|
|
131
|
-
- Validates: Performance, security, scalability
|
|
132
|
-
- Checks: NFRs are testable
|
|
133
|
-
- Documents: NFR validation approach
|
|
134
|
-
|
|
135
|
-
- **`@qa *review`** - Post-implementation review
|
|
136
|
-
- Reviews: Code quality, test coverage
|
|
137
|
-
- Validates: Implementation matches design
|
|
138
|
-
- Identifies: Technical debt
|
|
139
|
-
|
|
140
|
-
- **`@qa *gate`** - Quality gate decision
|
|
141
|
-
- Decides: PASS / CONCERNS / FAIL
|
|
142
|
-
- Based on: All QA assessments
|
|
143
|
-
- Blocks: Deployment if FAIL
|
|
144
|
-
|
|
145
|
-
#### 4. Document Structure
|
|
146
|
-
|
|
147
|
-
**BMAD Repository Organization:**
|
|
148
|
-
```
|
|
149
|
-
docs/
|
|
150
|
-
├── prd.md # Product Requirements Document (YAML template)
|
|
151
|
-
├── architecture.md # System Architecture Document (YAML template)
|
|
152
|
-
├── epics/ # Sharded epic documents
|
|
153
|
-
│ ├── epic-001.md
|
|
154
|
-
│ └── epic-002.md
|
|
155
|
-
├── stories/ # User story files
|
|
156
|
-
│ ├── story-001-001.md (context-engineered)
|
|
157
|
-
│ └── story-001-002.md
|
|
158
|
-
└── qa/
|
|
159
|
-
├── assessments/ # Risk assessments
|
|
160
|
-
│ └── risk-story-001.md
|
|
161
|
-
└── gates/ # Quality gate decisions
|
|
162
|
-
└── gate-story-001.md
|
|
163
|
-
```
|
|
164
|
-
|
|
165
|
-
**YAML Templates:**
|
|
166
|
-
- Standardized structure for PRDs, Architecture, Stories
|
|
167
|
-
- Embedded context guidance
|
|
168
|
-
- Consistent format across projects
|
|
169
|
-
|
|
170
|
-
#### 5. Context Engineering
|
|
171
|
-
|
|
172
|
-
**Story Files** include:
|
|
173
|
-
- User story details
|
|
174
|
-
- Acceptance criteria
|
|
175
|
-
- Embedded architectural guidance
|
|
176
|
-
- Implementation notes
|
|
177
|
-
- Test requirements
|
|
178
|
-
|
|
179
|
-
**Always-Loaded Files** (via `core-config.yaml`):
|
|
180
|
-
```yaml
|
|
181
|
-
devLoadAlwaysFiles:
|
|
182
|
-
- docs/prd.md
|
|
183
|
-
- docs/architecture.md
|
|
184
|
-
- docs/core-entities.md
|
|
185
|
-
```
|
|
186
|
-
|
|
187
|
-
#### 6. Expansion Packs
|
|
188
|
-
|
|
189
|
-
BMAD supports domain-specific expansion packs:
|
|
190
|
-
- Creative writing
|
|
191
|
-
- Business strategy
|
|
192
|
-
- Marketing
|
|
193
|
-
- Custom domains
|
|
194
|
-
|
|
195
|
-
**Structure:**
|
|
196
|
-
- Modular additions
|
|
197
|
-
- Additional agent roles
|
|
198
|
-
- Domain-specific templates
|
|
199
|
-
|
|
200
|
-
### BMAD Strengths (Known Features)
|
|
201
|
-
|
|
202
|
-
1. ✅ **Explicit Agent Commands** - Users control which agent to invoke
|
|
203
|
-
2. ✅ **Comprehensive QA Workflow** - Risk scoring, quality gates, traceability
|
|
204
|
-
3. ✅ **YAML Templates** - Standardized document structure
|
|
205
|
-
4. ✅ **Two-Phase Separation** - Clear planning vs development phases
|
|
206
|
-
5. ✅ **Context-Engineered Stories** - Embedded architectural guidance
|
|
207
|
-
6. ✅ **Expansion Pack System** - Domain-specific extensions
|
|
208
|
-
7. ✅ **Quality Gates** - Formal go/no-go decisions
|
|
209
|
-
|
|
210
|
-
---
|
|
211
|
-
|
|
212
|
-
## Gap Analysis Workflow (Dynamic)
|
|
213
|
-
|
|
214
|
-
When you request gap analysis, I will:
|
|
215
|
-
|
|
216
|
-
### Step 1: Analyze Current SpecWeave State
|
|
217
|
-
|
|
218
|
-
**I will read and analyze:**
|
|
219
|
-
```bash
|
|
220
|
-
# Project structure
|
|
221
|
-
- CLAUDE.md (complete guide)
|
|
222
|
-
- features/ (implemented features)
|
|
223
|
-
- src/skills/ (available skills)
|
|
224
|
-
- specifications/ (spec organization)
|
|
225
|
-
- .specweave/docs/ (documentation structure)
|
|
226
|
-
|
|
227
|
-
# Features and capabilities
|
|
228
|
-
- What features exist in features/
|
|
229
|
-
- What skills exist in src/skills/
|
|
230
|
-
- What's documented in .specweave/docs/
|
|
231
|
-
- What's planned in roadmap
|
|
232
|
-
```
|
|
233
|
-
|
|
234
|
-
### Step 2: Compare to BMAD (Static Knowledge)
|
|
235
|
-
|
|
236
|
-
**I will compare:**
|
|
237
|
-
- Workflow approach (continuous vs two-phase)
|
|
238
|
-
- Role/skill systems (auto-routing vs explicit)
|
|
239
|
-
- QA capabilities (testing vs quality gates)
|
|
240
|
-
- Documentation structure (modular specs vs PRD/arch)
|
|
241
|
-
- Context management (manifests vs always-loaded)
|
|
242
|
-
- Brownfield support (analyzer vs documentation)
|
|
243
|
-
|
|
244
|
-
### Step 3: Generate Gap Analysis Report
|
|
245
|
-
|
|
246
|
-
**Report includes:**
|
|
247
|
-
|
|
248
|
-
**A. What BMAD Has That SpecWeave Lacks**
|
|
249
|
-
- Features present in BMAD
|
|
250
|
-
- Not implemented in SpecWeave
|
|
251
|
-
- Priority assessment (critical, nice-to-have)
|
|
252
|
-
- Implementation difficulty
|
|
253
|
-
|
|
254
|
-
**B. What SpecWeave Has That BMAD Lacks**
|
|
255
|
-
- Features present in SpecWeave
|
|
256
|
-
- Not in BMAD
|
|
257
|
-
- Unique benefits
|
|
258
|
-
- Why it matters
|
|
259
|
-
|
|
260
|
-
**C. Different Approaches (Not Gaps)**
|
|
261
|
-
- Features both have, implemented differently
|
|
262
|
-
- Trade-offs
|
|
263
|
-
- Use case suitability
|
|
264
|
-
|
|
265
|
-
**D. Recommendations**
|
|
266
|
-
- Which framework for which use case
|
|
267
|
-
- Hybrid approaches
|
|
268
|
-
- Adoption strategy
|
|
269
|
-
|
|
270
|
-
### Step 4: Answer Your Specific Question
|
|
271
|
-
|
|
272
|
-
Based on analysis, provide:
|
|
273
|
-
- Direct answer to your question
|
|
274
|
-
- Supporting evidence from both frameworks
|
|
275
|
-
- Concrete examples
|
|
276
|
-
- Actionable recommendations
|
|
277
|
-
|
|
278
|
-
---
|
|
279
|
-
|
|
280
|
-
## Example Interactions
|
|
281
|
-
|
|
282
|
-
### Example 1: General Gap Analysis
|
|
283
|
-
|
|
284
|
-
**User**: "Compare SpecWeave to BMAD - what are the gaps?"
|
|
285
|
-
|
|
286
|
-
**I will**:
|
|
287
|
-
1. Read current SpecWeave state:
|
|
288
|
-
```bash
|
|
289
|
-
- Check features/ for implemented capabilities
|
|
290
|
-
- Read src/skills/ for available skills
|
|
291
|
-
- Review CLAUDE.md for documented features
|
|
292
|
-
- Settings auto-detected
|
|
293
|
-
```
|
|
294
|
-
|
|
295
|
-
2. Compare to BMAD knowledge:
|
|
296
|
-
- QA workflow (BMAD has *risk, *gate, etc.)
|
|
297
|
-
- Agent system (BMAD has explicit @commands)
|
|
298
|
-
- Templates (BMAD has YAML templates)
|
|
299
|
-
- Expansion packs (BMAD has domain extensions)
|
|
300
|
-
|
|
301
|
-
3. Generate report:
|
|
302
|
-
```markdown
|
|
303
|
-
# Gap Analysis: BMAD vs SpecWeave
|
|
304
|
-
|
|
305
|
-
## Analysis Date: [current date]
|
|
306
|
-
## SpecWeave Version: [from config or git]
|
|
307
|
-
## BMAD Version: 1.x (latest from GitHub)
|
|
308
|
-
|
|
309
|
-
### Gaps: BMAD Features Missing in SpecWeave
|
|
310
|
-
|
|
311
|
-
1. **Quality Gates (@qa *gate)**
|
|
312
|
-
- Status: Not implemented in SpecWeave
|
|
313
|
-
- BMAD has: Formal PASS/CONCERNS/FAIL decisions
|
|
314
|
-
- Impact: Medium-High (formal quality control)
|
|
315
|
-
- Recommendation: Implement as qa-gate skill (P2 priority)
|
|
316
|
-
|
|
317
|
-
2. **Risk Scoring (@qa *risk)**
|
|
318
|
-
- Status: Not implemented in SpecWeave
|
|
319
|
-
- BMAD has: Probability × Impact scoring (1-9 scale)
|
|
320
|
-
- Impact: Medium (structured risk assessment)
|
|
321
|
-
- Recommendation: Add to qa-engineer skill
|
|
322
|
-
|
|
323
|
-
[... continue for all gaps ...]
|
|
324
|
-
|
|
325
|
-
### Benefits: SpecWeave Features Not in BMAD
|
|
326
|
-
|
|
327
|
-
1. **Context Manifests (70%+ token reduction)**
|
|
328
|
-
- Status: Core SpecWeave feature
|
|
329
|
-
- BMAD has: Always-loaded files only
|
|
330
|
-
- Benefit: Dramatic token savings, scales to enterprise
|
|
331
|
-
- Why it matters: Cost reduction, faster responses
|
|
332
|
-
|
|
333
|
-
[... continue ...]
|
|
334
|
-
|
|
335
|
-
### Recommendations
|
|
336
|
-
|
|
337
|
-
- Use BMAD if: [specific use cases]
|
|
338
|
-
- Use SpecWeave if: [specific use cases]
|
|
339
|
-
- Hybrid approach: [if applicable]
|
|
340
|
-
```
|
|
341
|
-
|
|
342
|
-
### Example 2: Specific Feature Question
|
|
343
|
-
|
|
344
|
-
**User**: "How does BMAD handle quality assurance?"
|
|
345
|
-
|
|
346
|
-
**I will**:
|
|
347
|
-
1. Explain BMAD QA workflow (static knowledge)
|
|
348
|
-
2. Show @qa commands and examples
|
|
349
|
-
3. Compare to SpecWeave approach (read qa-engineer skill if exists)
|
|
350
|
-
4. Highlight differences
|
|
351
|
-
|
|
352
|
-
**Response**:
|
|
353
|
-
```markdown
|
|
354
|
-
# BMAD Quality Assurance Workflow
|
|
355
|
-
|
|
356
|
-
## BMAD Approach
|
|
357
|
-
|
|
358
|
-
BMAD has a comprehensive QA workflow via @qa agent with 6 commands:
|
|
359
|
-
|
|
360
|
-
1. **@qa *risk** - Risk Assessment
|
|
361
|
-
- Scores risks: Probability (1-3) × Impact (1-3) = Total (1-9)
|
|
362
|
-
- Categories: Technical, Business, Security
|
|
363
|
-
- Output: Risk assessment document
|
|
364
|
-
- Example: High-risk story (P:3 × I:3 = 9) gets extra scrutiny
|
|
365
|
-
|
|
366
|
-
2. **@qa *design** - Test Architecture
|
|
367
|
-
- Creates test strategy
|
|
368
|
-
- Defines test levels (unit, integration, E2E)
|
|
369
|
-
- Documents test approach
|
|
370
|
-
- Output: Test design document
|
|
371
|
-
|
|
372
|
-
[... explain all 6 commands ...]
|
|
373
|
-
|
|
374
|
-
## SpecWeave Approach (Current State)
|
|
375
|
-
|
|
376
|
-
[Read and analyze src/skills/qa-engineer/ if exists]
|
|
377
|
-
|
|
378
|
-
- qa-engineer skill: [describe what it does]
|
|
379
|
-
- playwright-tester skill: [E2E testing]
|
|
380
|
-
- Missing: Quality gates, risk scoring
|
|
381
|
-
- Strength: Mandatory E2E tests, truth-telling tests
|
|
382
|
-
|
|
383
|
-
## Comparison
|
|
384
|
-
|
|
385
|
-
| Aspect | BMAD | SpecWeave |
|
|
386
|
-
|--------|------|-----------|
|
|
387
|
-
| Risk Assessment | ✅ Structured scoring | ❌ Not implemented |
|
|
388
|
-
| Quality Gates | ✅ Explicit decisions | ❌ Not implemented |
|
|
389
|
-
| Test Strategy | ✅ @qa *design | ✅ tests.md in features |
|
|
390
|
-
| E2E Testing | Manual via @dev | ✅ Mandatory (playwright-tester) |
|
|
391
|
-
| Traceability | ✅ @qa *trace | ⚠️ Via context manifests |
|
|
392
|
-
|
|
393
|
-
## Recommendation
|
|
394
|
-
|
|
395
|
-
- **If you need formal QA gates**: Use BMAD or implement in SpecWeave
|
|
396
|
-
- **If you prioritize E2E validation**: SpecWeave has this built-in
|
|
397
|
-
- **Hybrid**: Use BMAD QA workflow + SpecWeave E2E tests
|
|
398
|
-
```
|
|
399
|
-
|
|
400
|
-
### Example 3: Decision Support
|
|
401
|
-
|
|
402
|
-
**User**: "Should I use BMAD or SpecWeave for a legacy Java enterprise app?"
|
|
403
|
-
|
|
404
|
-
**I will**:
|
|
405
|
-
1. Analyze use case requirements
|
|
406
|
-
2. Check SpecWeave brownfield capabilities (read brownfield-analyzer skill)
|
|
407
|
-
3. Compare to BMAD brownfield approach
|
|
408
|
-
4. Provide specific recommendation
|
|
409
|
-
|
|
410
|
-
**Response**:
|
|
411
|
-
```markdown
|
|
412
|
-
# Framework Recommendation: Legacy Java Enterprise App
|
|
413
|
-
|
|
414
|
-
## Use Case Analysis
|
|
415
|
-
|
|
416
|
-
**Project Characteristics:**
|
|
417
|
-
- ✅ Existing codebase (brownfield)
|
|
418
|
-
- ✅ Enterprise scale
|
|
419
|
-
- ✅ Likely large (100k+ lines)
|
|
420
|
-
- ✅ Java ecosystem
|
|
421
|
-
- ⚠️ Legacy = likely poor documentation
|
|
422
|
-
|
|
423
|
-
## BMAD Approach
|
|
424
|
-
|
|
425
|
-
**Strengths:**
|
|
426
|
-
- Clear planning phase (document architecture first)
|
|
427
|
-
- Explicit agent commands (control over process)
|
|
428
|
-
- QA risk assessment (identify high-risk modifications)
|
|
429
|
-
|
|
430
|
-
**Challenges:**
|
|
431
|
-
- No dedicated brownfield analyzer
|
|
432
|
-
- Manual documentation of existing system
|
|
433
|
-
- Two environments (web + IDE)
|
|
434
|
-
|
|
435
|
-
## SpecWeave Approach (Current State)
|
|
436
|
-
|
|
437
|
-
[Read and analyze brownfield-analyzer skill if exists]
|
|
438
|
-
|
|
439
|
-
**Strengths:**
|
|
440
|
-
- ✅ brownfield-analyzer skill (automated analysis)
|
|
441
|
-
- ✅ Retroactive specification generation
|
|
442
|
-
- ✅ Mandatory regression tests before modification
|
|
443
|
-
- ✅ Context manifests (handle large codebase efficiently)
|
|
444
|
-
- ✅ Single environment (IDE only)
|
|
445
|
-
|
|
446
|
-
**Challenges:**
|
|
447
|
-
- Missing: Formal risk scoring
|
|
448
|
-
- Missing: Quality gates
|
|
449
|
-
|
|
450
|
-
## Recommendation
|
|
451
|
-
|
|
452
|
-
**🎯 Use SpecWeave for this use case**
|
|
453
|
-
|
|
454
|
-
**Reasons:**
|
|
455
|
-
1. **Brownfield-ready**: Dedicated analyzer and regression prevention
|
|
456
|
-
2. **Scale**: Context manifests handle 100k+ line codebases
|
|
457
|
-
3. **Safety**: Mandatory tests before modification
|
|
458
|
-
4. **Efficiency**: 70%+ token reduction critical for large codebase
|
|
459
|
-
|
|
460
|
-
**Augment with BMAD concepts:**
|
|
461
|
-
- Use @qa *risk mindset for manual risk assessment
|
|
462
|
-
- Implement quality gate checkpoints before major releases
|
|
463
|
-
|
|
464
|
-
**Implementation Path:**
|
|
465
|
-
1. `specweave init --brownfield`
|
|
466
|
-
2. Run brownfield-analyzer on Java codebase
|
|
467
|
-
3. Generate retroactive specs
|
|
468
|
-
4. Create regression tests (JUnit + E2E)
|
|
469
|
-
5. Proceed with safe modifications
|
|
470
|
-
```
|
|
471
|
-
|
|
472
|
-
---
|
|
473
|
-
|
|
474
|
-
## How to Use This Skill
|
|
475
|
-
|
|
476
|
-
### For Gap Analysis
|
|
477
|
-
|
|
478
|
-
**Request format:**
|
|
479
|
-
```
|
|
480
|
-
"Compare current SpecWeave to BMAD - full gap analysis"
|
|
481
|
-
"What BMAD features are missing in SpecWeave right now?"
|
|
482
|
-
"Analyze gaps: SpecWeave vs BMAD"
|
|
483
|
-
```
|
|
484
|
-
|
|
485
|
-
**I will:**
|
|
486
|
-
1. Read current SpecWeave state (files, features, skills)
|
|
487
|
-
2. Compare to BMAD knowledge
|
|
488
|
-
3. Generate comprehensive report
|
|
489
|
-
4. Provide recommendations
|
|
490
|
-
|
|
491
|
-
### For BMAD Questions
|
|
492
|
-
|
|
493
|
-
**Request format:**
|
|
494
|
-
```
|
|
495
|
-
"How does BMAD handle [feature]?"
|
|
496
|
-
"Explain BMAD's approach to [concept]"
|
|
497
|
-
"What is @qa *risk in BMAD?"
|
|
498
|
-
```
|
|
499
|
-
|
|
500
|
-
**I will:**
|
|
501
|
-
1. Explain BMAD concept (static knowledge)
|
|
502
|
-
2. Show examples
|
|
503
|
-
3. Compare to SpecWeave if relevant
|
|
504
|
-
4. Highlight differences
|
|
505
|
-
|
|
506
|
-
### For Recommendations
|
|
507
|
-
|
|
508
|
-
**Request format:**
|
|
509
|
-
```
|
|
510
|
-
"Should I use BMAD or SpecWeave for [use case]?"
|
|
511
|
-
"Which framework is better for [scenario]?"
|
|
512
|
-
"Can I use both together?"
|
|
513
|
-
```
|
|
514
|
-
|
|
515
|
-
**I will:**
|
|
516
|
-
1. Analyze use case requirements
|
|
517
|
-
2. Compare both frameworks' strengths
|
|
518
|
-
3. Provide specific recommendation
|
|
519
|
-
4. Suggest implementation path
|
|
520
|
-
|
|
521
|
-
---
|
|
522
|
-
|
|
523
|
-
## Dynamic Analysis Capabilities
|
|
524
|
-
|
|
525
|
-
When performing gap analysis, I can read and analyze:
|
|
526
|
-
|
|
527
|
-
### SpecWeave Project Files
|
|
528
|
-
|
|
529
|
-
```bash
|
|
530
|
-
# Core configuration
|
|
531
|
-
✅ CLAUDE.md # Complete guide
|
|
532
|
-
✅ README.md # Project overview
|
|
533
|
-
|
|
534
|
-
# Features
|
|
535
|
-
✅ features/*/spec.md # Implemented features
|
|
536
|
-
✅ features/roadmap.md # Planned features
|
|
537
|
-
|
|
538
|
-
# Skills (actual capabilities)
|
|
539
|
-
✅ src/skills/*/SKILL.md # Skill definitions
|
|
540
|
-
✅ src/skills/*/README.md # Skill documentation
|
|
541
|
-
|
|
542
|
-
# Documentation
|
|
543
|
-
✅ .specweave/docs/architecture/ # Architecture docs
|
|
544
|
-
✅ .specweave/docs/decisions/ # ADRs
|
|
545
|
-
✅ .specweave/docs/api/ # API reference
|
|
546
|
-
|
|
547
|
-
# Tests
|
|
548
|
-
✅ tests/ # Test implementation
|
|
549
|
-
✅ src/skills/*/test-cases/ # Skill tests
|
|
550
|
-
```
|
|
551
|
-
|
|
552
|
-
### Analysis Questions I Can Answer
|
|
553
|
-
|
|
554
|
-
**Implementation Status:**
|
|
555
|
-
- "Does SpecWeave have quality gates?" → Read src/skills/, check for qa-gate
|
|
556
|
-
- "Is risk assessment implemented?" → Check qa-engineer skill
|
|
557
|
-
- "What's the brownfield workflow?" → Read brownfield-analyzer skill
|
|
558
|
-
|
|
559
|
-
**Feature Comparison:**
|
|
560
|
-
- "How does SpecWeave's QA compare to BMAD?" → Compare skills to @qa commands
|
|
561
|
-
- "Context management differences?" → Compare manifests to always-loaded
|
|
562
|
-
|
|
563
|
-
**Strategic Decisions:**
|
|
564
|
-
- "Should I implement quality gates?" → Analyze current gaps, recommend priority
|
|
565
|
-
- "What's missing for enterprise use?" → Read roadmap, compare to BMAD
|
|
566
|
-
|
|
567
|
-
---
|
|
568
|
-
|
|
569
|
-
## Key Principles
|
|
570
|
-
|
|
571
|
-
### 1. Always Fresh Analysis
|
|
572
|
-
|
|
573
|
-
❌ **Don't**: Use static snapshots
|
|
574
|
-
✅ **Do**: Read current project state
|
|
575
|
-
|
|
576
|
-
### 2. Evidence-Based Comparison
|
|
577
|
-
|
|
578
|
-
❌ **Don't**: Make assumptions
|
|
579
|
-
✅ **Do**: Check actual files and implementation
|
|
580
|
-
|
|
581
|
-
### 3. Balanced Assessment
|
|
582
|
-
|
|
583
|
-
❌ **Don't**: Favor one framework
|
|
584
|
-
✅ **Do**: Show trade-offs and use cases
|
|
585
|
-
|
|
586
|
-
### 4. Actionable Recommendations
|
|
587
|
-
|
|
588
|
-
❌ **Don't**: Just list differences
|
|
589
|
-
✅ **Do**: Suggest concrete next steps
|
|
590
|
-
|
|
591
|
-
---
|
|
592
|
-
|
|
593
|
-
## BMAD Resources (Reference)
|
|
594
|
-
|
|
595
|
-
**Official Repository**: https://github.com/bmad-code-org/BMAD-METHOD
|
|
596
|
-
**Core Files to Reference**:
|
|
597
|
-
- `.bmad-core/agents/` - Agent definitions
|
|
598
|
-
- `docs/prd-template.md` - PRD template
|
|
599
|
-
- `docs/architecture-template.md` - Architecture template
|
|
600
|
-
- `docs/story-template.md` - Story template
|
|
601
|
-
|
|
602
|
-
**When users need BMAD specifics, I can:**
|
|
603
|
-
- Reference these files
|
|
604
|
-
- Explain structure and usage
|
|
605
|
-
- Show examples from BMAD docs
|
|
606
|
-
- Guide on how to fetch and adapt
|
|
607
|
-
|
|
608
|
-
---
|
|
609
|
-
|
|
610
|
-
## Version History
|
|
611
|
-
|
|
612
|
-
**v3.0.0** (Current) - Dynamic gap analysis
|
|
613
|
-
- On-demand analysis of current SpecWeave state
|
|
614
|
-
- Fresh comparisons, not static snapshots
|
|
615
|
-
- Evidence-based recommendations
|
|
616
|
-
|
|
617
|
-
**v2.0.0** - Comparative analysis expert
|
|
618
|
-
- Static gap analysis included
|
|
619
|
-
- BMAD SME knowledge
|
|
620
|
-
|
|
621
|
-
**v1.0.0** - Initial BMAD expert
|
|
622
|
-
- Basic BMAD knowledge
|
|
623
|
-
|
|
624
|
-
---
|
|
625
|
-
|
|
626
|
-
**I am ready to perform gap analysis on your current SpecWeave implementation. Just ask!**
|