specweave 0.23.16 → 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 (67) hide show
  1. package/.claude-plugin/marketplace.json +11 -0
  2. package/CLAUDE.md +22 -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/integrations/ado/ado-dependency-loader.d.ts +1 -1
  15. package/dist/src/integrations/ado/ado-dependency-loader.d.ts.map +1 -1
  16. package/dist/src/integrations/ado/ado-dependency-loader.js +39 -7
  17. package/dist/src/integrations/ado/ado-dependency-loader.js.map +1 -1
  18. package/package.json +1 -1
  19. package/plugins/specweave/hooks/lib/migrate-increment-work.sh +1 -1
  20. package/plugins/specweave/hooks/lib/migrate-increment-work.sh.bak +245 -0
  21. package/plugins/specweave/hooks/lib/sync-spec-content.sh +2 -2
  22. package/plugins/specweave/hooks/lib/sync-spec-content.sh.bak +149 -0
  23. package/plugins/specweave/hooks/lib/update-status-line.sh +34 -4
  24. package/plugins/specweave/hooks/lib/validate-spec-status.sh +1 -1
  25. package/plugins/specweave/hooks/lib/validate-spec-status.sh.bak +163 -0
  26. package/plugins/specweave/hooks/post-first-increment.sh +1 -1
  27. package/plugins/specweave/hooks/post-first-increment.sh.bak +61 -0
  28. package/plugins/specweave/hooks/post-spec-update.sh +1 -1
  29. package/plugins/specweave/hooks/post-spec-update.sh.bak +158 -0
  30. package/plugins/specweave/hooks/post-user-story-complete.sh +1 -1
  31. package/plugins/specweave/hooks/post-user-story-complete.sh.bak +179 -0
  32. package/plugins/specweave/hooks/pre-command-deduplication.sh +1 -1
  33. package/plugins/specweave/hooks/pre-command-deduplication.sh.bak +83 -0
  34. package/plugins/specweave/hooks/user-prompt-submit.sh +1 -1
  35. package/plugins/specweave/hooks/user-prompt-submit.sh.bak +386 -0
  36. package/plugins/specweave/skills/specweave-framework/SKILL.md +1 -1
  37. package/plugins/specweave-ado/agents/ado-manager/AGENT.md +23 -0
  38. package/plugins/specweave-ado/agents/ado-multi-project-mapper/AGENT.md +23 -0
  39. package/plugins/specweave-ado/agents/ado-sync-judge/AGENT.md +23 -0
  40. package/plugins/specweave-backend/agents/database-optimizer/AGENT.md +23 -0
  41. package/plugins/specweave-confluent/agents/confluent-architect/AGENT.md +23 -0
  42. package/plugins/specweave-diagrams/agents/diagrams-architect/AGENT.md +23 -0
  43. package/plugins/specweave-github/agents/github-manager/AGENT.md +23 -0
  44. package/plugins/specweave-github/agents/github-task-splitter/AGENT.md +25 -0
  45. package/plugins/specweave-github/agents/user-story-updater/AGENT.md +25 -0
  46. package/plugins/specweave-github/lib/github-spec-content-sync.js +49 -0
  47. package/plugins/specweave-github/lib/github-spec-content-sync.ts +67 -0
  48. package/plugins/specweave-infrastructure/agents/devops/AGENT.md +26 -0
  49. package/plugins/specweave-infrastructure/agents/network-engineer/AGENT.md +26 -0
  50. package/plugins/specweave-infrastructure/agents/observability-engineer/AGENT.md +26 -0
  51. package/plugins/specweave-infrastructure/agents/performance-engineer/AGENT.md +26 -0
  52. package/plugins/specweave-infrastructure/agents/sre/AGENT.md +26 -0
  53. package/plugins/specweave-jira/agents/jira-manager/AGENT.md +26 -0
  54. package/plugins/specweave-kafka/agents/kafka-architect/AGENT.md +26 -0
  55. package/plugins/specweave-kafka/agents/kafka-devops/AGENT.md +26 -0
  56. package/plugins/specweave-kafka/agents/kafka-observability/AGENT.md +26 -0
  57. package/plugins/specweave-kubernetes/agents/kubernetes-architect/AGENT.md +26 -0
  58. package/plugins/specweave-ml/.claude-plugin/plugin.json +2 -2
  59. package/plugins/specweave-ml/agents/data-scientist/AGENT.md +26 -0
  60. package/plugins/specweave-ml/agents/ml-engineer/AGENT.md +26 -0
  61. package/plugins/specweave-ml/agents/mlops-engineer/AGENT.md +26 -0
  62. package/plugins/specweave-mobile/agents/mobile-architect/AGENT.md +26 -0
  63. package/plugins/specweave-payments/agents/payment-integration/AGENT.md +26 -0
  64. package/plugins/specweave-plugin-dev/.claude-plugin/plugin.json +19 -0
  65. package/plugins/specweave-plugin-dev/skills/plugin-expert/SKILL.md +1231 -0
  66. package/plugins/specweave-release/agents/release-manager/AGENT.md +27 -0
  67. package/plugins/specweave/skills/plugin-expert/SKILL.md +0 -340
