AgentSkillsCN

do-issue

通过命名、检查点设置与恢复策略,管理 Claude Code 会话。当您需要组织长时间运行的工作、创建调试检查点,或管理 PR 评审时,可优先选用此技能。

SKILL.md
--- frontmatter
name: do-issue
description: 'Uses subagents for parallel execution with code review gates between
  batches. Use when addressing GitHub issues systematically, multiple related issues
  need fixing, tasks can be parallelized across subagents, quality gates needed between
  task batches. Do not use when single simple fix - just implement directly. DO NOT
  use when: issue needs clarification - comment first to clarify scope.'
category: workflow-automation
tags:
- github
- issues
- subagents
- parallel
- automation
dependencies:
- superpowers:subagent-driven-development
- superpowers:writing-plans
- superpowers:test-driven-development
- superpowers:requesting-code-review
- superpowers:finishing-a-development-branch
tools:
- gh (GitHub CLI)
- Task (subagent dispatch)
usage_patterns:
- issue-discovery
- task-planning
- parallel-execution
- quality-gates
complexity: advanced
estimated_tokens: 2500
modules:
- modules/issue-discovery.md
- modules/task-planning.md
- modules/parallel-execution.md
- modules/quality-gates.md
- modules/completion.md
- modules/troubleshooting.md
version: 1.4.0

Table of Contents

Fix GitHub Issue(s)

Retrieves GitHub issue content and uses subagent-driven-development to systematically address requirements, executing tasks in parallel where dependencies allow.

Key Features

  • Flexible Input: Single issue number, GitHub URL, or space-delimited list
  • Parallel Execution: Independent tasks run concurrently via subagents
  • Quality Gates: Code review between task groups
  • Fresh Context: Each subagent starts with clean context for focused work

Workflow Overview

PhaseDescriptionModule
1. DiscoveryParse input, fetch issues, extract requirementsissue-discovery
2. PlanningAnalyze dependencies, create task breakdowntask-planning
3. ExecutionDispatch parallel subagents for independent tasksparallel-execution
4. QualityCode review gates between task batchesquality-gates
5-6. CompletionSequential tasks, final review, issue updatescompletion

Required TodoWrite Items

  1. do-issue:discovery-complete
  2. do-issue:tasks-planned
  3. do-issue:parallel-batch-complete
  4. do-issue:review-passed
  5. do-issue:sequential-complete
  6. do-issue:issues-updated

GitHub CLI Commands

bash
# Fetch issue details
gh issue view <number> --json title,body,labels,comments

# Add completion comment
gh issue comment <number> --body "message"

# Close issue
gh issue close <number> --comment "reason"

Verification: Run the command with --help flag to verify availability.

Configuration

yaml
fix_issue:
  parallel_execution: true
  max_parallel_subagents: 3
  review_between_batches: true
  auto_close_issues: false
  commit_per_task: true

Verification: Run the command with --help flag to verify availability.

Detailed Resources