specweave 0.23.12 → 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.
Files changed (90) hide show
  1. package/CLAUDE.md +55 -0
  2. package/dist/src/core/progress/error-logger.d.ts +58 -0
  3. package/dist/src/core/progress/error-logger.d.ts.map +1 -0
  4. package/dist/src/core/progress/error-logger.js +99 -0
  5. package/dist/src/core/progress/error-logger.js.map +1 -0
  6. package/dist/src/core/spec-detector.d.ts +5 -0
  7. package/dist/src/core/spec-detector.d.ts.map +1 -1
  8. package/dist/src/core/spec-detector.js +91 -33
  9. package/dist/src/core/spec-detector.js.map +1 -1
  10. package/package.json +1 -1
  11. package/plugins/specweave/hooks/docs-changed.sh +9 -1
  12. package/plugins/specweave/hooks/docs-changed.sh.backup +79 -0
  13. package/plugins/specweave/hooks/human-input-required.sh +9 -1
  14. package/plugins/specweave/hooks/human-input-required.sh.backup +75 -0
  15. package/plugins/specweave/hooks/post-first-increment.sh.backup +61 -0
  16. package/plugins/specweave/hooks/post-increment-change.sh +6 -1
  17. package/plugins/specweave/hooks/post-increment-change.sh.backup +98 -0
  18. package/plugins/specweave/hooks/post-increment-completion.sh +6 -1
  19. package/plugins/specweave/hooks/post-increment-completion.sh.backup +231 -0
  20. package/plugins/specweave/hooks/post-increment-planning.sh +6 -1
  21. package/plugins/specweave/hooks/post-increment-planning.sh.backup +1048 -0
  22. package/plugins/specweave/hooks/post-increment-status-change.sh +6 -1
  23. package/plugins/specweave/hooks/post-increment-status-change.sh.backup +147 -0
  24. package/plugins/specweave/hooks/post-metadata-change.sh +7 -1
  25. package/plugins/specweave/hooks/post-spec-update.sh.backup +158 -0
  26. package/plugins/specweave/hooks/post-user-story-complete.sh.backup +179 -0
  27. package/plugins/specweave/hooks/pre-command-deduplication.sh.backup +83 -0
  28. package/plugins/specweave/hooks/pre-implementation.sh +9 -1
  29. package/plugins/specweave/hooks/pre-implementation.sh.backup +67 -0
  30. package/plugins/specweave/hooks/pre-task-completion.sh +9 -1
  31. package/plugins/specweave/hooks/pre-task-completion.sh.backup +194 -0
  32. package/plugins/specweave/hooks/pre-tool-use.sh +9 -1
  33. package/plugins/specweave/hooks/pre-tool-use.sh.backup +133 -0
  34. package/plugins/specweave/hooks/user-prompt-submit.sh.backup +386 -0
  35. package/plugins/specweave-ado/hooks/post-living-docs-update.sh +9 -2
  36. package/plugins/specweave-ado/hooks/post-living-docs-update.sh.backup +353 -0
  37. package/plugins/specweave-ado/hooks/post-task-completion.sh +9 -1
  38. package/plugins/specweave-ado/hooks/post-task-completion.sh.backup +172 -0
  39. package/plugins/specweave-github/.claude-plugin/plugin.json +15 -1
  40. package/plugins/specweave-github/hooks/.specweave/logs/hooks-debug.log +16 -0
  41. package/plugins/specweave-github/hooks/post-task-completion.sh +62 -1
  42. package/plugins/specweave-github/hooks/post-task-completion.sh.backup +258 -0
  43. package/plugins/specweave-jira/hooks/post-task-completion.sh +9 -1
  44. package/plugins/specweave-jira/hooks/post-task-completion.sh.backup +172 -0
  45. package/plugins/specweave-release/hooks/.specweave/logs/dora-tracking.log +48 -0
  46. package/plugins/specweave-release/hooks/post-task-completion.sh.backup +110 -0
  47. package/plugins/specweave-alternatives/.claude-plugin/plugin.json +0 -21
  48. package/plugins/specweave-alternatives/skills/bmad-method-expert/SKILL.md +0 -626
  49. package/plugins/specweave-alternatives/skills/bmad-method-expert/scripts/analyze-project.js +0 -318
  50. package/plugins/specweave-alternatives/skills/bmad-method-expert/scripts/check-setup.js +0 -208
  51. package/plugins/specweave-alternatives/skills/bmad-method-expert/scripts/generate-template.js +0 -1149
  52. package/plugins/specweave-alternatives/skills/bmad-method-expert/scripts/validate-documents.js +0 -340
  53. package/plugins/specweave-alternatives/skills/spec-kit-expert/SKILL.md +0 -1010
  54. package/plugins/specweave-cost-optimizer/.claude-plugin/plugin.json +0 -20
  55. package/plugins/specweave-cost-optimizer/skills/cost-optimizer/SKILL.md +0 -190
  56. package/plugins/specweave-docs/.claude-plugin/plugin.json +0 -19
  57. package/plugins/specweave-docs/skills/docusaurus/SKILL.md +0 -613
  58. package/plugins/specweave-docs/skills/spec-driven-brainstorming/README.md +0 -264
  59. package/plugins/specweave-docs/skills/spec-driven-brainstorming/SKILL.md +0 -439
  60. package/plugins/specweave-docs/skills/spec-driven-debugging/README.md +0 -479
  61. package/plugins/specweave-docs/skills/spec-driven-debugging/SKILL.md +0 -652
  62. package/plugins/specweave-figma/.claude-plugin/.mcp.json +0 -12
  63. package/plugins/specweave-figma/.claude-plugin/plugin.json +0 -20
  64. package/plugins/specweave-figma/ARCHITECTURE.md +0 -453
  65. package/plugins/specweave-figma/README.md +0 -728
  66. package/plugins/specweave-figma/skills/figma-to-code/SKILL.md +0 -632
  67. package/plugins/specweave-figma/skills/figma-to-code/test-1-token-generation.yaml +0 -29
  68. package/plugins/specweave-figma/skills/figma-to-code/test-2-component-generation.yaml +0 -27
  69. package/plugins/specweave-figma/skills/figma-to-code/test-3-typescript-generation.yaml +0 -28
  70. package/plugins/specweave-frontend/.claude-plugin/plugin.json +0 -21
  71. package/plugins/specweave-frontend/skills/design-system-architect/SKILL.md +0 -107
  72. package/plugins/specweave-frontend/skills/frontend/SKILL.md +0 -177
  73. package/plugins/specweave-frontend/skills/nextjs/SKILL.md +0 -176
  74. package/plugins/specweave-testing/.claude-plugin/plugin.json +0 -20
  75. package/plugins/specweave-testing/skills/e2e-playwright/README.md +0 -506
  76. package/plugins/specweave-testing/skills/e2e-playwright/SKILL.md +0 -457
  77. package/plugins/specweave-testing/skills/e2e-playwright/execute.js +0 -373
  78. package/plugins/specweave-testing/skills/e2e-playwright/lib/utils.js +0 -514
  79. package/plugins/specweave-testing/skills/e2e-playwright/package.json +0 -33
  80. package/plugins/specweave-tooling/.claude-plugin/plugin.json +0 -19
  81. package/plugins/specweave-tooling/skills/skill-creator/LICENSE.txt +0 -202
  82. package/plugins/specweave-tooling/skills/skill-creator/SKILL.md +0 -209
  83. package/plugins/specweave-tooling/skills/skill-creator/scripts/init_skill.py +0 -303
  84. package/plugins/specweave-tooling/skills/skill-creator/scripts/package_skill.py +0 -110
  85. package/plugins/specweave-tooling/skills/skill-creator/scripts/quick_validate.py +0 -65
  86. package/plugins/specweave-tooling/skills/skill-router/SKILL.md +0 -479
  87. package/plugins/specweave-ui/.claude-plugin/plugin.json +0 -26
  88. package/plugins/specweave-ui/.mcp.json +0 -10
  89. package/plugins/specweave-ui/README.md +0 -492
  90. package/plugins/specweave-ui/skills/browser-automation/SKILL.md +0 -676