@@ -12,6 +12,33 @@ tools:
12
12
 
13
13
  # Release Manager Agent
14
14
 
15
+ ## 🚀 How to Invoke This Agent
16
+
17
+ **Subagent Type**: `specweave-release:release-manager:release-manager`
18
+
19
+ **Usage Example**:
20
+
21
+ ```typescript
22
+ Task({
23
+ subagent_type: "specweave-release:release-manager:release-manager",
24
+ prompt: "Coordinate Product v4.0.0 release across 5 microservices with RC workflow and gradual rollout strategy",
25
+ model: "haiku" // optional: haiku, sonnet, opus
26
+ });
27
+ ```
28
+
29
+ **Naming Convention**: `{plugin}:{directory}:{yaml-name-or-directory-name}`
30
+ - **Plugin**: specweave-release
31
+ - **Directory**: release-manager
32
+ - **Agent Name**: release-manager
33
+
34
+ **When to Use**:
35
+ - You need to plan and execute software releases
36
+ - You want to coordinate releases across multiple repositories
37
+ - You're managing version alignment for microservices
38
+ - You need to implement RC (release candidate) workflows
39
+ - You're implementing canary deployments and safe rollout strategies
40
+ - You need to manage rollback procedures and incident recovery
41
+
15
42
  **Role**: Master orchestrator for end-to-end release management across all repository architectures.
16
43
 
17
44
  ## Expertise
