moflo 4.9.19 → 4.9.21

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 (82) hide show
  1. package/.claude/commands/{simplify.md → flo-simplify.md} +4 -4
  2. package/.claude/guidance/shipped/moflo-agent-rules.md +172 -0
  3. package/.claude/guidance/shipped/moflo-claude-swarm-cohesion.md +73 -265
  4. package/.claude/guidance/shipped/moflo-cli-reference.md +6 -6
  5. package/.claude/guidance/shipped/moflo-core-guidance.md +66 -184
  6. package/.claude/guidance/shipped/moflo-cross-platform.md +1 -1
  7. package/.claude/guidance/shipped/moflo-error-handling.md +3 -3
  8. package/.claude/guidance/shipped/moflo-guidance-rules.md +17 -7
  9. package/.claude/guidance/shipped/moflo-memory-strategy.md +76 -182
  10. package/.claude/guidance/shipped/moflo-memorydb-maintenance.md +6 -8
  11. package/.claude/guidance/shipped/moflo-settings-injection.md +7 -9
  12. package/.claude/guidance/shipped/moflo-source-hygiene.md +5 -5
  13. package/.claude/guidance/shipped/moflo-spell-connectors.md +3 -4
  14. package/.claude/guidance/shipped/moflo-spell-custom-steps.md +3 -4
  15. package/.claude/guidance/shipped/moflo-spell-engine.md +40 -162
  16. package/.claude/guidance/shipped/moflo-spell-runner.md +134 -0
  17. package/.claude/guidance/shipped/moflo-spell-sandboxing.md +10 -57
  18. package/.claude/guidance/shipped/moflo-spell-troubleshooting.md +149 -0
  19. package/.claude/guidance/shipped/moflo-subagents.md +43 -114
  20. package/.claude/guidance/shipped/moflo-task-icons.md +4 -4
  21. package/.claude/guidance/shipped/moflo-user-facing-language.md +3 -3
  22. package/.claude/guidance/shipped/moflo-verbose-command-filtering.md +3 -3
  23. package/.claude/guidance/shipped/moflo-yaml-reference.md +4 -5
  24. package/.claude/helpers/gate.cjs +124 -14
  25. package/.claude/helpers/prompt-hook.mjs +4 -38
  26. package/.claude/helpers/simplify-classify.cjs +32 -11
  27. package/.claude/helpers/subagent-bootstrap.json +1 -1
  28. package/.claude/helpers/subagent-start.cjs +1 -1
  29. package/.claude/skills/connector-builder/SKILL.md +42 -429
  30. package/.claude/skills/connector-builder/templates/connector.md +189 -0
  31. package/.claude/skills/connector-builder/templates/step-command.md +176 -0
  32. package/.claude/skills/eldar/SKILL.md +7 -7
  33. package/.claude/skills/fl/SKILL.md +3 -3
  34. package/.claude/skills/fl/execution-modes.md +3 -3
  35. package/.claude/skills/fl/phases.md +3 -3
  36. package/.claude/skills/{simplify → flo-simplify}/SKILL.md +11 -11
  37. package/.claude/skills/guidance/SKILL.md +17 -9
  38. package/.claude/skills/memory-patterns/SKILL.md +1 -1
  39. package/.claude/skills/publish/SKILL.md +121 -36
  40. package/.claude/skills/reset-epic/SKILL.md +2 -2
  41. package/.claude/skills/spell-builder/SKILL.md +39 -226
  42. package/.claude/skills/spell-builder/architecture.md +1 -1
  43. package/.claude/skills/spell-builder/permissions.md +107 -0
  44. package/.claude/skills/spell-builder/preflight.md +101 -0
  45. package/.claude/skills/spell-schedule/SKILL.md +2 -3
  46. package/bin/gate.cjs +124 -14
  47. package/bin/prompt-hook.mjs +4 -38
  48. package/bin/session-start-launcher.mjs +66 -1
  49. package/bin/setup-project.mjs +63 -69
  50. package/bin/simplify-classify.cjs +32 -11
  51. package/dist/src/cli/commands/doctor-checks-deep.js +4 -0
  52. package/dist/src/cli/init/claudemd-generator.js +30 -33
  53. package/dist/src/cli/init/executor.js +28 -16
  54. package/dist/src/cli/init/helpers-generator.js +101 -51
  55. package/dist/src/cli/init/moflo-init.js +41 -114
  56. package/dist/src/cli/init/settings-generator.js +32 -14
  57. package/dist/src/cli/services/hook-block-hash.js +7 -2
  58. package/dist/src/cli/services/hook-wiring.js +86 -3
  59. package/dist/src/cli/services/subagent-bootstrap.js +1 -1
  60. package/dist/src/cli/version.js +1 -1
  61. package/package.json +2 -2
  62. package/scripts/post-install-bootstrap.mjs +19 -0
  63. package/.claude/guidance/shipped/moflo-session-start.md +0 -154
  64. package/.claude/guidance/shipped/moflo-spell-engine-architecture.md +0 -145
  65. package/.claude/skills/browser/SKILL.md +0 -204
  66. package/.claude/skills/github-code-review/SKILL.md +0 -1140
  67. package/.claude/skills/github-multi-repo/SKILL.md +0 -866
  68. package/.claude/skills/github-project-management/SKILL.md +0 -1272
  69. package/.claude/skills/github-release-management/SKILL.md +0 -1074
  70. package/.claude/skills/github-workflow-automation/SKILL.md +0 -1060
  71. package/.claude/skills/hive-mind-advanced/SKILL.md +0 -712
  72. package/.claude/skills/hooks-automation/SKILL.md +0 -1193
  73. package/.claude/skills/pair-programming/SKILL.md +0 -1202
  74. package/.claude/skills/performance-analysis/SKILL.md +0 -563
  75. package/.claude/skills/skill-builder/SKILL.md +0 -910
  76. package/.claude/skills/sparc-methodology/SKILL.md +0 -904
  77. package/.claude/skills/stream-chain/SKILL.md +0 -563
  78. package/.claude/skills/swarm-advanced/SKILL.md +0 -811
  79. package/.claude/skills/swarm-orchestration/SKILL.md +0 -179
  80. package/.claude/skills/verification-quality/SKILL.md +0 -649
  81. package/.claude/skills/worker-benchmarks/skill.md +0 -135
  82. package/.claude/skills/worker-integration/skill.md +0 -154