@@ -1,1010 +0,0 @@
1
- ---
2
- name: spec-kit-expert
3
- description: SPEC-KIT Subject Matter Expert for dynamic gap analysis. Deeply understands spec-kit 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 spec-kit", "spec-kit vs SpecWeave", "gap analysis", "what does spec-kit have", "benefits comparison", "should I use spec-kit or SpecWeave", "spec-kit features", "how does spec-kit handle X", "GitHub spec-kit".
4
- ---
5
-
6
- # SPEC-KIT Subject Matter Expert
7
-
8
- **Version:** 1.0.0
9
- **Purpose:** Dynamic gap analysis and spec-kit expertise for framework comparison
10
-
11
- ## Core Mission
12
-
13
- I am a **SPEC-KIT Subject Matter Expert** who:
14
-
15
- 1. 🎓 **Knows spec-kit deeply** - Complete understanding of spec-kit framework, commands, 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 spec-kit version (GitHub: github/spec-kit)
26
- - Identify gaps in both directions
27
- - Generate detailed comparison reports
28
-
29
- ✅ **spec-kit Expertise**
30
- - Explain any spec-kit concept, command, or workflow
31
- - Answer "how does spec-kit handle X?"
32
- - Reference spec-kit documentation and examples
33
-
34
- ✅ **Strategic Recommendations**
35
- - "Should I use spec-kit or SpecWeave for [use case]?"
36
- - "What's missing in SpecWeave compared to spec-kit?"
37
- - "What does SpecWeave do better?"
38
-
39
- ## What This Skill Does NOT Do
40
-
41
- ❌ Implement spec-kit in your project
42
- ❌ Convert SpecWeave to spec-kit
43
- ❌ Install or configure spec-kit
44
- ❌ Create specifications in spec-kit format
45
- ❌ Replace SpecWeave with spec-kit
46
-
47
- ## Activation Triggers
48
-
49
- This skill activates when you ask:
50
-
51
- **Gap Analysis Requests:**
52
- - ✅ "Compare SpecWeave to spec-kit"
53
- - ✅ "What gaps exist between SpecWeave and spec-kit?"
54
- - ✅ "What does spec-kit have that SpecWeave doesn't?"
55
- - ✅ "What does SpecWeave do better than spec-kit?"
56
- - ✅ "Gap analysis: spec-kit vs SpecWeave"
57
- - ✅ "GitHub spec-kit comparison"
58
-
59
- **spec-kit Questions (for comparison context):**
60
- - ✅ "How does spec-kit handle [feature]?"
61
- - ✅ "What is spec-kit's approach to [concept]?"
62
- - ✅ "Explain spec-kit's task workflow"
63
- - ✅ "How do spec-kit commands work?"
64
- - ✅ "What is /speckit.constitution?"
65
-
66
- **Decision Support:**
67
- - ✅ "Should I use spec-kit or SpecWeave?"
68
- - ✅ "Which framework for [use case]?"
69
- - ✅ "Benefits of SpecWeave over spec-kit"
70
-
71
- **Does NOT activate for:**
72
- - ❌ Generic SpecWeave development (use SpecWeave skills)
73
- - ❌ Creating features, specs, or plans
74
- - ❌ Implementation tasks
75
-
76
- ---
77
-
78
- ## SPEC-KIT Knowledge Base (Static Reference)
79
-
80
- ### What is spec-kit?
81
-
82
- **spec-kit** is an open-source toolkit enabling "spec-driven development" where specifications become executable artifacts that directly generate working implementations.
83
-
84
- **Repository**: https://github.com/github/spec-kit
85
- **Stars**: 42.1K+ (highly popular)
86
- **License**: MIT
87
- **Creator**: GitHub (official GitHub project)
88
-
89
- **Philosophy**: "An open source toolkit that allows you to focus on product scenarios and predictable outcomes instead of vibe coding every piece from scratch."
90
-
91
- ### Core spec-kit Concepts
92
-
93
- #### 1. Directory Structure
94
-
95
- **spec-kit uses `.specify/` directory** (different from SpecWeave's `.specweave/`):
96
-
97
- ```
98
- .specify/
99
- ├── memory/
100
- │ └── constitution.md # Project principles & guidelines
101
- ├── scripts/
102
- │ ├── check-prerequisites.sh
103
- │ ├── common.sh
104
- │ ├── create-new-feature.sh
105
- │ ├── setup-plan.sh
106
- │ └── update-claude-md.sh
107
- ├── specs/
108
- │ └── [FEATURE-NUMBER]-[NAME]/
109
- │ ├── spec.md # Functional requirements (WHAT, WHY)
110
- │ ├── plan.md # Technical implementation (HOW)
111
- │ ├── tasks.md # Actionable task breakdown
112
- │ ├── data-model.md # Data models
113
- │ ├── quickstart.md # Quick start guide
114
- │ ├── research.md # Research findings
115
- │ └── contracts/
116
- │ ├── api-spec.json
117
- │ └── signalr-spec.md
118
- └── templates/
119
- ├── spec-template.md
120
- ├── plan-template.md
121
- └── tasks-template.md
122
- ```
123
-
124
- **Key Characteristics**:
125
- - Features numbered: `001-photo-albums`, `002-user-auth`
126
- - Three core documents per feature: `spec.md`, `plan.md`, `tasks.md`
127
- - Constitution stored in `.specify/memory/constitution.md`
128
- - Templates for consistency
129
-
130
- #### 2. Seven-Step Workflow
131
-
132
- **spec-kit has a linear, sequential workflow:**
133
-
134
- | Step | Command | Purpose |
135
- |------|---------|---------|
136
- | 1 | `/speckit.constitution` | Establish project principles |
137
- | 2 | `/speckit.specify` | Create functional specifications |
138
- | 3 | `/speckit.clarify` | Structured requirement refinement |
139
- | 4 | `/speckit.plan` | Generate technical plan |
140
- | 5 | Validate Plan | Manual review step |
141
- | 6 | `/speckit.tasks` | Generate task breakdown |
142
- | 7 | `/speckit.implement` | Execute implementation |
143
-
144
- **Optional Commands:**
145
- - `/speckit.analyze` - Cross-artifact consistency validation
146
- - `/speckit.checklist` - Custom quality validation
147
-
148
- #### 3. CLI Installation & Commands
149
-
150
- **Installation:**
151
- ```bash
152
- # Persistent installation
153
- uv tool install specify-cli --from git+https://github.com/github/spec-kit.git
154
-
155
- # One-time usage
156
- uvx --from git+https://github.com/github/spec-kit.git specify init <PROJECT_NAME>
157
- ```
158
-
159
- **CLI Commands:**
160
- ```bash
161
- # Initialize project
162
- specify init <PROJECT_NAME> [options]
163
-
164
- # Check prerequisites
165
- specify check
166
-
167
- # Options for init:
168
- --ai [claude|gemini|copilot|cursor-agent|windsurf|...] # Specify AI
169
- --script [sh|ps] # Shell variant
170
- --here / --force # Initialize in current dir
171
- --no-git # Skip Git init
172
- --ignore-agent-tools # Skip agent detection
173
- --debug # Troubleshooting
174
- ```
175
-
176
- #### 4. Supported AI Agents
177
-
178
- spec-kit supports **14+ AI coding agents** (agent-agnostic):
179
- - Claude Code ✅
180
- - GitHub Copilot ✅
181
- - Gemini CLI ✅
182
- - Cursor ✅
183
- - Windsurf ✅
184
- - Qwen Code ✅
185
- - opencode ✅
186
- - Roo Code ✅
187
- - Codex CLI ✅
188
- - Kilo Code ✅
189
- - Auggie CLI ✅
190
- - CodeBuddy CLI ✅
191
- - Amp ✅
192
- - Amazon Q Developer CLI ⚠️ (limited support)
193
-
194
- **Key Point**: spec-kit is **agent-agnostic** - works with ANY AI agent supporting slash commands.
195
-
196
- #### 5. Constitutional Governance
197
-
198
- **spec-kit's `/speckit.constitution` command creates governing principles:**
199
-
200
- **Constitution document** (`.specify/memory/constitution.md`):
201
- - Code quality standards
202
- - Testing requirements
203
- - UX consistency guidelines
204
- - Performance requirements
205
- - Security standards
206
- - Accessibility guidelines
207
-
208
- **How it works:**
209
- 1. User runs `/speckit.constitution`
210
- 2. AI prompts for project principles
211
- 3. Creates `.specify/memory/constitution.md`
212
- 4. All subsequent commands reference this constitution
213
- 5. Ensures consistent decision-making throughout development
214
-
215
- **Example constitution:**
216
- ```markdown
217
- # Project Constitution
218
-
219
- ## Code Quality
220
- - TypeScript strict mode enabled
221
- - ESLint configuration enforced
222
- - 80%+ test coverage required
223
-
224
- ## Testing Standards
225
- - TDD approach for all features
226
- - E2E tests for critical paths
227
- - Unit tests for pure functions
228
-
229
- ## UX Consistency
230
- - Material Design guidelines
231
- - Responsive design mandatory
232
- - WCAG 2.1 AA compliance
233
- ```
234
-
235
- #### 6. Task Breakdown Intelligence
236
-
237
- **spec-kit's `/speckit.tasks` command generates advanced task breakdowns:**
238
-
239
- **Features:**
240
- - ✅ Hierarchically organized by user story
241
- - ✅ Dependency management (tasks marked with prerequisites)
242
- - ✅ Parallel execution markers (`[P]` for parallelizable tasks)
243
- - ✅ File path references (which files to modify)
244
- - ✅ TDD structure (write tests before implementation)
245
- - ✅ Ordered execution sequence
246
-
247
- **Example tasks.md:**
248
- ```markdown
249
- # Tasks: User Authentication
250
-
251
- ## User Story 1: User Login
252
-
253
- ### Tests (TDD)
254
- - [ ] [P] Write unit tests for login validation (auth.test.ts)
255
- - [ ] [P] Write E2E tests for login flow (login.spec.ts)
256
-
257
- ### Implementation
258
- - [ ] Create login API endpoint (src/api/auth.ts) [depends: tests]
259
- - [ ] Implement JWT token generation (src/auth/jwt.ts) [depends: tests]
260
- - [ ] Create login UI component (src/components/Login.tsx)
261
-
262
- ### Integration
263
- - [ ] Connect login UI to API (src/pages/LoginPage.tsx) [depends: implementation]
264
- - [ ] Add error handling and validation
265
- ```
266
-
267
- **Dependency tracking:** Tasks explicitly state dependencies (e.g., `[depends: tests]`)
268
-
269
- #### 7. Three Development Phases
270
-
271
- spec-kit supports **three development approaches:**
272
-
273
- **1. 0-to-1 Development (Greenfield)**
274
- - Build applications from scratch
275
- - Complete spec → plan → tasks → implement workflow
276
- - Technology-agnostic (choose any stack)
277
-
278
- **2. Creative Exploration**
279
- - Parallel implementations with diverse tech stacks
280
- - Rapid prototyping
281
- - Compare multiple approaches before committing
282
-
283
- **3. Iterative Enhancement (Brownfield)**
284
- - Legacy modernization
285
- - Incremental improvements
286
- - Add specs to existing codebases
287
-
288
- #### 8. Multi-Step Refinement Process
289
-
290
- **spec-kit emphasizes clarity before implementation:**
291
-
292
- **Workflow:**
293
- 1. **Constitution** → Establish principles
294
- 2. **Specify** → Define requirements
295
- 3. **Clarify** → Structured questioning (critical step!)
296
- 4. **Plan** → Technical strategy
297
- 5. **Validate** → Manual review (avoid over-engineering)
298
- 6. **Tasks** → Granular breakdown
299
- 7. **Implement** → Execution
300
-
301
- **Clarify step** (`/speckit.clarify`):
302
- - Structured, sequential questioning
303
- - Surfaces underspecified areas
304
- - Records answers in Clarifications section
305
- - Prevents ambiguity downstream
306
-
307
- **Example clarifications:**
308
- ```markdown
309
- ## Clarifications
310
-
311
- **Q1**: Should password reset be via email or SMS?
312
- **A1**: Email only for MVP, SMS in future phase
313
-
314
- **Q2**: What's the minimum password complexity?
315
- **A2**: 8 characters, 1 uppercase, 1 number, 1 special char
316
-
317
- **Q3**: Session timeout duration?
318
- **A3**: 30 minutes of inactivity
319
- ```
320
-
321
- ### spec-kit Strengths (Known Features)
322
-
323
- 1. ✅ **Agent-Agnostic** - Works with 14+ AI coding agents (not locked to Claude)
324
- 2. ✅ **Constitutional Governance** - Project principles guide all decisions
325
- 3. ✅ **Clarification Workflow** - Structured questioning prevents ambiguity
326
- 4. ✅ **Task Breakdown Intelligence** - Dependency-aware, parallel markers, TDD structure
327
- 5. ✅ **Linear Sequential Workflow** - Clear 7-step process
328
- 6. ✅ **GitHub Backing** - Official GitHub project (42.1K+ stars)
329
- 7. ✅ **Technology-Agnostic** - Works with any programming language/framework
330
- 8. ✅ **Research Integration** - Parallel research tasks for tech stack decisions
331
- 9. ✅ **Template System** - Consistent spec/plan/tasks templates
332
- 10. ✅ **Multi-Phase Development** - Supports greenfield, exploration, brownfield
333
-
334
- ### spec-kit Limitations (Known Gaps)
335
-
336
- 1. ❌ **No Context Manifests** - Loads all specs (no selective loading for token efficiency)
337
- 2. ❌ **No Auto-Role Routing** - User must manually invoke commands in sequence
338
- 3. ❌ **No Brownfield Analyzer** - No automated analysis of existing codebases
339
- 4. ❌ **No Agent System** - Only slash commands (no separate agent personalities)
340
- 5. ❌ **No E2E Testing Enforcement** - TDD suggested but not mandatory
341
- 6. ❌ **No Hooks System** - No automation for doc updates, validations
342
- 7. ❌ **No Skills System** - No extensible skill framework
343
- 8. ❌ **Linear Only** - Must follow 7-step sequence (less flexible)
344
- 9. ❌ **No Incremental Docs** - Requires upfront specification (no gradual approach)
345
- 10. ❌ **No Multi-Agent Orchestration** - Single conversation context
346
-
347
- ---
348
-
349
- ## Gap Analysis Workflow (Dynamic)
350
-
351
- When you request gap analysis, I will:
352
-
353
- ### Step 1: Analyze Current SpecWeave State
354
-
355
- **I will read and analyze:**
356
- ```bash
357
- # Project structure
358
- - CLAUDE.md (complete guide)
359
- - .specweave/increments/ (implemented features)
360
- - src/skills/ (available skills)
361
- - src/agents/ (available agents)
362
- - specifications/ (spec organization)
363
- - .specweave/docs/ (documentation structure)
364
- - .claude/hooks/ (automation hooks)
365
-
366
- # Features and capabilities
367
- - What features exist in .specweave/increments/
368
- - What skills exist in src/skills/
369
- - What agents exist in src/agents/
370
- - What's documented in .specweave/docs/
371
- - What's planned in roadmap
372
- - What hooks are configured
373
- ```
374
-
375
- ### Step 2: Compare to spec-kit (Static Knowledge)
376
-
377
- **I will compare:**
378
- - **Workflow**: Continuous/flexible (SpecWeave) vs Linear/sequential (spec-kit)
379
- - **Role system**: Skills + Agents (SpecWeave) vs Slash commands only (spec-kit)
380
- - **Context management**: Manifests (SpecWeave) vs Load all (spec-kit)
381
- - **Documentation**: Incremental + upfront (SpecWeave) vs Upfront only (spec-kit)
382
- - **Brownfield support**: Analyzer + regression (SpecWeave) vs Manual (spec-kit)
383
- - **Agent support**: Claude-focused (SpecWeave) vs 14+ agents (spec-kit)
384
- - **Testing**: Mandatory E2E (SpecWeave) vs TDD suggested (spec-kit)
385
- - **Automation**: Hooks system (SpecWeave) vs Scripts (spec-kit)
386
- - **Constitution**: Built-in CLAUDE.md (SpecWeave) vs /speckit.constitution (spec-kit)
387
- - **Task breakdown**: Context-aware (SpecWeave) vs Dependency-aware (spec-kit)
388
-
389
- ### Step 3: Generate Gap Analysis Report
390
-
391
- **Report includes:**
392
-
393
- **A. What spec-kit Has That SpecWeave Lacks**
394
- - Features present in spec-kit
395
- - Not implemented in SpecWeave
396
- - Priority assessment (critical, nice-to-have)
397
- - Implementation difficulty
398
-
399
- **B. What SpecWeave Has That spec-kit Lacks**
400
- - Features present in SpecWeave
401
- - Not in spec-kit
402
- - Unique benefits
403
- - Why it matters
404
-
405
- **C. Different Approaches (Not Gaps)**
406
- - Features both have, implemented differently
407
- - Trade-offs
408
- - Use case suitability
409
-
410
- **D. Recommendations**
411
- - Which framework for which use case
412
- - Hybrid approaches
413
- - Adoption strategy
414
-
415
- ### Step 4: Answer Your Specific Question
416
-
417
- Based on analysis, provide:
418
- - Direct answer to your question
419
- - Supporting evidence from both frameworks
420
- - Concrete examples
421
- - Actionable recommendations
422
-
423
- ---
424
-
425
- ## Example Interactions
426
-
427
- ### Example 1: General Gap Analysis
428
-
429
- **User**: "Compare SpecWeave to spec-kit - what are the gaps?"
430
-
431
- **I will**:
432
- 1. Read current SpecWeave state:
433
- ```bash
434
- - Check .specweave/increments/ for implemented capabilities
435
- - Read src/skills/ for available skills
436
- - Read src/agents/ for available agents
437
- - Review CLAUDE.md for documented features
438
- - Settings auto-detected
439
- - Analyze .claude/hooks/ for automation
440
- ```
441
-
442
- 2. Compare to spec-kit knowledge:
443
- - Constitutional governance (spec-kit has `/speckit.constitution`)
444
- - Agent-agnostic support (spec-kit has 14+ agents)
445
- - Task breakdown (spec-kit has dependency tracking)
446
- - Clarification workflow (spec-kit has `/speckit.clarify`)
447
- - Linear workflow (spec-kit has strict 7-step process)
448
- - Template system (spec-kit has standardized templates)
449
-
450
- 3. Generate report:
451
- ```markdown
452
- # Gap Analysis: spec-kit vs SpecWeave
453
-
454
- ## Analysis Date: [current date]
455
- ## SpecWeave Version: [from config or git]
456
- ## spec-kit Version: Latest (GitHub: github/spec-kit)
457
-
458
- ### Gaps: spec-kit Features Missing in SpecWeave
459
-
460
- 1. **Agent-Agnostic Support**
461
- - Status: Not fully implemented in SpecWeave
462
- - spec-kit has: Works with 14+ AI coding agents (Claude, Copilot, Cursor, etc.)
463
- - SpecWeave has: Focused on Claude Code
464
- - Impact: Medium (limits user choice)
465
- - Recommendation: Maintain Claude focus (strength), optional multi-agent later
466
-
467
- 2. **Constitutional Governance Command**
468
- - Status: Partially implemented in SpecWeave
469
- - spec-kit has: `/speckit.constitution` creates `.specify/memory/constitution.md`
470
- - SpecWeave has: CLAUDE.md serves as constitution (static, comprehensive)
471
- - Impact: Low (SpecWeave's CLAUDE.md is more comprehensive)
472
- - Recommendation: CLAUDE.md is superior (living guide vs static principles)
473
-
474
- 3. **Clarification Workflow**
475
- - Status: Not implemented in SpecWeave
476
- - spec-kit has: `/speckit.clarify` - structured questioning to refine specs
477
- - SpecWeave has: Ad-hoc clarification (no structured workflow)
478
- - Impact: Medium (structured clarification prevents ambiguity)
479
- - Recommendation: Implement as `spec-clarifier` skill (P2 priority)
480
-
481
- 4. **Dependency-Aware Task Breakdown**
482
- - Status: Partially implemented in SpecWeave
483
- - spec-kit has: Explicit dependencies, parallel markers, TDD structure
484
- - SpecWeave has: tasks.md but less structured
485
- - Impact: Medium (better task organization)
486
- - Recommendation: Enhance `increment-planner` skill with dependency tracking
487
-
488
- 5. **Template System**
489
- - Status: Not implemented in SpecWeave
490
- - spec-kit has: `.specify/templates/` for spec/plan/tasks
491
- - SpecWeave has: Ad-hoc spec creation
492
- - Impact: Low (flexibility vs consistency trade-off)
493
- - Recommendation: Optional templates (don't enforce rigidity)
494
-
495
- [... continue for all gaps ...]
496
-
497
- ### Benefits: SpecWeave Features Not in spec-kit
498
-
499
- 1. **Context Manifests (70%+ token reduction)**
500
- - Status: Core SpecWeave feature
501
- - spec-kit has: Loads all specs (no selective loading)
502
- - SpecWeave has: `context-manifest.yaml` per feature
503
- - Benefit: Dramatic token savings, scales to enterprise (1000+ page specs)
504
- - Why it matters: Cost reduction, faster responses, enterprise scalability
505
-
506
- 2. **Agent System (Separate Context Windows)**
507
- - Status: Core SpecWeave feature
508
- - spec-kit has: Only slash commands (single conversation)
509
- - SpecWeave has: 14+ agents (PM, Architect, DevOps, QA, etc.) with separate contexts
510
- - Benefit: Complex workflows, role-based expertise, no context pollution
511
- - Why it matters: Enterprise-grade multi-role collaboration
512
-
513
- 3. **Skills Framework (Extensible)**
514
- - Status: Core SpecWeave feature
515
- - spec-kit has: Fixed slash commands
516
- - SpecWeave has: User-extensible skills (SKILL.md format)
517
- - Benefit: Custom capabilities, domain-specific skills, MCP wrappers
518
- - Why it matters: Adaptability to any domain or tech stack
519
-
520
- 4. **Brownfield Analyzer**
521
- - Status: Core SpecWeave feature
522
- - spec-kit has: Manual brownfield approach
523
- - SpecWeave has: `brownfield-analyzer` skill (automated analysis)
524
- - Benefit: Retroactive specs, regression prevention, safe modifications
525
- - Why it matters: Critical for legacy codebases (most enterprise projects)
526
-
527
- 5. **Hooks System (Automation)**
528
- - Status: Core SpecWeave feature
529
- - spec-kit has: Shell scripts only
530
- - SpecWeave has: `.claude/hooks/` (post-task, pre-implementation, etc.)
531
- - Benefit: Auto-update docs, enforce validations, workflow automation
532
- - Why it matters: Living documentation, zero manual overhead
533
-
534
- 6. **Mandatory E2E Testing (Playwright)**
535
- - Status: Core SpecWeave feature
536
- - spec-kit has: TDD suggested (not enforced)
537
- - SpecWeave has: Mandatory E2E tests when UI exists
538
- - Benefit: Truth-telling tests, zero false positives, production confidence
539
- - Why it matters: Quality assurance for production systems
540
-
541
- 7. **Incremental + Upfront Documentation**
542
- - Status: Core SpecWeave philosophy
543
- - spec-kit has: Upfront specification only
544
- - SpecWeave has: Supports BOTH comprehensive upfront (500+ pages) AND incremental (like Microsoft)
545
- - Benefit: Flexibility for enterprise AND startups
546
- - Why it matters: Scalable from MVP to production
547
-
548
- 8. **Auto-Role Routing (>90% accuracy)**
549
- - Status: Core SpecWeave feature
550
- - spec-kit has: User manually invokes commands
551
- - SpecWeave has: `skill-router` auto-detects and routes
552
- - Benefit: Faster workflow, less cognitive overhead
553
- - Why it matters: User focuses on "what", AI handles "how"
554
-
555
- [... continue ...]
556
-
557
- ### Different Approaches (Not Gaps)
558
-
559
- 1. **Workflow Philosophy**
560
- - spec-kit: Linear 7-step process (structured, sequential)
561
- - SpecWeave: Continuous, flexible workflow (adapt to project needs)
562
- - Trade-off: spec-kit = predictable, SpecWeave = adaptable
563
- - Use case: spec-kit for teams needing strict process, SpecWeave for dynamic teams
564
-
565
- 2. **Constitution vs CLAUDE.md**
566
- - spec-kit: `.specify/memory/constitution.md` (project-specific principles)
567
- - SpecWeave: `CLAUDE.md` (comprehensive development guide + principles)
568
- - Trade-off: spec-kit = minimal principles, SpecWeave = complete guide
569
- - Use case: spec-kit for simple projects, SpecWeave for complex systems
570
-
571
- 3. **Directory Structure**
572
- - spec-kit: `.specify/` (specs/, memory/, scripts/, templates/)
573
- - SpecWeave: `.specweave/` (increments/, docs/, cache/, tests/)
574
- - Trade-off: spec-kit = flat, SpecWeave = hierarchical
575
- - Use case: Both work, naming preference
576
-
577
- ### Recommendations
578
-
579
- **Use spec-kit if:**
580
- - You want agent-agnostic framework (Copilot, Cursor, Gemini, etc.)
581
- - You prefer strict linear workflow (7 steps, no deviation)
582
- - You need simple projects with small specs (<50 pages)
583
- - You want GitHub-official backing (42.1K+ stars)
584
- - You prioritize simplicity over flexibility
585
-
586
- **Use SpecWeave if:**
587
- - You want enterprise-scale features (context manifests, 500+ page specs)
588
- - You need brownfield support (legacy codebases)
589
- - You prioritize mandatory E2E testing (production confidence)
590
- - You want skills/agents extensibility (custom capabilities)
591
- - You need automation (hooks for doc updates, validations)
592
- - You prefer flexible workflow (incremental OR comprehensive docs)
593
- - You want multi-agent orchestration (PM, Architect, DevOps, etc.)
594
-
595
- **Hybrid approach:**
596
- - Use spec-kit's `/speckit.clarify` mindset for SpecWeave specs (implement as skill)
597
- - Use spec-kit's task dependency tracking in SpecWeave `tasks.md`
598
- - Use SpecWeave's context manifests for large spec-kit projects (if possible)
599
- - Use spec-kit's constitutional governance + SpecWeave's CLAUDE.md (complementary)
600
- ```
601
-
602
- ### Example 2: Specific Feature Question
603
-
604
- **User**: "How does spec-kit handle task breakdown?"
605
-
606
- **I will**:
607
- 1. Explain spec-kit task breakdown (static knowledge)
608
- 2. Show `/speckit.tasks` command and examples
609
- 3. Compare to SpecWeave approach (read increment-planner skill if exists)
610
- 4. Highlight differences
611
-
612
- **Response**:
613
- ```markdown
614
- # spec-kit Task Breakdown Workflow
615
-
616
- ## spec-kit Approach
617
-
618
- spec-kit's `/speckit.tasks` command generates intelligent task breakdowns:
619
-
620
- **Features:**
621
- - ✅ Hierarchically organized by user story
622
- - ✅ Dependency management (`[depends: tests]`)
623
- - ✅ Parallel execution markers (`[P]` for parallelizable tasks)
624
- - ✅ File path references (which files to modify)
625
- - ✅ TDD structure (write tests before implementation)
626
- - ✅ Ordered execution sequence
627
-
628
- **Example tasks.md:**
629
- ```markdown
630
- # Tasks: User Authentication
631
-
632
- ## User Story 1: User Login
633
-
634
- ### Tests (TDD)
635
- - [ ] [P] Write unit tests for login validation (auth.test.ts)
636
- - [ ] [P] Write E2E tests for login flow (login.spec.ts)
637
-
638
- ### Implementation
639
- - [ ] Create login API endpoint (src/api/auth.ts) [depends: tests]
640
- - [ ] Implement JWT token generation (src/auth/jwt.ts) [depends: tests]
641
- - [ ] Create login UI component (src/components/Login.tsx)
642
-
643
- ### Integration
644
- - [ ] Connect login UI to API (src/pages/LoginPage.tsx) [depends: implementation]
645
- - [ ] Add error handling and validation
646
-
647
- ## User Story 2: User Logout
648
-
649
- [... continue ...]
650
- ```
651
-
652
- **Key Characteristics:**
653
- 1. **Dependency tracking**: Explicit `[depends: ...]` notation
654
- 2. **Parallel markers**: `[P]` indicates tasks can run in parallel
655
- 3. **File paths**: Every task includes exact file path
656
- 4. **TDD first**: Tests written before implementation
657
- 5. **Grouped by user story**: Clear organization
658
-
659
- ## SpecWeave Approach (Current State)
660
-
661
- [Read and analyze src/skills/increment-planner/ and increments/*/tasks.md]
662
-
663
- - **increment-planner skill**: Creates tasks.md in `.specweave/increments/`
664
- - **Structure**: Similar hierarchical organization
665
- - **Missing**: Explicit dependency notation (`[depends: ...]`)
666
- - **Missing**: Parallel markers (`[P]`)
667
- - **Strength**: Context manifests (knows what specs to load)
668
- - **Strength**: Integrated with skills/agents (auto-routing)
669
-
670
- **Example SpecWeave tasks.md:**
671
- ```markdown
672
- # Tasks: User Authentication
673
-
674
- ## Specification Phase
675
- - [ ] Create specification in specifications/modules/auth/
676
- - [ ] Define acceptance criteria (TC-0001 format)
677
- - [ ] Create context manifest
678
-
679
- ## Planning Phase
680
- - [ ] Design architecture (.specweave/docs/architecture/)
681
- - [ ] Create ADRs for tech stack decisions
682
- - [ ] Define data models
683
-
684
- ## Implementation Phase
685
- - [ ] Write E2E tests (tests/e2e/login.spec.ts) - MANDATORY
686
- - [ ] Implement login API endpoint
687
- - [ ] Implement JWT authentication
688
- - [ ] Create login UI component
689
-
690
- ## Validation Phase
691
- - [ ] Run E2E tests (must pass)
692
- - [ ] Update documentation (auto via hooks)
693
- - [ ] Create completion report
694
- ```
695
-
696
- **Key Characteristics:**
697
- 1. **Phase-based**: Spec → Plan → Implement → Validate
698
- 2. **Context-aware**: Loads only relevant specs
699
- 3. **E2E mandatory**: Tests required when UI exists
700
- 4. **Auto-documentation**: Hooks update docs automatically
701
- 5. **Less granular**: No explicit dependencies or parallel markers
702
-
703
- ## Comparison
704
-
705
- | Aspect | spec-kit | SpecWeave |
706
- |--------|----------|-----------|
707
- | Dependency tracking | ✅ Explicit `[depends: ...]` | ❌ Not explicit |
708
- | Parallel markers | ✅ `[P]` notation | ❌ Not explicit |
709
- | File paths | ✅ In every task | ⚠️ Sometimes included |
710
- | TDD structure | ✅ Tests first | ✅ E2E mandatory (when UI) |
711
- | Granularity | ✅ Very granular | ⚠️ Medium granularity |
712
- | Context awareness | ❌ Not context-aware | ✅ Context manifests |
713
- | Auto-routing | ❌ Manual commands | ✅ Skills auto-activate |
714
- | Organization | By user story | By phase (spec/plan/implement) |
715
-
716
- ## Recommendation
717
-
718
- **Enhance SpecWeave with spec-kit task features:**
719
- 1. ✅ Add explicit dependency notation (`[depends: ...]`) to tasks.md
720
- 2. ✅ Add parallel markers (`[P]`) for concurrent tasks
721
- 3. ✅ Ensure file paths in every task
722
- 4. ✅ Maintain E2E mandatory requirement (SpecWeave strength)
723
- 5. ✅ Keep context awareness (SpecWeave strength)
724
-
725
- **Implementation:**
726
- - Update `increment-planner` skill to generate spec-kit-style dependencies
727
- - Add parallel detection logic (identify independent tasks)
728
- - Keep phase-based structure (SpecWeave's strength)
729
- ```
730
-
731
- ### Example 3: Decision Support
732
-
733
- **User**: "Should I use spec-kit or SpecWeave for a greenfield SaaS application?"
734
-
735
- **I will**:
736
- 1. Analyze use case requirements
737
- 2. Check SpecWeave greenfield capabilities
738
- 3. Compare to spec-kit greenfield approach
739
- 4. Provide specific recommendation
740
-
741
- **Response**:
742
- ```markdown
743
- # Framework Recommendation: Greenfield SaaS Application
744
-
745
- ## Use Case Analysis
746
-
747
- **Project Characteristics:**
748
- - ✅ Greenfield (starting from scratch)
749
- - ✅ SaaS application (likely complex, multi-tenant)
750
- - ✅ Scalability requirements (enterprise potential)
751
- - ✅ Likely large specifications (50-200+ pages)
752
- - ✅ Need for structured development process
753
- - ⚠️ May need multi-agent collaboration (frontend, backend, DevOps)
754
-
755
- ## spec-kit Approach
756
-
757
- **Strengths:**
758
- - ✅ Clear 7-step workflow (constitution → spec → clarify → plan → tasks → implement)
759
- - ✅ Agent-agnostic (use any AI: Claude, Copilot, Cursor, etc.)
760
- - ✅ Clarification workflow prevents ambiguity
761
- - ✅ GitHub-official (42.1K+ stars, trusted)
762
- - ✅ Template system (consistent specs)
763
- - ✅ Simple setup (`specify init my-saas`)
764
-
765
- **Challenges:**
766
- - ❌ No context manifests (loads all specs = high token usage for large SaaS)
767
- - ❌ No brownfield support (if you need to integrate legacy systems later)
768
- - ❌ No mandatory E2E testing (TDD suggested only)
769
- - ❌ Linear workflow (must follow 7 steps strictly)
770
- - ❌ No multi-agent orchestration (single conversation)
771
- - ❌ No automation hooks (manual doc updates)
772
-
773
- ## SpecWeave Approach (Current State)
774
-
775
- [Read and analyze SpecWeave features for greenfield]
776
-
777
- **Strengths:**
778
- - ✅ Context manifests (70%+ token reduction = cost savings for large SaaS)
779
- - ✅ Multi-agent system (PM, Architect, Frontend, Backend, DevOps, QA)
780
- - ✅ Mandatory E2E testing (production confidence)
781
- - ✅ Flexible workflow (incremental OR comprehensive docs)
782
- - ✅ Hooks system (auto-update docs, zero overhead)
783
- - ✅ Skills extensibility (custom SaaS-specific skills)
784
- - ✅ Incremental docs (start small, grow to 500+ pages)
785
-
786
- **Challenges:**
787
- - ⚠️ Claude-focused (not agent-agnostic like spec-kit)
788
- - ⚠️ More complex initial setup (more features = steeper learning curve)
789
- - ⚠️ Less GitHub popularity (new framework vs spec-kit's 42.1K stars)
790
- - ❌ No structured clarification workflow (spec-kit has this)
791
-
792
- ## Recommendation
793
-
794
- **🎯 Use SpecWeave for this use case**
795
-
796
- **Reasons:**
797
- 1. **Scale**: SaaS apps grow large (100-500+ pages of specs) → context manifests critical
798
- 2. **Multi-agent**: SaaS needs PM, Architect, Frontend, Backend, DevOps collaboration
799
- 3. **E2E testing**: SaaS in production requires truth-telling tests (mandatory)
800
- 4. **Flexibility**: Start with 20-page spec (MVP), grow to 200+ pages (enterprise)
801
- 5. **Automation**: Hooks keep docs updated as SaaS evolves
802
-
803
- **Augment with spec-kit concepts:**
804
- - ✅ Use spec-kit's `/speckit.clarify` mindset (implement as SpecWeave skill)
805
- - ✅ Adopt spec-kit's dependency notation in tasks.md
806
- - ✅ Reference spec-kit's constitutional governance approach
807
-
808
- **Implementation Path:**
809
- 1. `specweave init --greenfield` (or equivalent)
810
- 2. Create initial spec (20-30 pages for MVP)
811
- 3. Use PM agent for product requirements
812
- 4. Use Architect agent for system design
813
- 5. Create increments with context manifests
814
- 6. Implement with mandatory E2E tests
815
- 7. Scale to 200+ pages as SaaS grows
816
-
817
- **Alternative: Use spec-kit if:**
818
- - You want agent flexibility (switch between Claude, Copilot, Cursor)
819
- - You prefer strict linear workflow (less flexibility = less decisions)
820
- - Your SaaS specs stay small (<50 pages)
821
- - You don't need multi-agent orchestration
822
- ```
823
-
824
- ---
825
-
826
- ## How to Use This Skill
827
-
828
- ### For Gap Analysis
829
-
830
- **Request format:**
831
- ```
832
- "Compare current SpecWeave to spec-kit - full gap analysis"
833
- "What spec-kit features are missing in SpecWeave right now?"
834
- "Analyze gaps: SpecWeave vs spec-kit"
835
- "GitHub spec-kit comparison to SpecWeave"
836
- ```
837
-
838
- **I will:**
839
- 1. Read current SpecWeave state (files, features, skills, agents)
840
- 2. Compare to spec-kit knowledge
841
- 3. Generate comprehensive report
842
- 4. Provide recommendations
843
-
844
- ### For spec-kit Questions
845
-
846
- **Request format:**
847
- ```
848
- "How does spec-kit handle [feature]?"
849
- "Explain spec-kit's approach to [concept]"
850
- "What is /speckit.constitution?"
851
- "How does spec-kit task breakdown work?"
852
- ```
853
-
854
- **I will:**
855
- 1. Explain spec-kit concept (static knowledge)
856
- 2. Show examples
857
- 3. Compare to SpecWeave if relevant
858
- 4. Highlight differences
859
-
860
- ### For Recommendations
861
-
862
- **Request format:**
863
- ```
864
- "Should I use spec-kit or SpecWeave for [use case]?"
865
- "Which framework is better for [scenario]?"
866
- "Can I use both together?"
867
- "spec-kit vs SpecWeave for greenfield/brownfield?"
868
- ```
869
-
870
- **I will:**
871
- 1. Analyze use case requirements
872
- 2. Compare both frameworks' strengths
873
- 3. Provide specific recommendation
874
- 4. Suggest implementation path
875
-
876
- ---
877
-
878
- ## Dynamic Analysis Capabilities
879
-
880
- When performing gap analysis, I can read and analyze:
881
-
882
- ### SpecWeave Project Files
883
-
884
- ```bash
885
- # Core configuration
886
- ✅ CLAUDE.md # Complete guide
887
- ✅ README.md # Project overview
888
-
889
- # Features (increments)
890
- ✅ .specweave/increments/*/spec.md # Implemented features
891
- ✅ .specweave/increments/roadmap.md # Planned features
892
-
893
- # Skills (actual capabilities)
894
- ✅ src/skills/*/SKILL.md # Skill definitions
895
- ✅ src/skills/*/README.md # Skill documentation
896
-
897
- # Agents (separate contexts)
898
- ✅ src/agents/*/AGENT.md # Agent definitions
899
- ✅ src/agents/*/templates/ # Agent templates
900
-
901
- # Documentation
902
- ✅ .specweave/docs/architecture/ # Architecture docs
903
- ✅ .specweave/docs/decisions/ # ADRs
904
- ✅ .specweave/docs/api/ # API reference
905
-
906
- # Hooks (automation)
907
- ✅ .claude/hooks/ # Hook scripts
908
-
909
- # Tests
910
- ✅ tests/ # Test implementation
911
- ✅ src/skills/*/test-cases/ # Skill tests
912
- ```
913
-
914
- ### Analysis Questions I Can Answer
915
-
916
- **Implementation Status:**
917
- - "Does SpecWeave have constitutional governance?" → Read CLAUDE.md, compare to `/speckit.constitution`
918
- - "Is clarification workflow implemented?" → Check skills for `spec-clarifier`
919
- - "How does SpecWeave handle task breakdown?" → Read `increment-planner` skill
920
-
921
- **Feature Comparison:**
922
- - "How does SpecWeave's task system compare to spec-kit?" → Compare tasks.md formats
923
- - "Context management differences?" → Compare manifests to spec-kit's load-all
924
- - "Agent support differences?" → SpecWeave has 14+ agents, spec-kit supports 14+ AI tools
925
-
926
- **Strategic Decisions:**
927
- - "Should I implement clarification workflow?" → Analyze current gaps, recommend priority
928
- - "What's missing for agent-agnostic support?" → Read roadmap, compare to spec-kit
929
- - "Can SpecWeave adopt spec-kit's dependency tracking?" → Analyze feasibility
930
-
931
- ---
932
-
933
- ## Key Principles
934
-
935
- ### 1. Always Fresh Analysis
936
-
937
- ❌ **Don't**: Use static snapshots
938
- ✅ **Do**: Read current project state
939
-
940
- ### 2. Evidence-Based Comparison
941
-
942
- ❌ **Don't**: Make assumptions
943
- ✅ **Do**: Check actual files and implementation
944
-
945
- ### 3. Balanced Assessment
946
-
947
- ❌ **Don't**: Favor one framework
948
- ✅ **Do**: Show trade-offs and use cases
949
-
950
- ### 4. Actionable Recommendations
951
-
952
- ❌ **Don't**: Just list differences
953
- ✅ **Do**: Suggest concrete next steps
954
-
955
- ---
956
-
957
- ## spec-kit Resources (Reference)
958
-
959
- **Official Repository**: https://github.com/github/spec-kit
960
- **Stars**: 42.1K+ (highly popular)
961
- **License**: MIT
962
- **Creator**: GitHub (official)
963
-
964
- **Core Files to Reference**:
965
- - `.specify/memory/constitution.md` - Project principles
966
- - `.specify/specs/[FEATURE]/spec.md` - Functional requirements
967
- - `.specify/specs/[FEATURE]/plan.md` - Technical plan
968
- - `.specify/specs/[FEATURE]/tasks.md` - Task breakdown
969
- - `.specify/templates/` - Templates for consistency
970
-
971
- **When users need spec-kit specifics, I can:**
972
- - Reference these files
973
- - Explain structure and usage
974
- - Show examples from spec-kit docs
975
- - Guide on how to fetch and adapt
976
-
977
- ---
978
-
979
- ## Key Comparisons (Quick Reference)
980
-
981
- | Aspect | spec-kit | SpecWeave |
982
- |--------|----------|-----------|
983
- | **Directory** | `.specify/` | `.specweave/` |
984
- | **Features** | `.specify/specs/[NUM]-[NAME]/` | `.specweave/increments/[NUM]-[NAME]/` |
985
- | **Constitution** | `.specify/memory/constitution.md` | `CLAUDE.md` (more comprehensive) |
986
- | **Workflow** | Linear 7-step | Continuous, flexible |
987
- | **Commands** | `/speckit.*` slash commands | Skills auto-activate |
988
- | **Agents** | Agent-agnostic (14+ AI tools) | Claude-focused + 14+ agents |
989
- | **Context** | Load all specs | Context manifests (70%+ reduction) |
990
- | **Task breakdown** | Dependency-aware, parallel markers | Phase-based, context-aware |
991
- | **Brownfield** | Manual | Automated analyzer |
992
- | **Testing** | TDD suggested | E2E mandatory (when UI) |
993
- | **Automation** | Scripts only | Hooks system |
994
- | **Documentation** | Upfront only | Incremental + upfront |
995
- | **Extensibility** | Fixed commands | Skills/agents framework |
996
- | **Backing** | GitHub (42.1K+ stars) | Independent framework |
997
-
998
- ---
999
-
1000
- ## Version History
1001
-
1002
- **v1.0.0** (Current) - Dynamic gap analysis
1003
- - On-demand analysis of current SpecWeave state
1004
- - Fresh comparisons, not static snapshots
1005
- - Evidence-based recommendations
1006
- - Comprehensive spec-kit knowledge base
1007
-
1008
- ---
1009
-
1010
- **I am ready to perform gap analysis on your current SpecWeave implementation against spec-kit. Just ask!**