@@ -1,340 +0,0 @@
1
- ---
2
- name: plugin-expert
3
- description: Expert knowledge of Claude Code's plugin system, marketplace management, and installation commands. Activates for plugin installation, marketplace setup, plugin troubleshooting, plugin commands. Keywords plugin install, plugin marketplace, claude code plugins, plugin management, plugin errors, marketplace add, plugin list.
4
- ---
5
-
6
- # Plugin Expert - Claude Code Plugin System Authority
7
-
8
- **Purpose**: Authoritative source of truth for Claude Code's plugin system, marketplace management, and correct installation syntax.
9
-
10
- **When to Consult**: ANY time you need to install, manage, or reference Claude Code plugins.
11
-
12
- ---
13
-
14
- ## 🚨 CRITICAL: Correct Plugin Installation Format
15
-
16
- **ALWAYS use this format**:
17
- ```bash
18
- /plugin install <plugin-name>
19
- ```
20
-
21
- **Examples**:
22
- ```bash
23
- # ✅ CORRECT
24
- /plugin install specweave-github
25
- /plugin install specweave-jira
26
- /plugin install specweave-kubernetes
27
-
28
- # ❌ WRONG - NEVER use @marketplace suffix
29
- /plugin install specweave-github@specweave
30
- /plugin install specweave-jira@specweave
31
- ```
32
-
33
- **Why this matters**:
34
- - Claude Code automatically resolves plugins from registered marketplaces
35
- - The `@marketplace` syntax does NOT exist in Claude Code
36
- - Using wrong syntax causes installation failures
37
-
38
- ---
39
-
40
- ## Official Documentation
41
-
42
- **Primary Sources** (ALWAYS defer to these):
43
- 1. **Plugin System**: https://code.claude.com/docs/en/plugins
44
- 2. **Marketplaces**: https://code.claude.com/docs/en/plugin-marketplaces
45
- 3. **Blog Post**: https://claude.com/blog/claude-code-plugins
46
-
47
- ---
48
-
49
- ## Plugin Commands Reference
50
-
51
- ### Installation
52
-
53
- ```bash
54
- # Install plugin from registered marketplace
55
- /plugin install <plugin-name>
56
-
57
- # Examples
58
- /plugin install specweave
59
- /plugin install specweave-github
60
- /plugin install specweave-jira
61
- ```
62
-
63
- ### Marketplace Management
64
-
65
- ```bash
66
- # List all available marketplaces
67
- /plugin marketplace list
68
-
69
- # Add marketplace (GitHub)
70
- /plugin marketplace add <owner>/<repo>
71
- # Example: /plugin marketplace add anton-abyzov/specweave
72
-
73
- # Add marketplace (local directory - development only)
74
- /plugin marketplace add /path/to/.claude-plugin
75
-
76
- # Remove marketplace
77
- /plugin marketplace remove <marketplace-name>
78
- ```
79
-
80
- ### Plugin Management
81
-
82
- ```bash
83
- # List installed plugins
84
- /plugin list --installed
85
-
86
- # List all available plugins from marketplaces
87
- /plugin list
88
-
89
- # Get plugin info
90
- /plugin info <plugin-name>
91
-
92
- # Uninstall plugin
93
- /plugin uninstall <plugin-name>
94
-
95
- # Update plugin
96
- /plugin update <plugin-name>
97
- ```
98
-
99
- ---
100
-
101
- ## SpecWeave Marketplace Setup
102
-
103
- ### User Projects (Production)
104
-
105
- SpecWeave automatically registers the GitHub marketplace during `specweave init`:
106
-
107
- **File**: `.claude/settings.json`
108
- ```json
109
- {
110
- "extraKnownMarketplaces": {
111
- "specweave": {
112
- "source": {
113
- "source": "github",
114
- "repo": "anton-abyzov/specweave",
115
- "path": ".claude-plugin"
116
- }
117
- }
118
- }
119
- }
120
- ```
121
-
122
- **Result**: Claude Code fetches plugins from GitHub on-demand (no local copies)
123
-
124
- ### SpecWeave Repo (Development)
125
-
126
- For contributors working on SpecWeave itself:
127
-
128
- ```bash
129
- # Add local marketplace (CLI only - settings.json doesn't support local paths)
130
- /plugin marketplace add ./.claude-plugin
131
-
132
- # Then install plugins
133
- /plugin install specweave
134
- /plugin install specweave-github
135
- ```
136
-
137
- ---
138
-
139
- ## Available SpecWeave Plugins
140
-
141
- ### Core (Auto-Installed)
142
-
143
- - **specweave** - Framework essentials (increment planning, PM/Architect agents, living docs)
144
- - Auto-installed during `specweave init`
145
- - Provides: 9 skills, 22 agents, 22 commands, 8 hooks
146
-
147
- ### Issue Trackers
148
-
149
- - **specweave-github** - GitHub Issues integration
150
- - Install: `/plugin install specweave-github`
151
- - Provides: GitHub sync, PR automation, issue tracking
152
-
153
- - **specweave-jira** - Jira integration
154
- - Install: `/plugin install specweave-jira`
155
- - Provides: Jira sync, epic management, sprint tracking
156
-
157
- - **specweave-ado** - Azure DevOps integration
158
- - Install: `/plugin install specweave-ado`
159
- - Provides: ADO work items, boards, sprints
160
-
161
- ### Tech Stacks
162
-
163
- - **specweave-frontend** - React, Next.js, Vue, Angular
164
- - Install: `/plugin install specweave-frontend`
165
- - Provides: Frontend expert agent, component generation, design system integration
166
-
167
- - **specweave-kubernetes** - K8s, Helm, kubectl
168
- - Install: `/plugin install specweave-kubernetes`
169
- - Provides: K8s expert agent, Helm chart generation, deployment validation
170
-
171
- - **specweave-ml** - TensorFlow, PyTorch, ML workflows
172
- - Install: `/plugin install specweave-ml`
173
- - Provides: ML expert agent, training pipelines, model deployment
174
-
175
- ### Utilities
176
-
177
- - **specweave-diagrams** - Mermaid + C4 diagrams
178
- - Install: `/plugin install specweave-diagrams`
179
- - Provides: Architecture diagram generation, C4 model support
180
-
181
- ---
182
-
183
- ## Common Mistakes to Avoid
184
-
185
- ### ❌ Wrong: Using @marketplace Syntax
186
-
187
- ```bash
188
- # NEVER DO THIS
189
- /plugin install specweave-github@specweave
190
- /plugin install specweave-jira@specweave
191
- ```
192
-
193
- **Why wrong**: Claude Code doesn't support `@marketplace` suffix
194
-
195
- **Correct**:
196
- ```bash
197
- /plugin install specweave-github
198
- /plugin install specweave-jira
199
- ```
200
-
201
- ### ❌ Wrong: Using Local Paths in settings.json
202
-
203
- ```json
204
- {
205
- "extraKnownMarketplaces": {
206
- "specweave": {
207
- "source": "./.claude-plugin" // ❌ NOT supported
208
- }
209
- }
210
- }
211
- ```
212
-
213
- **Why wrong**: `extraKnownMarketplaces` in settings.json only supports remote sources (GitHub, Git)
214
-
215
- **Correct for development**:
216
- ```bash
217
- # Use CLI instead
218
- /plugin marketplace add ./.claude-plugin
219
- ```
220
-
221
- ### ❌ Wrong: Forgetting Marketplace Registration
222
-
223
- ```bash
224
- # Install without marketplace registered
225
- /plugin install specweave-github # ❌ Fails: marketplace not found
226
- ```
227
-
228
- **Correct**:
229
- ```bash
230
- # 1. Register marketplace first (or ensure settings.json has it)
231
- /plugin marketplace add anton-abyzov/specweave
232
-
233
- # 2. Then install plugins
234
- /plugin install specweave-github
235
- ```
236
-
237
- ---
238
-
239
- ## Troubleshooting
240
-
241
- ### "Marketplace not found" Error
242
-
243
- **Symptom**: `/plugin install specweave-xxx` fails with "marketplace not found"
244
-
245
- **Fix**:
246
- ```bash
247
- # Check registered marketplaces
248
- /plugin marketplace list
249
-
250
- # If specweave not listed, add it
251
- /plugin marketplace add anton-abyzov/specweave
252
-
253
- # Then retry install
254
- /plugin install specweave-xxx
255
- ```
256
-
257
- ### Plugin Not Auto-Activating
258
-
259
- **Symptom**: Plugin installed but skills/agents not working
260
-
261
- **Causes**:
262
- 1. Claude Code needs restart after plugin install
263
- 2. Skill description keywords don't match user's context
264
- 3. Plugin has errors (check plugin logs)
265
-
266
- **Fix**:
267
- ```bash
268
- # 1. Verify plugin installed
269
- /plugin list --installed
270
-
271
- # 2. Restart Claude Code
272
-
273
- # 3. Check skill descriptions match your context
274
- ```
275
-
276
- ### Installation Hangs or Fails
277
-
278
- **Symptom**: `/plugin install` hangs or times out
279
-
280
- **Causes**:
281
- 1. Network issues (GitHub fetch failed)
282
- 2. Marketplace not registered
283
- 3. Plugin doesn't exist in marketplace
284
-
285
- **Fix**:
286
- ```bash
287
- # 1. Check marketplace registered
288
- /plugin marketplace list
289
-
290
- # 2. Verify plugin exists
291
- /plugin list # Shows all available plugins
292
-
293
- # 3. Check network connectivity
294
- # Try re-adding marketplace (refreshes cache)
295
- /plugin marketplace remove specweave
296
- /plugin marketplace add anton-abyzov/specweave
297
- ```
298
-
299
- ---
300
-
301
- ## How Other Skills Should Use This
302
-
303
- **Example: increment-planner skill recommending plugins**
304
-
305
- ```markdown
306
- **Step 6: Detect Required Plugins**
307
-
308
- When recommending plugins, ALWAYS use correct format:
309
-
310
- ✅ CORRECT:
311
- 📦 Install recommended plugins:
312
- /plugin install specweave-github
313
- /plugin install specweave-kubernetes
314
-
315
- ❌ WRONG:
316
- /plugin install specweave-github@specweave # NEVER use @marketplace
317
- ```
318
-
319
- **Example: Auto-installation in TypeScript**
320
-
321
- ```typescript
322
- // ✅ CORRECT
323
- execFileNoThrowSync('claude', ['plugin', 'install', 'specweave-github']);
324
-
325
- // ❌ WRONG
326
- execFileNoThrowSync('claude', ['plugin', 'install', 'specweave-github@specweave']);
327
- ```
328
-
329
- ---
330
-
331
- ## References
332
-
333
- - **Official Docs**: https://code.claude.com/docs/en/plugins
334
- - **Marketplaces**: https://code.claude.com/docs/en/plugin-marketplaces
335
- - **Blog**: https://claude.com/blog/claude-code-plugins
336
- - **SpecWeave Marketplace**: https://github.com/anton-abyzov/specweave/.claude-plugin
337
-
338
- ---
339
-
340
- **Last Updated**: 2025-01-06 (v0.8.18)