@@ -1,1272 +0,0 @@
1
- ---
2
- name: github-project-management
3
- title: GitHub Project Management
4
- version: 2.0.0
5
- category: github
6
- description: Comprehensive GitHub project management with swarm-coordinated issue tracking, project board automation, and sprint planning
7
- author: Claude Code
8
- tags:
9
- - github
10
- - project-management
11
- - issue-tracking
12
- - project-boards
13
- - sprint-planning
14
- - agile
15
- - swarm-coordination
16
- difficulty: intermediate
17
- prerequisites:
18
- - GitHub CLI (gh) installed and authenticated
19
- - ruv-swarm or claude-flow MCP server configured
20
- - Repository access permissions
21
- tools_required:
22
- - mcp__github__*
23
- - mcp__moflo__*
24
- - Bash
25
- - Read
26
- - Write
27
- - TodoWrite
28
- related_skills:
29
- - github-pr-workflow
30
- - github-release-management
31
- - sparc-orchestrator
32
- estimated_time: 30-45 minutes
33
- ---
34
-
35
- # GitHub Project Management
36
-
37
- ## Overview
38
-
39
- A comprehensive skill for managing GitHub projects using AI swarm coordination. This skill combines intelligent issue management, automated project board synchronization, and swarm-based coordination for efficient project delivery.
40
-
41
- ## Quick Start
42
-
43
- ### Basic Issue Creation with Swarm Coordination
44
-
45
- ```bash
46
- # Create a coordinated issue
47
- gh issue create \
48
- --title "Feature: Advanced Authentication" \
49
- --body "Implement OAuth2 with social login..." \
50
- --label "enhancement,swarm-ready"
51
-
52
- # Initialize swarm for issue
53
- npx claude-flow@alpha hooks pre-task --description "Feature implementation"
54
- ```
55
-
56
- ### Project Board Quick Setup
57
-
58
- ```bash
59
- # Get project ID
60
- PROJECT_ID=$(gh project list --owner @me --format json | \
61
- jq -r '.projects[0].id')
62
-
63
- # Initialize board sync
64
- npx ruv-swarm github board-init \
65
- --project-id "$PROJECT_ID" \
66
- --sync-mode "bidirectional"
67
- ```
68
-
69
- ---
70
-
71
- ## Core Capabilities
72
-
73
- ### 1. Issue Management & Triage
74
-
75
- <details>
76
- <summary><strong>Automated Issue Creation</strong></summary>
77
-
78
- #### Single Issue with Swarm Coordination
79
-
80
- ```javascript
81
- // Initialize issue management swarm
82
- mcp__moflo__swarm_init { topology: "star", maxAgents: 3 }
83
- mcp__moflo__agent_spawn { type: "coordinator", name: "github-project-management" }
84
- mcp__moflo__agent_spawn { type: "researcher", name: "Requirements Analyst" }
85
- mcp__moflo__agent_spawn { type: "coder", name: "Implementation Planner" }
86
-
87
- // Create comprehensive issue
88
- mcp__github__create_issue {
89
- owner: "org",
90
- repo: "repository",
91
- title: "Integration Review: Complete system integration",
92
- body: `## 🔄 Integration Review
93
-
94
- ### Overview
95
- Comprehensive review and integration between components.
96
-
97
- ### Objectives
98
- - [ ] Verify dependencies and imports
99
- - [ ] Ensure API integration
100
- - [ ] Check hook system integration
101
- - [ ] Validate data systems alignment
102
-
103
- ### Swarm Coordination
104
- This issue will be managed by coordinated swarm agents for optimal progress tracking.`,
105
- labels: ["integration", "review", "enhancement"],
106
- assignees: ["username"]
107
- }
108
-
109
- // Set up automated tracking
110
- ```
111
-
112
- #### Batch Issue Creation
113
-
114
- ```bash
115
- # Create multiple related issues using gh CLI
116
- gh issue create \
117
- --title "Feature: Advanced GitHub Integration" \
118
- --body "Implement comprehensive GitHub workflow automation..." \
119
- --label "feature,github,high-priority"
120
-
121
- gh issue create \
122
- --title "Bug: Merge conflicts in integration branch" \
123
- --body "Resolve merge conflicts..." \
124
- --label "bug,integration,urgent"
125
-
126
- gh issue create \
127
- --title "Documentation: Update integration guides" \
128
- --body "Update all documentation..." \
129
- --label "documentation,integration"
130
- ```
131
-
132
- </details>
133
-
134
- <details>
135
- <summary><strong>Issue-to-Swarm Conversion</strong></summary>
136
-
137
- #### Transform Issues into Swarm Tasks
138
-
139
- ```bash
140
- # Get issue details
141
- ISSUE_DATA=$(gh issue view 456 --json title,body,labels,assignees,comments)
142
-
143
- # Create swarm from issue
144
- npx ruv-swarm github issue-to-swarm 456 \
145
- --issue-data "$ISSUE_DATA" \
146
- --auto-decompose \
147
- --assign-agents
148
-
149
- # Batch process multiple issues
150
- ISSUES=$(gh issue list --label "swarm-ready" --json number,title,body,labels)
151
- npx ruv-swarm github issues-batch \
152
- --issues "$ISSUES" \
153
- --parallel
154
-
155
- # Update issues with swarm status
156
- echo "$ISSUES" | jq -r '.[].number' | while read -r num; do
157
- gh issue edit $num --add-label "swarm-processing"
158
- done
159
- ```
160
-
161
- #### Issue Comment Commands
162
-
163
- Execute swarm operations via issue comments:
164
-
165
- ```markdown
166
- <!-- In issue comment -->
167
- /swarm analyze
168
- /swarm decompose 5
169
- /swarm assign @agent-coder
170
- /swarm estimate
171
- /swarm start
172
- ```
173
-
174
- </details>
175
-
176
- <details>
177
- <summary><strong>Automated Issue Triage</strong></summary>
178
-
179
- #### Auto-Label Based on Content
180
-
181
- ```javascript
182
- // .github/swarm-labels.json
183
- {
184
- "rules": [
185
- {
186
- "keywords": ["bug", "error", "broken"],
187
- "labels": ["bug", "swarm-debugger"],
188
- "agents": ["debugger", "tester"]
189
- },
190
- {
191
- "keywords": ["feature", "implement", "add"],
192
- "labels": ["enhancement", "swarm-feature"],
193
- "agents": ["architect", "coder", "tester"]
194
- },
195
- {
196
- "keywords": ["slow", "performance", "optimize"],
197
- "labels": ["performance", "swarm-optimizer"],
198
- "agents": ["analyst", "optimizer"]
199
- }
200
- ]
201
- }
202
- ```
203
-
204
- #### Automated Triage System
205
-
206
- ```bash
207
- # Analyze and triage unlabeled issues
208
- npx ruv-swarm github triage \
209
- --unlabeled \
210
- --analyze-content \
211
- --suggest-labels \
212
- --assign-priority
213
-
214
- # Find and link duplicate issues
215
- npx ruv-swarm github find-duplicates \
216
- --threshold 0.8 \
217
- --link-related \
218
- --close-duplicates
219
- ```
220
-
221
- </details>
222
-
223
- <details>
224
- <summary><strong>Task Decomposition & Progress Tracking</strong></summary>
225
-
226
- #### Break Down Issues into Subtasks
227
-
228
- ```bash
229
- # Get issue body
230
- ISSUE_BODY=$(gh issue view 456 --json body --jq '.body')
231
-
232
- # Decompose into subtasks
233
- SUBTASKS=$(npx ruv-swarm github issue-decompose 456 \
234
- --body "$ISSUE_BODY" \
235
- --max-subtasks 10 \
236
- --assign-priorities)
237
-
238
- # Update issue with checklist
239
- CHECKLIST=$(echo "$SUBTASKS" | jq -r '.tasks[] | "- [ ] " + .description')
240
- UPDATED_BODY="$ISSUE_BODY
241
-
242
- ## Subtasks
243
- $CHECKLIST"
244
-
245
- gh issue edit 456 --body "$UPDATED_BODY"
246
-
247
- # Create linked issues for major subtasks
248
- echo "$SUBTASKS" | jq -r '.tasks[] | select(.priority == "high")' | while read -r task; do
249
- TITLE=$(echo "$task" | jq -r '.title')
250
- BODY=$(echo "$task" | jq -r '.description')
251
-
252
- gh issue create \
253
- --title "$TITLE" \
254
- --body "$BODY
255
-
256
- Parent issue: #456" \
257
- --label "subtask"
258
- done
259
- ```
260
-
261
- #### Automated Progress Updates
262
-
263
- ```bash
264
- # Get current issue state
265
- CURRENT=$(gh issue view 456 --json body,labels)
266
-
267
- # Get swarm progress
268
- PROGRESS=$(npx ruv-swarm github issue-progress 456)
269
-
270
- # Update checklist in issue body
271
- UPDATED_BODY=$(echo "$CURRENT" | jq -r '.body' | \
272
- npx ruv-swarm github update-checklist --progress "$PROGRESS")
273
-
274
- # Edit issue with updated body
275
- gh issue edit 456 --body "$UPDATED_BODY"
276
-
277
- # Post progress summary as comment
278
- SUMMARY=$(echo "$PROGRESS" | jq -r '
279
- "## 📊 Progress Update
280
-
281
- **Completion**: \(.completion)%
282
- **ETA**: \(.eta)
283
-
284
- ### Completed Tasks
285
- \(.completed | map("- ✅ " + .) | join("\n"))
286
-
287
- ### In Progress
288
- \(.in_progress | map("- 🔄 " + .) | join("\n"))
289
-
290
- ### Remaining
291
- \(.remaining | map("- ⏳ " + .) | join("\n"))
292
-
293
- ---
294
- 🤖 Automated update by swarm agent"')
295
-
296
- gh issue comment 456 --body "$SUMMARY"
297
-
298
- # Update labels based on progress
299
- if [[ $(echo "$PROGRESS" | jq -r '.completion') -eq 100 ]]; then
300
- gh issue edit 456 --add-label "ready-for-review" --remove-label "in-progress"
301
- fi
302
- ```
303
-
304
- </details>
305
-
306
- <details>
307
- <summary><strong>Stale Issue Management</strong></summary>
308
-
309
- #### Auto-Close Stale Issues with Swarm Analysis
310
-
311
- ```bash
312
- # Find stale issues
313
- STALE_DATE=$(date -d '30 days ago' --iso-8601)
314
- STALE_ISSUES=$(gh issue list --state open --json number,title,updatedAt,labels \
315
- --jq ".[] | select(.updatedAt < \"$STALE_DATE\")")
316
-
317
- # Analyze each stale issue
318
- echo "$STALE_ISSUES" | jq -r '.number' | while read -r num; do
319
- # Get full issue context
320
- ISSUE=$(gh issue view $num --json title,body,comments,labels)
321
-
322
- # Analyze with swarm
323
- ACTION=$(npx ruv-swarm github analyze-stale \
324
- --issue "$ISSUE" \
325
- --suggest-action)
326
-
327
- case "$ACTION" in
328
- "close")
329
- gh issue comment $num --body "This issue has been inactive for 30 days and will be closed in 7 days if there's no further activity."
330
- gh issue edit $num --add-label "stale"
331
- ;;
332
- "keep")
333
- gh issue edit $num --remove-label "stale" 2>/dev/null || true
334
- ;;
335
- "needs-info")
336
- gh issue comment $num --body "This issue needs more information. Please provide additional context or it may be closed as stale."
337
- gh issue edit $num --add-label "needs-info"
338
- ;;
339
- esac
340
- done
341
-
342
- # Close issues that have been stale for 37+ days
343
- gh issue list --label stale --state open --json number,updatedAt \
344
- --jq ".[] | select(.updatedAt < \"$(date -d '37 days ago' --iso-8601)\") | .number" | \
345
- while read -r num; do
346
- gh issue close $num --comment "Closing due to inactivity. Feel free to reopen if this is still relevant."
347
- done
348
- ```
349
-
350
- </details>
351
-
352
- ### 2. Project Board Automation
353
-
354
- <details>
355
- <summary><strong>Board Initialization & Configuration</strong></summary>
356
-
357
- #### Connect Swarm to GitHub Project
358
-
359
- ```bash
360
- # Get project details
361
- PROJECT_ID=$(gh project list --owner @me --format json | \
362
- jq -r '.projects[] | select(.title == "Development Board") | .id')
363
-
364
- # Initialize swarm with project
365
- npx ruv-swarm github board-init \
366
- --project-id "$PROJECT_ID" \
367
- --sync-mode "bidirectional" \
368
- --create-views "swarm-status,agent-workload,priority"
369
-
370
- # Create project fields for swarm tracking
371
- gh project field-create $PROJECT_ID --owner @me \
372
- --name "Swarm Status" \
373
- --data-type "SINGLE_SELECT" \
374
- --single-select-options "pending,in_progress,completed"
375
- ```
376
-
377
- #### Board Mapping Configuration
378
-
379
- ```yaml
380
- # .github/board-sync.yml
381
- version: 1
382
- project:
383
- name: "AI Development Board"
384
- number: 1
385
-
386
- mapping:
387
- # Map swarm task status to board columns
388
- status:
389
- pending: "Backlog"
390
- assigned: "Ready"
391
- in_progress: "In Progress"
392
- review: "Review"
393
- completed: "Done"
394
- blocked: "Blocked"
395
-
396
- # Map agent types to labels
397
- agents:
398
- coder: "🔧 Development"
399
- tester: "🧪 Testing"
400
- analyst: "📊 Analysis"
401
- designer: "🎨 Design"
402
- architect: "🏗️ Architecture"
403
-
404
- # Map priority to project fields
405
- priority:
406
- critical: "🔴 Critical"
407
- high: "🟡 High"
408
- medium: "🟢 Medium"
409
- low: "⚪ Low"
410
-
411
- # Custom fields
412
- fields:
413
- - name: "Agent Count"
414
- type: number
415
- source: task.agents.length
416
- - name: "Complexity"
417
- type: select
418
- source: task.complexity
419
- - name: "ETA"
420
- type: date
421
- source: task.estimatedCompletion
422
- ```
423
-
424
- </details>
425
-
426
- <details>
427
- <summary><strong>Task Synchronization</strong></summary>
428
-
429
- #### Real-time Board Sync
430
-
431
- ```bash
432
- # Sync swarm tasks with project cards
433
- npx ruv-swarm github board-sync \
434
- --map-status '{
435
- "todo": "To Do",
436
- "in_progress": "In Progress",
437
- "review": "Review",
438
- "done": "Done"
439
- }' \
440
- --auto-move-cards \
441
- --update-metadata
442
-
443
- # Enable real-time board updates
444
- npx ruv-swarm github board-realtime \
445
- --webhook-endpoint "https://api.example.com/github-sync" \
446
- --update-frequency "immediate" \
447
- --batch-updates false
448
- ```
449
-
450
- #### Convert Issues to Project Cards
451
-
452
- ```bash
453
- # List issues with label
454
- ISSUES=$(gh issue list --label "enhancement" --json number,title,body)
455
-
456
- # Add issues to project
457
- echo "$ISSUES" | jq -r '.[].number' | while read -r issue; do
458
- gh project item-add $PROJECT_ID --owner @me --url "https://github.com/$GITHUB_REPOSITORY/issues/$issue"
459
- done
460
-
461
- # Process with swarm
462
- npx ruv-swarm github board-import-issues \
463
- --issues "$ISSUES" \
464
- --add-to-column "Backlog" \
465
- --parse-checklist \
466
- --assign-agents
467
- ```
468
-
469
- </details>
470
-
471
- <details>
472
- <summary><strong>Smart Card Management</strong></summary>
473
-
474
- #### Auto-Assignment
475
-
476
- ```bash
477
- # Automatically assign cards to agents
478
- npx ruv-swarm github board-auto-assign \
479
- --strategy "load-balanced" \
480
- --consider "expertise,workload,availability" \
481
- --update-cards
482
- ```
483
-
484
- #### Intelligent Card State Transitions
485
-
486
- ```bash
487
- # Smart card movement based on rules
488
- npx ruv-swarm github board-smart-move \
489
- --rules '{
490
- "auto-progress": "when:all-subtasks-done",
491
- "auto-review": "when:tests-pass",
492
- "auto-done": "when:pr-merged"
493
- }'
494
- ```
495
-
496
- #### Bulk Operations
497
-
498
- ```bash
499
- # Bulk card operations
500
- npx ruv-swarm github board-bulk \
501
- --filter "status:blocked" \
502
- --action "add-label:needs-attention" \
503
- --notify-assignees
504
- ```
505
-
506
- </details>
507
-
508
- <details>
509
- <summary><strong>Custom Views & Dashboards</strong></summary>
510
-
511
- #### View Configuration
512
-
513
- ```javascript
514
- // Custom board views
515
- {
516
- "views": [
517
- {
518
- "name": "Swarm Overview",
519
- "type": "board",
520
- "groupBy": "status",
521
- "filters": ["is:open"],
522
- "sort": "priority:desc"
523
- },
524
- {
525
- "name": "Agent Workload",
526
- "type": "table",
527
- "groupBy": "assignedAgent",
528
- "columns": ["title", "status", "priority", "eta"],
529
- "sort": "eta:asc"
530
- },
531
- {
532
- "name": "Sprint Progress",
533
- "type": "roadmap",
534
- "dateField": "eta",
535
- "groupBy": "milestone"
536
- }
537
- ]
538
- }
539
- ```
540
-
541
- #### Dashboard Configuration
542
-
543
- ```javascript
544
- // Dashboard with performance widgets
545
- {
546
- "dashboard": {
547
- "widgets": [
548
- {
549
- "type": "chart",
550
- "title": "Task Completion Rate",
551
- "data": "completed-per-day",
552
- "visualization": "line"
553
- },
554
- {
555
- "type": "gauge",
556
- "title": "Sprint Progress",
557
- "data": "sprint-completion",
558
- "target": 100
559
- },
560
- {
561
- "type": "heatmap",
562
- "title": "Agent Activity",
563
- "data": "agent-tasks-per-day"
564
- }
565
- ]
566
- }
567
- }
568
- ```
569
-
570
- </details>
571
-
572
- ### 3. Sprint Planning & Tracking
573
-
574
- <details>
575
- <summary><strong>Sprint Management</strong></summary>
576
-
577
- #### Initialize Sprint with Swarm Coordination
578
-
579
- ```bash
580
- # Manage sprints with swarms
581
- npx ruv-swarm github sprint-manage \
582
- --sprint "Sprint 23" \
583
- --auto-populate \
584
- --capacity-planning \
585
- --track-velocity
586
-
587
- # Track milestone progress
588
- npx ruv-swarm github milestone-track \
589
- --milestone "v2.0 Release" \
590
- --update-board \
591
- --show-dependencies \
592
- --predict-completion
593
- ```
594
-
595
- #### Agile Development Board Setup
596
-
597
- ```bash
598
- # Setup agile board
599
- npx ruv-swarm github agile-board \
600
- --methodology "scrum" \
601
- --sprint-length "2w" \
602
- --ceremonies "planning,review,retro" \
603
- --metrics "velocity,burndown"
604
- ```
605
-
606
- #### Kanban Flow Board Setup
607
-
608
- ```bash
609
- # Setup kanban board
610
- npx ruv-swarm github kanban-board \
611
- --wip-limits '{
612
- "In Progress": 5,
613
- "Review": 3
614
- }' \
615
- --cycle-time-tracking \
616
- --continuous-flow
617
- ```
618
-
619
- </details>
620
-
621
- <details>
622
- <summary><strong>Progress Tracking & Analytics</strong></summary>
623
-
624
- #### Board Analytics
625
-
626
- ```bash
627
- # Fetch project data
628
- PROJECT_DATA=$(gh project item-list $PROJECT_ID --owner @me --format json)
629
-
630
- # Get issue metrics
631
- ISSUE_METRICS=$(echo "$PROJECT_DATA" | jq -r '.items[] | select(.content.type == "Issue")' | \
632
- while read -r item; do
633
- ISSUE_NUM=$(echo "$item" | jq -r '.content.number')
634
- gh issue view $ISSUE_NUM --json createdAt,closedAt,labels,assignees
635
- done)
636
-
637
- # Generate analytics with swarm
638
- npx ruv-swarm github board-analytics \
639
- --project-data "$PROJECT_DATA" \
640
- --issue-metrics "$ISSUE_METRICS" \
641
- --metrics "throughput,cycle-time,wip" \
642
- --group-by "agent,priority,type" \
643
- --time-range "30d" \
644
- --export "dashboard"
645
- ```
646
-
647
- #### Performance Reports
648
-
649
- ```bash
650
- # Track and visualize progress
651
- npx ruv-swarm github board-progress \
652
- --show "burndown,velocity,cycle-time" \
653
- --time-period "sprint" \
654
- --export-metrics
655
-
656
- # Generate reports
657
- npx ruv-swarm github board-report \
658
- --type "sprint-summary" \
659
- --format "markdown" \
660
- --include "velocity,burndown,blockers" \
661
- --distribute "slack,email"
662
- ```
663
-
664
- #### KPI Tracking
665
-
666
- ```bash
667
- # Track board performance
668
- npx ruv-swarm github board-kpis \
669
- --metrics '[
670
- "average-cycle-time",
671
- "throughput-per-sprint",
672
- "blocked-time-percentage",
673
- "first-time-pass-rate"
674
- ]' \
675
- --dashboard-url
676
-
677
- # Track team performance
678
- npx ruv-swarm github team-metrics \
679
- --board "Development" \
680
- --per-member \
681
- --include "velocity,quality,collaboration" \
682
- --anonymous-option
683
- ```
684
-
685
- </details>
686
-
687
- <details>
688
- <summary><strong>Release Planning</strong></summary>
689
-
690
- #### Release Coordination
691
-
692
- ```bash
693
- # Plan releases using board data
694
- npx ruv-swarm github release-plan-board \
695
- --analyze-velocity \
696
- --estimate-completion \
697
- --identify-risks \
698
- --optimize-scope
699
- ```
700
-
701
- </details>
702
-
703
- ### 4. Advanced Coordination
704
-
705
- <details>
706
- <summary><strong>Multi-Board Synchronization</strong></summary>
707
-
708
- #### Cross-Board Sync
709
-
710
- ```bash
711
- # Sync across multiple boards
712
- npx ruv-swarm github multi-board-sync \
713
- --boards "Development,QA,Release" \
714
- --sync-rules '{
715
- "Development->QA": "when:ready-for-test",
716
- "QA->Release": "when:tests-pass"
717
- }'
718
-
719
- # Cross-organization sync
720
- npx ruv-swarm github cross-org-sync \
721
- --source "org1/Project-A" \
722
- --target "org2/Project-B" \
723
- --field-mapping "custom" \
724
- --conflict-resolution "source-wins"
725
- ```
726
-
727
- </details>
728
-
729
- <details>
730
- <summary><strong>Issue Dependencies & Epic Management</strong></summary>
731
-
732
- #### Dependency Resolution
733
-
734
- ```bash
735
- # Handle issue dependencies
736
- npx ruv-swarm github issue-deps 456 \
737
- --resolve-order \
738
- --parallel-safe \
739
- --update-blocking
740
- ```
741
-
742
- #### Epic Coordination
743
-
744
- ```bash
745
- # Coordinate epic-level swarms
746
- npx ruv-swarm github epic-swarm \
747
- --epic 123 \
748
- --child-issues "456,457,458" \
749
- --orchestrate
750
- ```
751
-
752
- </details>
753
-
754
- <details>
755
- <summary><strong>Cross-Repository Coordination</strong></summary>
756
-
757
- #### Multi-Repo Issue Management
758
-
759
- ```bash
760
- # Handle issues across repositories
761
- npx ruv-swarm github cross-repo \
762
- --issue "org/repo#456" \
763
- --related "org/other-repo#123" \
764
- --coordinate
765
- ```
766
-
767
- </details>
768
-
769
- <details>
770
- <summary><strong>Team Collaboration</strong></summary>
771
-
772
- #### Work Distribution
773
-
774
- ```bash
775
- # Distribute work among team
776
- npx ruv-swarm github board-distribute \
777
- --strategy "skills-based" \
778
- --balance-workload \
779
- --respect-preferences \
780
- --notify-assignments
781
- ```
782
-
783
- #### Standup Automation
784
-
785
- ```bash
786
- # Generate standup reports
787
- npx ruv-swarm github standup-report \
788
- --team "frontend" \
789
- --include "yesterday,today,blockers" \
790
- --format "slack" \
791
- --schedule "daily-9am"
792
- ```
793
-
794
- #### Review Coordination
795
-
796
- ```bash
797
- # Coordinate reviews via board
798
- npx ruv-swarm github review-coordinate \
799
- --board "Code Review" \
800
- --assign-reviewers \
801
- --track-feedback \
802
- --ensure-coverage
803
- ```
804
-
805
- </details>
806
-
807
- ---
808
-
809
- ## Issue Templates
810
-
811
- ### Integration Issue Template
812
-
813
- ```markdown
814
- ## 🔄 Integration Task
815
-
816
- ### Overview
817
- [Brief description of integration requirements]
818
-
819
- ### Objectives
820
- - [ ] Component A integration
821
- - [ ] Component B validation
822
- - [ ] Testing and verification
823
- - [ ] Documentation updates
824
-
825
- ### Integration Areas
826
- #### Dependencies
827
- - [ ] Package.json updates
828
- - [ ] Version compatibility
829
- - [ ] Import statements
830
-
831
- #### Functionality
832
- - [ ] Core feature integration
833
- - [ ] API compatibility
834
- - [ ] Performance validation
835
-
836
- #### Testing
837
- - [ ] Unit tests
838
- - [ ] Integration tests
839
- - [ ] End-to-end validation
840
-
841
- ### Swarm Coordination
842
- - **Coordinator**: Overall progress tracking
843
- - **Analyst**: Technical validation
844
- - **Tester**: Quality assurance
845
- - **Documenter**: Documentation updates
846
-
847
- ### Progress Tracking
848
- Updates will be posted automatically by swarm agents during implementation.
849
-
850
- ---
851
- 🤖 Generated with Claude Code
852
- ```
853
-
854
- ### Bug Report Template
855
-
856
- ```markdown
857
- ## 🐛 Bug Report
858
-
859
- ### Problem Description
860
- [Clear description of the issue]
861
-
862
- ### Expected Behavior
863
- [What should happen]
864
-
865
- ### Actual Behavior
866
- [What actually happens]
867
-
868
- ### Reproduction Steps
869
- 1. [Step 1]
870
- 2. [Step 2]
871
- 3. [Step 3]
872
-
873
- ### Environment
874
- - Package: [package name and version]
875
- - Node.js: [version]
876
- - OS: [operating system]
877
-
878
- ### Investigation Plan
879
- - [ ] Root cause analysis
880
- - [ ] Fix implementation
881
- - [ ] Testing and validation
882
- - [ ] Regression testing
883
-
884
- ### Swarm Assignment
885
- - **Debugger**: Issue investigation
886
- - **Coder**: Fix implementation
887
- - **Tester**: Validation and testing
888
-
889
- ---
890
- 🤖 Generated with Claude Code
891
- ```
892
-
893
- ### Feature Request Template
894
-
895
- ```markdown
896
- ## ✨ Feature Request
897
-
898
- ### Feature Description
899
- [Clear description of the proposed feature]
900
-
901
- ### Use Cases
902
- 1. [Use case 1]
903
- 2. [Use case 2]
904
- 3. [Use case 3]
905
-
906
- ### Acceptance Criteria
907
- - [ ] Criterion 1
908
- - [ ] Criterion 2
909
- - [ ] Criterion 3
910
-
911
- ### Implementation Approach
912
- #### Design
913
- - [ ] Architecture design
914
- - [ ] API design
915
- - [ ] UI/UX mockups
916
-
917
- #### Development
918
- - [ ] Core implementation
919
- - [ ] Integration with existing features
920
- - [ ] Performance optimization
921
-
922
- #### Testing
923
- - [ ] Unit tests
924
- - [ ] Integration tests
925
- - [ ] User acceptance testing
926
-
927
- ### Swarm Coordination
928
- - **Architect**: Design and planning
929
- - **Coder**: Implementation
930
- - **Tester**: Quality assurance
931
- - **Documenter**: Documentation
932
-
933
- ---
934
- 🤖 Generated with Claude Code
935
- ```
936
-
937
- ### Swarm Task Template
938
-
939
- ```markdown
940
- <!-- .github/ISSUE_TEMPLATE/swarm-task.yml -->
941
- name: Swarm Task
942
- description: Create a task for AI swarm processing
943
- body:
944
- - type: dropdown
945
- id: topology
946
- attributes:
947
- label: Swarm Topology
948
- options:
949
- - mesh
950
- - hierarchical
951
- - ring
952
- - star
953
- - type: input
954
- id: agents
955
- attributes:
956
- label: Required Agents
957
- placeholder: "coder, tester, analyst"
958
- - type: textarea
959
- id: tasks
960
- attributes:
961
- label: Task Breakdown
962
- placeholder: |
963
- 1. Task one description
964
- 2. Task two description
965
- ```
966
-
967
- ---
968
-
969
- ## Workflow Integration
970
-
971
- ### GitHub Actions for Issue Management
972
-
973
- ```yaml
974
- # .github/workflows/issue-swarm.yml
975
- name: Issue Swarm Handler
976
- on:
977
- issues:
978
- types: [opened, labeled, commented]
979
-
980
- jobs:
981
- swarm-process:
982
- runs-on: ubuntu-latest
983
- steps:
984
- - name: Process Issue
985
- uses: ruvnet/swarm-action@v1
986
- with:
987
- command: |
988
- if [[ "${{ github.event.label.name }}" == "swarm-ready" ]]; then
989
- npx ruv-swarm github issue-init ${{ github.event.issue.number }}
990
- fi
991
- ```
992
-
993
- ### Board Integration Workflow
994
-
995
- ```bash
996
- # Sync with project board
997
- npx ruv-swarm github issue-board-sync \
998
- --project "Development" \
999
- --column-mapping '{
1000
- "To Do": "pending",
1001
- "In Progress": "active",
1002
- "Done": "completed"
1003
- }'
1004
- ```
1005
-
1006
- ---
1007
-
1008
- ## Specialized Issue Strategies
1009
-
1010
- ### Bug Investigation Swarm
1011
-
1012
- ```bash
1013
- # Specialized bug handling
1014
- npx ruv-swarm github bug-swarm 456 \
1015
- --reproduce \
1016
- --isolate \
1017
- --fix \
1018
- --test
1019
- ```
1020
-
1021
- ### Feature Implementation Swarm
1022
-
1023
- ```bash
1024
- # Feature implementation swarm
1025
- npx ruv-swarm github feature-swarm 456 \
1026
- --design \
1027
- --implement \
1028
- --document \
1029
- --demo
1030
- ```
1031
-
1032
- ### Technical Debt Refactoring
1033
-
1034
- ```bash
1035
- # Refactoring swarm
1036
- npx ruv-swarm github debt-swarm 456 \
1037
- --analyze-impact \
1038
- --plan-migration \
1039
- --execute \
1040
- --validate
1041
- ```
1042
-
1043
- ---
1044
-
1045
- ## Best Practices
1046
-
1047
- ### 1. Swarm-Coordinated Issue Management
1048
- - Always initialize swarm for complex issues
1049
- - Assign specialized agents based on issue type
1050
- - Use memory for progress coordination
1051
- - Regular automated progress updates
1052
-
1053
- ### 2. Board Organization
1054
- - Clear column definitions with consistent naming
1055
- - Systematic labeling strategy across repositories
1056
- - Regular board grooming and maintenance
1057
- - Well-defined automation rules
1058
-
1059
- ### 3. Data Integrity
1060
- - Bidirectional sync validation
1061
- - Conflict resolution strategies
1062
- - Comprehensive audit trails
1063
- - Regular backups of project data
1064
-
1065
- ### 4. Team Adoption
1066
- - Comprehensive training materials
1067
- - Clear, documented workflows
1068
- - Regular team reviews and retrospectives
1069
- - Active feedback loops for improvement
1070
-
1071
- ### 5. Smart Labeling and Organization
1072
- - Consistent labeling strategy across repositories
1073
- - Priority-based issue sorting and assignment
1074
- - Milestone integration for project coordination
1075
- - Agent-type to label mapping
1076
-
1077
- ### 6. Automated Progress Tracking
1078
- - Regular automated updates with swarm coordination
1079
- - Progress metrics and completion tracking
1080
- - Cross-issue dependency management
1081
- - Real-time status synchronization
1082
-
1083
- ---
1084
-
1085
- ## Troubleshooting
1086
-
1087
- ### Sync Issues
1088
-
1089
- ```bash
1090
- # Diagnose sync problems
1091
- npx ruv-swarm github board-diagnose \
1092
- --check "permissions,webhooks,rate-limits" \
1093
- --test-sync \
1094
- --show-conflicts
1095
- ```
1096
-
1097
- ### Performance Optimization
1098
-
1099
- ```bash
1100
- # Optimize board performance
1101
- npx ruv-swarm github board-optimize \
1102
- --analyze-size \
1103
- --archive-completed \
1104
- --index-fields \
1105
- --cache-views
1106
- ```
1107
-
1108
- ### Data Recovery
1109
-
1110
- ```bash
1111
- # Recover board data
1112
- npx ruv-swarm github board-recover \
1113
- --backup-id "2024-01-15" \
1114
- --restore-cards \
1115
- --preserve-current \
1116
- --merge-conflicts
1117
- ```
1118
-
1119
- ---
1120
-
1121
- ## Metrics & Analytics
1122
-
1123
- ### Performance Metrics
1124
-
1125
- Automatic tracking of:
1126
- - Issue creation and resolution times
1127
- - Agent productivity metrics
1128
- - Project milestone progress
1129
- - Cross-repository coordination efficiency
1130
- - Sprint velocity and burndown
1131
- - Cycle time and throughput
1132
- - Work-in-progress limits
1133
-
1134
- ### Reporting Features
1135
-
1136
- - Weekly progress summaries
1137
- - Agent performance analytics
1138
- - Project health metrics
1139
- - Integration success rates
1140
- - Team collaboration metrics
1141
- - Quality and defect tracking
1142
-
1143
- ### Issue Resolution Time
1144
-
1145
- ```bash
1146
- # Analyze swarm performance
1147
- npx ruv-swarm github issue-metrics \
1148
- --issue 456 \
1149
- --metrics "time-to-close,agent-efficiency,subtask-completion"
1150
- ```
1151
-
1152
- ### Swarm Effectiveness
1153
-
1154
- ```bash
1155
- # Generate effectiveness report
1156
- npx ruv-swarm github effectiveness \
1157
- --issues "closed:>2024-01-01" \
1158
- --compare "with-swarm,without-swarm"
1159
- ```
1160
-
1161
- ---
1162
-
1163
- ## Security & Permissions
1164
-
1165
- 1. **Command Authorization**: Validate user permissions before executing commands
1166
- 2. **Rate Limiting**: Prevent spam and abuse of issue commands
1167
- 3. **Audit Logging**: Track all swarm operations on issues and boards
1168
- 4. **Data Privacy**: Respect private repository settings
1169
- 5. **Access Control**: Proper GitHub permissions for board operations
1170
- 6. **Webhook Security**: Secure webhook endpoints for real-time updates
1171
-
1172
- ---
1173
-
1174
- ## Integration with Other Skills
1175
-
1176
- ### Seamless Integration With:
1177
- - `github-pr-workflow` - Link issues to pull requests automatically
1178
- - `github-release-management` - Coordinate release issues and milestones
1179
- - `sparc-orchestrator` - Complex project coordination workflows
1180
- - `sparc-tester` - Automated testing workflows for issues
1181
-
1182
- ---
1183
-
1184
- ## Complete Workflow Example
1185
-
1186
- ### Full-Stack Feature Development
1187
-
1188
- ```bash
1189
- # 1. Create feature issue with swarm coordination
1190
- gh issue create \
1191
- --title "Feature: Real-time Collaboration" \
1192
- --body "$(cat <<EOF
1193
- ## Feature: Real-time Collaboration
1194
-
1195
- ### Overview
1196
- Implement real-time collaboration features using WebSockets.
1197
-
1198
- ### Objectives
1199
- - [ ] WebSocket server setup
1200
- - [ ] Client-side integration
1201
- - [ ] Presence tracking
1202
- - [ ] Conflict resolution
1203
- - [ ] Testing and documentation
1204
-
1205
- ### Swarm Coordination
1206
- This feature will use mesh topology for parallel development.
1207
- EOF
1208
- )" \
1209
- --label "enhancement,swarm-ready,high-priority"
1210
-
1211
- # 2. Initialize swarm and decompose tasks
1212
- ISSUE_NUM=$(gh issue list --label "swarm-ready" --limit 1 --json number --jq '.[0].number')
1213
- npx ruv-swarm github issue-init $ISSUE_NUM \
1214
- --topology mesh \
1215
- --auto-decompose \
1216
- --assign-agents "architect,coder,tester"
1217
-
1218
- # 3. Add to project board
1219
- PROJECT_ID=$(gh project list --owner @me --format json | jq -r '.projects[0].id')
1220
- gh project item-add $PROJECT_ID --owner @me \
1221
- --url "https://github.com/$GITHUB_REPOSITORY/issues/$ISSUE_NUM"
1222
-
1223
- # 4. Set up automated tracking
1224
- npx ruv-swarm github board-sync \
1225
- --auto-move-cards \
1226
- --update-metadata
1227
-
1228
- # 5. Monitor progress
1229
- npx ruv-swarm github issue-progress $ISSUE_NUM \
1230
- --auto-update-comments \
1231
- --notify-on-completion
1232
- ```
1233
-
1234
- ---
1235
-
1236
- ## Quick Reference Commands
1237
-
1238
- ```bash
1239
- # Issue Management
1240
- gh issue create --title "..." --body "..." --label "..."
1241
- npx ruv-swarm github issue-init <number>
1242
- npx ruv-swarm github issue-decompose <number>
1243
- npx ruv-swarm github triage --unlabeled
1244
-
1245
- # Project Boards
1246
- npx ruv-swarm github board-init --project-id <id>
1247
- npx ruv-swarm github board-sync
1248
- npx ruv-swarm github board-analytics
1249
-
1250
- # Sprint Management
1251
- npx ruv-swarm github sprint-manage --sprint "Sprint X"
1252
- npx ruv-swarm github milestone-track --milestone "vX.X"
1253
-
1254
- # Analytics
1255
- npx ruv-swarm github issue-metrics --issue <number>
1256
- npx ruv-swarm github board-kpis
1257
- ```
1258
-
1259
- ---
1260
-
1261
- ## Additional Resources
1262
-
1263
- - [GitHub CLI Documentation](https://cli.github.com/manual/)
1264
- - [GitHub Projects Documentation](https://docs.github.com/en/issues/planning-and-tracking-with-projects)
1265
- - [Swarm Coordination Guide](https://github.com/ruvnet/ruv-swarm)
1266
- - [Claude Flow Documentation](https://github.com/eric-cielo/moflo)
1267
-
1268
- ---
1269
-
1270
- **Last Updated**: 2025-10-19
1271
- **Version**: 2.0.0
1272
- **Maintainer**: Claude Code