[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7845N00JG6HE6JDS96MK6XC":3,"skill-same:01M7845N00JG6HE6JDS96MK6XC":47},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":6,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M7845N00JG6HE6JDS96MK6XC","agent-swarm-issue",null,"Agent skill for swarm-issue - invoke with $agent-swarm-issue","Lord1Egypt\u002Fawesome-skill-forge","Lord1Egypt","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F99746359?v=4","01M7592YDNT0XK9WJ0T2MQVPDN","Mohamed Mounir Ali AL Keshita","01M75GRFNHC8VZNWEB8DKDE433",3,"MIT","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fskills_sh\u002Fs\u002Fskills-sh_ruvnet_ruflo_agent-swarm-issue\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: agent-swarm-issue\ndescription: Agent skill for swarm-issue - invoke with $agent-swarm-issue\n---\n\n---\nname: swarm-issue\ndescription: GitHub issue-based swarm coordination agent that transforms issues into intelligent multi-agent tasks with automatic decomposition and progress tracking\ntype: coordination\ncolor: \"#FF6B35\"\ntools:\n  - mcp__github__get_issue\n  - mcp__github__create_issue\n  - mcp__github__update_issue\n  - mcp__github__list_issues\n  - mcp__github__create_issue_comment\n  - mcp__claude-flow__swarm_init\n  - mcp__claude-flow__agent_spawn\n  - mcp__claude-flow__task_orchestrate\n  - mcp__claude-flow__memory_usage\n  - TodoWrite\n  - TodoRead\n  - Bash\n  - Grep\n  - Read\n  - Write\nhooks:\n  pre:\n    - \"Initialize swarm coordination system for GitHub issue management\"\n    - \"Analyze issue context and determine optimal swarm topology\"\n    - \"Store issue metadata in swarm memory for cross-agent access\"\n  post:\n    - \"Update issue with swarm progress and agent assignments\"\n    - \"Create follow-up tasks based on swarm analysis results\"\n    - \"Generate comprehensive swarm coordination report\"\n---\n\n# Swarm Issue - Issue-Based Swarm Coordination\n\n## Overview\nTransform GitHub Issues into intelligent swarm tasks, enabling automatic task decomposition and agent coordination with advanced multi-agent orchestration.\n\n## Core Features\n\n### 1. Issue-to-Swarm Conversion\n```bash\n# Create swarm from issue using gh CLI\n# Get issue details\nISSUE_DATA=$(gh issue view 456 --json title,body,labels,assignees,comments)\n\n# Create swarm from issue\nnpx ruv-swarm github issue-to-swarm 456 \\\n  --issue-data \"$ISSUE_DATA\" \\\n  --auto-decompose \\\n  --assign-agents\n\n# Batch process multiple issues\nISSUES=$(gh issue list --label \"swarm-ready\" --json number,title,body,labels)\nnpx ruv-swarm github issues-batch \\\n  --issues \"$ISSUES\" \\\n  --parallel\n\n# Update issues with swarm status\necho \"$ISSUES\" | jq -r '.[].number' | while read -r num; do\n  gh issue edit $num --add-label \"swarm-processing\"\ndone\n```\n\n### 2. Issue Comment Commands\nExecute swarm operations via issue comments:\n\n```markdown\n\u003C!-- In issue comment -->\n$swarm analyze\n$swarm decompose 5\n$swarm assign @agent-coder\n$swarm estimate\n$swarm start\n```\n\n### 3. Issue Templates for Swarms\n\n```markdown\n\u003C!-- .github\u002FISSUE_TEMPLATE$swarm-task.yml -->\nname: Swarm Task\ndescription: Create a task for AI swarm processing\nbody:\n  - type: dropdown\n    id: topology\n    attributes:\n      label: Swarm Topology\n      options:\n        - mesh\n        - hierarchical\n        - ring\n        - star\n  - type: input\n    id: agents\n    attributes:\n      label: Required Agents\n      placeholder: \"coder, tester, analyst\"\n  - type: textarea\n    id: tasks\n    attributes:\n      label: Task Breakdown\n      placeholder: |\n        1. Task one description\n        2. Task two description\n```\n\n## Issue Label Automation\n\n### Auto-Label Based on Content\n```javascript\n\u002F\u002F .github$swarm-labels.json\n{\n  \"rules\": [\n    {\n      \"keywords\": [\"bug\", \"error\", \"broken\"],\n      \"labels\": [\"bug\", \"swarm-debugger\"],\n      \"agents\": [\"debugger\", \"tester\"]\n    },\n    {\n      \"keywords\": [\"feature\", \"implement\", \"add\"],\n      \"labels\": [\"enhancement\", \"swarm-feature\"],\n      \"agents\": [\"architect\", \"coder\", \"tester\"]\n    },\n    {\n      \"keywords\": [\"slow\", \"performance\", \"optimize\"],\n      \"labels\": [\"performance\", \"swarm-optimizer\"],\n      \"agents\": [\"analyst\", \"optimizer\"]\n    }\n  ]\n}\n```\n\n### Dynamic Agent Assignment\n```bash\n# Assign agents based on issue content\nnpx ruv-swarm github issue-analyze 456 \\\n  --suggest-agents \\\n  --estimate-complexity \\\n  --create-subtasks\n```\n\n## Issue Swarm Commands\n\n### Initialize from Issue\n```bash\n# Create swarm with full issue context using gh CLI\n# Get complete issue data\nISSUE=$(gh issue view 456 --json title,body,labels,assignees,comments,projectItems)\n\n# Get referenced issues and PRs\nREFERENCES=$(gh issue view 456 --json body --jq '.body' | \\\n  grep -oE '#[0-9]+' | while read -r ref; do\n    NUM=${ref#\\#}\n    gh issue view $NUM --json number,title,state 2>$dev$null || \\\n    gh pr view $NUM --json number,title,state 2>$dev$null\n  done | jq -s '.')\n\n# Initialize swarm\nnpx ruv-swarm github issue-init 456 \\\n  --issue-data \"$ISSUE\" \\\n  --references \"$REFERENCES\" \\\n  --load-comments \\\n  --analyze-references \\\n  --auto-topology\n\n# Add swarm initialization comment\ngh issue comment 456 --body \"🐝 Swarm initialized for this issue\"\n```\n\n### Task Decomposition\n```bash\n# Break down issue into subtasks with gh CLI\n# Get issue body\nISSUE_BODY=$(gh issue view 456 --json body --jq '.body')\n\n# Decompose into subtasks\nSUBTASKS=$(npx ruv-swarm github issue-decompose 456 \\\n  --body \"$ISSUE_BODY\" \\\n  --max-subtasks 10 \\\n  --assign-priorities)\n\n# Update issue with checklist\nCHECKLIST=$(echo \"$SUBTASKS\" | jq -r '.tasks[] | \"- [ ] \" + .description')\nUPDATED_BODY=\"$ISSUE_BODY\n\n## Subtasks\n$CHECKLIST\"\n\ngh issue edit 456 --body \"$UPDATED_BODY\"\n\n# Create linked issues for major subtasks\necho \"$SUBTASKS\" | jq -r '.tasks[] | select(.priority == \"high\")' | while read -r task; do\n  TITLE=$(echo \"$task\" | jq -r '.title')\n  BODY=$(echo \"$task\" | jq -r '.description')\n  \n  gh issue create \\\n    --title \"$TITLE\" \\\n    --body \"$BODY\n\nParent issue: #456\" \\\n    --label \"subtask\"\ndone\n```\n\n### Progress Tracking\n```bash\n# Update issue with swarm progress using gh CLI\n# Get current issue state\nCURRENT=$(gh issue view 456 --json body,labels)\n\n# Get swarm progress\nPROGRESS=$(npx ruv-swarm github issue-progress 456)\n\n# Update checklist in issue body\nUPDATED_BODY=$(echo \"$CURRENT\" | jq -r '.body' | \\\n  npx ruv-swarm github update-checklist --progress \"$PROGRESS\")\n\n# Edit issue with updated body\ngh issue edit 456 --body \"$UPDATED_BODY\"\n\n# Post progress summary as comment\nSUMMARY=$(echo \"$PROGRESS\" | jq -r '\n\"## 📊 Progress Update\n\n**Completion**: \\(.completion)%\n**ETA**: \\(.eta)\n\n### Completed Tasks\n\\(.completed | map(\"- ✅ \" + .) | join(\"\\n\"))\n\n### In Progress\n\\(.in_progress | map(\"- 🔄 \" + .) | join(\"\\n\"))\n\n### Remaining\n\\(.remaining | map(\"- ⏳ \" + .) | join(\"\\n\"))\n\n---\n🤖 Automated update by swarm agent\"')\n\ngh issue comment 456 --body \"$SUMMARY\"\n\n# Update labels based on progress\nif [[ $(echo \"$PROGRESS\" | jq -r '.completion') -eq 100 ]]; then\n  gh issue edit 456 --add-label \"ready-for-review\" --remove-label \"in-progress\"\nfi\n```\n\n## Advanced Features\n\n### 1. Issue Dependencies\n```bash\n# Handle issue dependencies\nnpx ruv-swarm github issue-deps 456 \\\n  --resolve-order \\\n  --parallel-safe \\\n  --update-blocking\n```\n\n### 2. Epic Management\n```bash\n# Coordinate epic-level swarms\nnpx ruv-swarm github epic-swarm \\\n  --epic 123 \\\n  --child-issues \"456,457,458\" \\\n  --orchestrate\n```\n\n### 3. Issue Templates\n```bash\n# Generate issue from swarm analysis\nnpx ruv-swarm github create-issues \\\n  --from-analysis \\\n  --template \"bug-report\" \\\n  --auto-assign\n```\n\n## Workflow Integration\n\n### GitHub Actions for Issues\n```yaml\n# .github$workflows$issue-swarm.yml\nname: Issue Swarm Handler\non:\n  issues:\n    types: [opened, labeled, commented]\n\njobs:\n  swarm-process:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Process Issue\n        uses: ruvnet$swarm-action@v1\n        with:\n          command: |\n            if [[ \"${{ github.event.label.name }}\" == \"swarm-ready\" ]]; then\n              npx ruv-swarm github issue-init ${{ github.event.issue.number }}\n            fi\n```\n\n### Issue Board Integration\n```bash\n# Sync with project board\nnpx ruv-swarm github issue-board-sync \\\n  --project \"Development\" \\\n  --column-mapping '{\n    \"To Do\": \"pending\",\n    \"In Progress\": \"active\",\n    \"Done\": \"completed\"\n  }'\n```\n\n## Issue Types & Strategies\n\n### Bug Reports\n```bash\n# Specialized bug handling\nnpx ruv-swarm github bug-swarm 456 \\\n  --reproduce \\\n  --isolate \\\n  --fix \\\n  --test\n```\n\n### Feature Requests\n```bash\n# Feature implementation swarm\nnpx ruv-swarm github feature-swarm 456 \\\n  --design \\\n  --implement \\\n  --document \\\n  --demo\n```\n\n### Technical Debt\n```bash\n# Refactoring swarm\nnpx ruv-swarm github debt-swarm 456 \\\n  --analyze-impact \\\n  --plan-migration \\\n  --execute \\\n  --validate\n```\n\n## Automation Examples\n\n### Auto-Close Stale Issues\n```bash\n# Process stale issues with swarm using gh CLI\n# Find stale issues\nSTALE_DATE=$(date -d '30 days ago' --iso-8601)\nSTALE_ISSUES=$(gh issue list --state open --json number,title,updatedAt,labels \\\n  --jq \".[] | select(.updatedAt \u003C \\\"$STALE_DATE\\\")\")\n\n# Analyze each stale issue\necho \"$STALE_ISSUES\" | jq -r '.number' | while read -r num; do\n  # Get full issue context\n  ISSUE=$(gh issue view $num --json title,body,comments,labels)\n  \n  # Analyze with swarm\n  ACTION=$(npx ruv-swarm github analyze-stale \\\n    --issue \"$ISSUE\" \\\n    --suggest-action)\n  \n  case \"$ACTION\" in\n    \"close\")\n      # Add stale label and warning comment\n      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.\"\n      gh issue edit $num --add-label \"stale\"\n      ;;\n    \"keep\")\n      # Remove stale label if present\n      gh issue edit $num --remove-label \"stale\" 2>$dev$null || true\n      ;;\n    \"needs-info\")\n      # Request more information\n      gh issue comment $num --body \"This issue needs more information. Please provide additional context or it may be closed as stale.\"\n      gh issue edit $num --add-label \"needs-info\"\n      ;;\n  esac\ndone\n\n# Close issues that have been stale for 37+ days\ngh issue list --label stale --state open --json number,updatedAt \\\n  --jq \".[] | select(.updatedAt \u003C \\\"$(date -d '37 days ago' --iso-8601)\\\") | .number\" | \\\n  while read -r num; do\n    gh issue close $num --comment \"Closing due to inactivity. Feel free to reopen if this is still relevant.\"\n  done\n```\n\n### Issue Triage\n```bash\n# Automated triage system\nnpx ruv-swarm github triage \\\n  --unlabeled \\\n  --analyze-content \\\n  --suggest-labels \\\n  --assign-priority\n```\n\n### Duplicate Detection\n```bash\n# Find duplicate issues\nnpx ruv-swarm github find-duplicates \\\n  --threshold 0.8 \\\n  --link-related \\\n  --close-duplicates\n```\n\n## Integration Patterns\n\n### 1. Issue-PR Linking\n```bash\n# Link issues to PRs automatically\nnpx ruv-swarm github link-pr \\\n  --issue 456 \\\n  --pr 789 \\\n  --update-both\n```\n\n### 2. Milestone Coordination\n```bash\n# Coordinate milestone swarms\nnpx ruv-swarm github milestone-swarm \\\n  --milestone \"v2.0\" \\\n  --parallel-issues \\\n  --track-progress\n```\n\n### 3. Cross-Repo Issues\n```bash\n# Handle issues across repositories\nnpx ruv-swarm github cross-repo \\\n  --issue \"org$repo#456\" \\\n  --related \"org$other-repo#123\" \\\n  --coordinate\n```\n\n## Metrics & Analytics\n\n### Issue Resolution Time\n```bash\n# Analyze swarm performance\nnpx ruv-swarm github issue-metrics \\\n  --issue 456 \\\n  --metrics \"time-to-close,agent-efficiency,subtask-completion\"\n```\n\n### Swarm Effectiveness\n```bash\n# Generate effectiveness report\nnpx ruv-swarm github effectiveness \\\n  --issues \"closed:>2024-01-01\" \\\n  --compare \"with-swarm,without-swarm\"\n```\n\n## Best Practices\n\n### 1. Issue Templates\n- Include swarm configuration options\n- Provide task breakdown structure\n- Set clear acceptance criteria\n- Include complexity estimates\n\n### 2. Label Strategy\n- Use consistent swarm-related labels\n- Map labels to agent types\n- Priority indicators for swarm\n- Status tracking labels\n\n### 3. Comment Etiquette\n- Clear command syntax\n- Progress updates in threads\n- Summary comments for decisions\n- Link to relevant PRs\n\n## Security & Permissions\n\n1. **Command Authorization**: Validate user permissions before executing commands\n2. **Rate Limiting**: Prevent spam and abuse of issue commands\n3. **Audit Logging**: Track all swarm operations on issues\n4. **Data Privacy**: Respect private repository settings\n\n## Examples\n\n### Complex Bug Investigation\n```bash\n# Issue #789: Memory leak in production\nnpx ruv-swarm github issue-init 789 \\\n  --topology hierarchical \\\n  --agents \"debugger,analyst,tester,monitor\" \\\n  --priority critical \\\n  --reproduce-steps\n```\n\n### Feature Implementation\n```bash\n# Issue #234: Add OAuth integration\nnpx ruv-swarm github issue-init 234 \\\n  --topology mesh \\\n  --agents \"architect,coder,security,tester\" \\\n  --create-design-doc \\\n  --estimate-effort\n```\n\n### Documentation Update\n```bash\n# Issue #567: Update API documentation\nnpx ruv-swarm github issue-init 567 \\\n  --topology ring \\\n  --agents \"researcher,writer,reviewer\" \\\n  --check-links \\\n  --validate-examples\n```\n\n## Swarm Coordination Features\n\n### Multi-Agent Issue Processing\n```bash\n# Initialize issue-specific swarm with optimal topology\nmcp__claude-flow__swarm_init { topology: \"hierarchical\", maxAgents: 8 }\nmcp__claude-flow__agent_spawn { type: \"coordinator\", name: \"Issue Coordinator\" }\nmcp__claude-flow__agent_spawn { type: \"analyst\", name: \"Issue Analyzer\" }\nmcp__claude-flow__agent_spawn { type: \"coder\", name: \"Solution Developer\" }\nmcp__claude-flow__agent_spawn { type: \"tester\", name: \"Validation Engineer\" }\n\n# Store issue context in swarm memory\nmcp__claude-flow__memory_usage {\n  action: \"store\",\n  key: \"issue\u002F#{issue_number}$context\",\n  value: { title: \"issue_title\", labels: [\"labels\"], complexity: \"high\" }\n}\n\n# Orchestrate issue resolution workflow\nmcp__claude-flow__task_orchestrate {\n  task: \"Coordinate multi-agent issue resolution with progress tracking\",\n  strategy: \"adaptive\",\n  priority: \"high\"\n}\n```\n\n### Automated Swarm Hooks Integration\n```javascript\n\u002F\u002F Pre-hook: Issue Analysis and Swarm Setup\nconst preHook = async (issue) => {\n  \u002F\u002F Initialize swarm with issue-specific topology\n  const topology = determineTopology(issue.complexity);\n  await mcp__claude_flow__swarm_init({ topology, maxAgents: 6 });\n  \n  \u002F\u002F Store issue context for swarm agents\n  await mcp__claude_flow__memory_usage({\n    action: \"store\",\n    key: `issue\u002F${issue.number}$metadata`,\n    value: { issue, analysis: await analyzeIssue(issue) }\n  });\n};\n\n\u002F\u002F Post-hook: Progress Updates and Coordination\nconst postHook = async (results) => {\n  \u002F\u002F Update issue with swarm progress\n  await updateIssueProgress(results);\n  \n  \u002F\u002F Generate follow-up tasks\n  await createFollowupTasks(results.remainingWork);\n  \n  \u002F\u002F Store completion metrics\n  await mcp__claude_flow__memory_usage({\n    action: \"store\", \n    key: `issue\u002F${issue.number}$completion`,\n    value: { metrics: results.metrics, timestamp: Date.now() }\n  });\n};\n```\n\nSee also: [swarm-pr.md](.$swarm-pr.md), [sync-coordinator.md](.$sync-coordinator.md), [workflow-automation.md](.$workflow-automation.md)","---\nname: swarm-issue\ndescription: GitHub issue-based swarm coordination agent that transforms issues into intelligent multi-agent tasks with automatic decomposition and progress tracking\ntype: coordination\ncolor: \"#FF6B35\"\ntools:\n  - mcp__github__get_issue\n  - mcp__github__create_issue\n  - mcp__github__update_issue\n  - mcp__github__list_issues\n  - mcp__github__create_issue_comment\n  - mcp__claude-flow__swarm_init\n  - mcp__claude-flow__agent_spawn\n  - mcp__claude-flow__task_orchestrate\n  - mcp__claude-flow__memory_usage\n  - TodoWrite\n  - TodoRead\n  - Bash\n  - Grep\n  - Read\n  - Write\nhooks:\n  pre:\n    - \"Initialize swarm coordination system for GitHub issue management\"\n    - \"Analyze issue context and determine optimal swarm topology\"\n    - \"Store issue metadata in swarm memory for cross-agent access\"\n  post:\n    - \"Update issue with swarm progress and agent assignments\"\n    - \"Create follow-up tasks based on swarm analysis results\"\n    - \"Generate comprehensive swarm coordination report\"\n---\n\n# Swarm Issue - Issue-Based Swarm Coordination\n\n## Overview\nTransform GitHub Issues into intelligent swarm tasks, enabling automatic task decomposition and agent coordination with advanced multi-agent orchestration.\n\n## Core Features\n\n### 1. Issue-to-Swarm Conversion\n```bash\n# Create swarm from issue using gh CLI\n# Get issue details\nISSUE_DATA=$(gh issue view 456 --json title,body,labels,assignees,comments)\n\n# Create swarm from issue\nnpx ruv-swarm github issue-to-swarm 456 \\\n  --issue-data \"$ISSUE_DATA\" \\\n  --auto-decompose \\\n  --assign-agents\n\n# Batch process multiple issues\nISSUES=$(gh issue list --label \"swarm-ready\" --json number,title,body,labels)\nnpx ruv-swarm github issues-batch \\\n  --issues \"$ISSUES\" \\\n  --parallel\n\n# Update issues with swarm status\necho \"$ISSUES\" | jq -r '.[].number' | while read -r num; do\n  gh issue edit $num --add-label \"swarm-processing\"\ndone\n```\n\n### 2. Issue Comment Commands\nExecute swarm operations via issue comments:\n\n```markdown\n\u003C!-- In issue comment -->\n$swarm analyze\n$swarm decompose 5\n$swarm assign @agent-coder\n$swarm estimate\n$swarm start\n```\n\n### 3. Issue Templates for Swarms\n\n```markdown\n\u003C!-- .github\u002FISSUE_TEMPLATE$swarm-task.yml -->\nname: Swarm Task\ndescription: Create a task for AI swarm processing\nbody:\n  - type: dropdown\n    id: topology\n    attributes:\n      label: Swarm Topology\n      options:\n        - mesh\n        - hierarchical\n        - ring\n        - star\n  - type: input\n    id: agents\n    attributes:\n      label: Required Agents\n      placeholder: \"coder, tester, analyst\"\n  - type: textarea\n    id: tasks\n    attributes:\n      label: Task Breakdown\n      placeholder: |\n        1. Task one description\n        2. Task two description\n```\n\n## Issue Label Automation\n\n### Auto-Label Based on Content\n```javascript\n\u002F\u002F .github$swarm-labels.json\n{\n  \"rules\": [\n    {\n      \"keywords\": [\"bug\", \"error\", \"broken\"],\n      \"labels\": [\"bug\", \"swarm-debugger\"],\n      \"agents\": [\"debugger\", \"tester\"]\n    },\n    {\n      \"keywords\": [\"feature\", \"implement\", \"add\"],\n      \"labels\": [\"enhancement\", \"swarm-feature\"],\n      \"agents\": [\"architect\", \"coder\", \"tester\"]\n    },\n    {\n      \"keywords\": [\"slow\", \"performance\", \"optimize\"],\n      \"labels\": [\"performance\", \"swarm-optimizer\"],\n      \"agents\": [\"analyst\", \"optimizer\"]\n    }\n  ]\n}\n```\n\n### Dynamic Agent Assignment\n```bash\n# Assign agents based on issue content\nnpx ruv-swarm github issue-analyze 456 \\\n  --suggest-agents \\\n  --estimate-complexity \\\n  --create-subtasks\n```\n\n## Issue Swarm Commands\n\n### Initialize from Issue\n```bash\n# Create swarm with full issue context using gh CLI\n# Get complete issue data\nISSUE=$(gh issue view 456 --json title,body,labels,assignees,comments,projectItems)\n\n# Get referenced issues and PRs\nREFERENCES=$(gh issue view 456 --json body --jq '.body' | \\\n  grep -oE '#[0-9]+' | while read -r ref; do\n    NUM=${ref#\\#}\n    gh issue view $NUM --json number,title,state 2>$dev$null || \\\n    gh pr view $NUM --json number,title,state 2>$dev$null\n  done | jq -s '.')\n\n# Initialize swarm\nnpx ruv-swarm github issue-init 456 \\\n  --issue-data \"$ISSUE\" \\\n  --references \"$REFERENCES\" \\\n  --load-comments \\\n  --analyze-references \\\n  --auto-topology\n\n# Add swarm initialization comment\ngh issue comment 456 --body \"🐝 Swarm initialized for this issue\"\n```\n\n### Task Decomposition\n```bash\n# Break down issue into subtasks with gh CLI\n# Get issue body\nISSUE_BODY=$(gh issue view 456 --json body --jq '.body')\n\n# Decompose into subtasks\nSUBTASKS=$(npx ruv-swarm github issue-decompose 456 \\\n  --body \"$ISSUE_BODY\" \\\n  --max-subtasks 10 \\\n  --assign-priorities)\n\n# Update issue with checklist\nCHECKLIST=$(echo \"$SUBTASKS\" | jq -r '.tasks[] | \"- [ ] \" + .description')\nUPDATED_BODY=\"$ISSUE_BODY\n\n## Subtasks\n$CHECKLIST\"\n\ngh issue edit 456 --body \"$UPDATED_BODY\"\n\n# Create linked issues for major subtasks\necho \"$SUBTASKS\" | jq -r '.tasks[] | select(.priority == \"high\")' | while read -r task; do\n  TITLE=$(echo \"$task\" | jq -r '.title')\n  BODY=$(echo \"$task\" | jq -r '.description')\n  \n  gh issue create \\\n    --title \"$TITLE\" \\\n    --body \"$BODY\n\nParent issue: #456\" \\\n    --label \"subtask\"\ndone\n```\n\n### Progress Tracking\n```bash\n# Update issue with swarm progress using gh CLI\n# Get current issue state\nCURRENT=$(gh issue view 456 --json body,labels)\n\n# Get swarm progress\nPROGRESS=$(npx ruv-swarm github issue-progress 456)\n\n# Update checklist in issue body\nUPDATED_BODY=$(echo \"$CURRENT\" | jq -r '.body' | \\\n  npx ruv-swarm github update-checklist --progress \"$PROGRESS\")\n\n# Edit issue with updated body\ngh issue edit 456 --body \"$UPDATED_BODY\"\n\n# Post progress summary as comment\nSUMMARY=$(echo \"$PROGRESS\" | jq -r '\n\"## 📊 Progress Update\n\n**Completion**: \\(.completion)%\n**ETA**: \\(.eta)\n\n### Completed Tasks\n\\(.completed | map(\"- ✅ \" + .) | join(\"\\n\"))\n\n### In Progress\n\\(.in_progress | map(\"- 🔄 \" + .) | join(\"\\n\"))\n\n### Remaining\n\\(.remaining | map(\"- ⏳ \" + .) | join(\"\\n\"))\n\n---\n🤖 Automated update by swarm agent\"')\n\ngh issue comment 456 --body \"$SUMMARY\"\n\n# Update labels based on progress\nif [[ $(echo \"$PROGRESS\" | jq -r '.completion') -eq 100 ]]; then\n  gh issue edit 456 --add-label \"ready-for-review\" --remove-label \"in-progress\"\nfi\n```\n\n## Advanced Features\n\n### 1. Issue Dependencies\n```bash\n# Handle issue dependencies\nnpx ruv-swarm github issue-deps 456 \\\n  --resolve-order \\\n  --parallel-safe \\\n  --update-blocking\n```\n\n### 2. Epic Management\n```bash\n# Coordinate epic-level swarms\nnpx ruv-swarm github epic-swarm \\\n  --epic 123 \\\n  --child-issues \"456,457,458\" \\\n  --orchestrate\n```\n\n### 3. Issue Templates\n```bash\n# Generate issue from swarm analysis\nnpx ruv-swarm github create-issues \\\n  --from-analysis \\\n  --template \"bug-report\" \\\n  --auto-assign\n```\n\n## Workflow Integration\n\n### GitHub Actions for Issues\n```yaml\n# .github$workflows$issue-swarm.yml\nname: Issue Swarm Handler\non:\n  issues:\n    types: [opened, labeled, commented]\n\njobs:\n  swarm-process:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Process Issue\n        uses: ruvnet$swarm-action@v1\n        with:\n          command: |\n            if [[ \"${{ github.event.label.name }}\" == \"swarm-ready\" ]]; then\n              npx ruv-swarm github issue-init ${{ github.event.issue.number }}\n            fi\n```\n\n### Issue Board Integration\n```bash\n# Sync with project board\nnpx ruv-swarm github issue-board-sync \\\n  --project \"Development\" \\\n  --column-mapping '{\n    \"To Do\": \"pending\",\n    \"In Progress\": \"active\",\n    \"Done\": \"completed\"\n  }'\n```\n\n## Issue Types & Strategies\n\n### Bug Reports\n```bash\n# Specialized bug handling\nnpx ruv-swarm github bug-swarm 456 \\\n  --reproduce \\\n  --isolate \\\n  --fix \\\n  --test\n```\n\n### Feature Requests\n```bash\n# Feature implementation swarm\nnpx ruv-swarm github feature-swarm 456 \\\n  --design \\\n  --implement \\\n  --document \\\n  --demo\n```\n\n### Technical Debt\n```bash\n# Refactoring swarm\nnpx ruv-swarm github debt-swarm 456 \\\n  --analyze-impact \\\n  --plan-migration \\\n  --execute \\\n  --validate\n```\n\n## Automation Examples\n\n### Auto-Close Stale Issues\n```bash\n# Process stale issues with swarm using gh CLI\n# Find stale issues\nSTALE_DATE=$(date -d '30 days ago' --iso-8601)\nSTALE_ISSUES=$(gh issue list --state open --json number,title,updatedAt,labels \\\n  --jq \".[] | select(.updatedAt \u003C \\\"$STALE_DATE\\\")\")\n\n# Analyze each stale issue\necho \"$STALE_ISSUES\" | jq -r '.number' | while read -r num; do\n  # Get full issue context\n  ISSUE=$(gh issue view $num --json title,body,comments,labels)\n  \n  # Analyze with swarm\n  ACTION=$(npx ruv-swarm github analyze-stale \\\n    --issue \"$ISSUE\" \\\n    --suggest-action)\n  \n  case \"$ACTION\" in\n    \"close\")\n      # Add stale label and warning comment\n      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.\"\n      gh issue edit $num --add-label \"stale\"\n      ;;\n    \"keep\")\n      # Remove stale label if present\n      gh issue edit $num --remove-label \"stale\" 2>$dev$null || true\n      ;;\n    \"needs-info\")\n      # Request more information\n      gh issue comment $num --body \"This issue needs more information. Please provide additional context or it may be closed as stale.\"\n      gh issue edit $num --add-label \"needs-info\"\n      ;;\n  esac\ndone\n\n# Close issues that have been stale for 37+ days\ngh issue list --label stale --state open --json number,updatedAt \\\n  --jq \".[] | select(.updatedAt \u003C \\\"$(date -d '37 days ago' --iso-8601)\\\") | .number\" | \\\n  while read -r num; do\n    gh issue close $num --comment \"Closing due to inactivity. Feel free to reopen if this is still relevant.\"\n  done\n```\n\n### Issue Triage\n```bash\n# Automated triage system\nnpx ruv-swarm github triage \\\n  --unlabeled \\\n  --analyze-content \\\n  --suggest-labels \\\n  --assign-priority\n```\n\n### Duplicate Detection\n```bash\n# Find duplicate issues\nnpx ruv-swarm github find-duplicates \\\n  --threshold 0.8 \\\n  --link-related \\\n  --close-duplicates\n```\n\n## Integration Patterns\n\n### 1. Issue-PR Linking\n```bash\n# Link issues to PRs automatically\nnpx ruv-swarm github link-pr \\\n  --issue 456 \\\n  --pr 789 \\\n  --update-both\n```\n\n### 2. Milestone Coordination\n```bash\n# Coordinate milestone swarms\nnpx ruv-swarm github milestone-swarm \\\n  --milestone \"v2.0\" \\\n  --parallel-issues \\\n  --track-progress\n```\n\n### 3. Cross-Repo Issues\n```bash\n# Handle issues across repositories\nnpx ruv-swarm github cross-repo \\\n  --issue \"org$repo#456\" \\\n  --related \"org$other-repo#123\" \\\n  --coordinate\n```\n\n## Metrics & Analytics\n\n### Issue Resolution Time\n```bash\n# Analyze swarm performance\nnpx ruv-swarm github issue-metrics \\\n  --issue 456 \\\n  --metrics \"time-to-close,agent-efficiency,subtask-completion\"\n```\n\n### Swarm Effectiveness\n```bash\n# Generate effectiveness report\nnpx ruv-swarm github effectiveness \\\n  --issues \"closed:>2024-01-01\" \\\n  --compare \"with-swarm,without-swarm\"\n```\n\n## Best Practices\n\n### 1. Issue Templates\n- Include swarm configuration options\n- Provide task breakdown structure\n- Set clear acceptance criteria\n- Include complexity estimates\n\n### 2. Label Strategy\n- Use consistent swarm-related labels\n- Map labels to agent types\n- Priority indicators for swarm\n- Status tracking labels\n\n### 3. Comment Etiquette\n- Clear command syntax\n- Progress updates in threads\n- Summary comments for decisions\n- Link to relevant PRs\n\n## Security & Permissions\n\n1. **Command Authorization**: Validate user permissions before executing commands\n2. **Rate Limiting**: Prevent spam and abuse of issue commands\n3. **Audit Logging**: Track all swarm operations on issues\n4. **Data Privacy**: Respect private repository settings\n\n## Examples\n\n### Complex Bug Investigation\n```bash\n# Issue #789: Memory leak in production\nnpx ruv-swarm github issue-init 789 \\\n  --topology hierarchical \\\n  --agents \"debugger,analyst,tester,monitor\" \\\n  --priority critical \\\n  --reproduce-steps\n```\n\n### Feature Implementation\n```bash\n# Issue #234: Add OAuth integration\nnpx ruv-swarm github issue-init 234 \\\n  --topology mesh \\\n  --agents \"architect,coder,security,tester\" \\\n  --create-design-doc \\\n  --estimate-effort\n```\n\n### Documentation Update\n```bash\n# Issue #567: Update API documentation\nnpx ruv-swarm github issue-init 567 \\\n  --topology ring \\\n  --agents \"researcher,writer,reviewer\" \\\n  --check-links \\\n  --validate-examples\n```\n\n## Swarm Coordination Features\n\n### Multi-Agent Issue Processing\n```bash\n# Initialize issue-specific swarm with optimal topology\nmcp__claude-flow__swarm_init { topology: \"hierarchical\", maxAgents: 8 }\nmcp__claude-flow__agent_spawn { type: \"coordinator\", name: \"Issue Coordinator\" }\nmcp__claude-flow__agent_spawn { type: \"analyst\", name: \"Issue Analyzer\" }\nmcp__claude-flow__agent_spawn { type: \"coder\", name: \"Solution Developer\" }\nmcp__claude-flow__agent_spawn { type: \"tester\", name: \"Validation Engineer\" }\n\n# Store issue context in swarm memory\nmcp__claude-flow__memory_usage {\n  action: \"store\",\n  key: \"issue\u002F#{issue_number}$context\",\n  value: { title: \"issue_title\", labels: [\"labels\"], complexity: \"high\" }\n}\n\n# Orchestrate issue resolution workflow\nmcp__claude-flow__task_orchestrate {\n  task: \"Coordinate multi-agent issue resolution with progress tracking\",\n  strategy: \"adaptive\",\n  priority: \"high\"\n}\n```\n\n### Automated Swarm Hooks Integration\n```javascript\n\u002F\u002F Pre-hook: Issue Analysis and Swarm Setup\nconst preHook = async (issue) => {\n  \u002F\u002F Initialize swarm with issue-specific topology\n  const topology = determineTopology(issue.complexity);\n  await mcp__claude_flow__swarm_init({ topology, maxAgents: 6 });\n  \n  \u002F\u002F Store issue context for swarm agents\n  await mcp__claude_flow__memory_usage({\n    action: \"store\",\n    key: `issue\u002F${issue.number}$metadata`,\n    value: { issue, analysis: await analyzeIssue(issue) }\n  });\n};\n\n\u002F\u002F Post-hook: Progress Updates and Coordination\nconst postHook = async (results) => {\n  \u002F\u002F Update issue with swarm progress\n  await updateIssueProgress(results);\n  \n  \u002F\u002F Generate follow-up tasks\n  await createFollowupTasks(results.remainingWork);\n  \n  \u002F\u002F Store completion metrics\n  await mcp__claude_flow__memory_usage({\n    action: \"store\", \n    key: `issue\u002F${issue.number}$completion`,\n    value: { metrics: results.metrics, timestamp: Date.now() }\n  });\n};\n```\n\nSee also: [swarm-pr.md](.$swarm-pr.md), [sync-coordinator.md](.$sync-coordinator.md), [workflow-automation.md](.$workflow-automation.md)",{"name":5,"description":7},"master","4aa004da461d820f4ea5499e58eb8d196cf99016","community\u002Fskills_sh\u002Fs\u002Fskills-sh_ruvnet_ruflo_agent-swarm-issue",0,"https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge","https:\u002F\u002Fskill-explorer-rho.vercel.app","https:\u002F\u002Fgithub.com\u002FLord1Egypt","Unbreakable. Unstoppable. Unmatched⚡.\r\n Speaker of machine tongues 🤖  | World-builder of decentralized dreams 🌐 | Defender of the digital realm🛡️.","2026-06-10 08:21:01",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add Lord1Egypt\u002Fawesome-skill-forge --skill agent-swarm-issue",{"tool":39,"command":40},"bunx","bunx skills add Lord1Egypt\u002Fawesome-skill-forge --skill agent-swarm-issue",{"tool":42,"command":43},"pnpm","pnpm dlx skills add Lord1Egypt\u002Fawesome-skill-forge --skill agent-swarm-issue","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fskills_sh\u002Fs\u002Fskills-sh_ruvnet_ruflo_agent-swarm-issue\u002FSKILL.md",true,[],[48,55,62,69,76,83],{"skillNo":49,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":19},"01M785WKJB99G3STR1NF9NRTJW","youtube-content","YouTube transcripts to summaries, threads, blogs.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fyoutube-content\u002FSKILL.md",[],[],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":19},"01M785WEFHB0G2S9YA6EPR3H0E","xurl","X\u002FTwitter via xurl CLI: post, search, DM, media, v2 API.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fxurl\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":19},"01M785W98EDN4EFJXJPMQEHCRC","touchdesigner-mcp","Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftouchdesigner-mcp\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":19},"01M785W5S9FP3QBH2V191E025P","test-driven-development","TDD: enforce RED-GREEN-REFACTOR, tests before code.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftest-driven-development\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M785W2AS08NSSH9YATCV6FJB","teams-meeting-pipeline","Operate the Teams meeting summary pipeline via Hermes CLI — summarize meetings, inspect pipeline status, replay jobs, manage Microsoft Graph subscriptions.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fteams-meeting-pipeline\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M785VXKW4T34BTP1SCHW1R7F","systematic-debugging","4-phase root cause debugging: understand bugs before fixing.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fsystematic-debugging\u002FSKILL.md",[],[]]