协作头脑风暴
brainstorming
在实现前澄清需求、探索设计选择,并形成清晰的开发方向。
skill-090【开发与工程】Autonomous issue management - fetches open GitHub issues, analyzes priorities, detects dependencies, spawns parallel subagents, and verifies results. Triggers: /run-issues, autonomous issues, batch issues, parallel issue processing.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Autonomous workflow for processing multiple GitHub issues in parallel with priority-based scheduling and verification.
This skill orchestrates the complete lifecycle of issue processing:
Use this skill when:
/run-issuesIMPORTANT: Before starting, check if AWK principal workflow is active.
# Check for active AWK workflow
if [ -f ".ai/state/kickoff.lock" ]; then
echo "⚠️ WARNING: AWK principal workflow is active"
fi
If .ai/state/kickoff.lock exists:
⚠️ AWK principal workflow 正在執行中。
同時執行 /run-issues 可能導致:
- 同一 issue 被重複處理
- 產生重複的 branch 或 PR
- Merge conflicts
建議:等待 AWK workflow 完成後再執行。
確定要繼續嗎?(yes/no)
If lock file does not exist, proceed to Phase 1.
gh issue list --state open --json number,title,body,labels,assignees --limit 50
Parse the JSON output to get all open issues.
Read phases/analyze.md for detailed priority analysis rules.
For each issue:
Read phases/parallelize.md for parallelization strategy.
For each batch of independent issues:
Spawn subagents using Task tool:
Task tool parameters:
- subagent_type: general-purpose
- description: "Work on Issue #<number>: <title>"
- prompt: |
Complete Issue #<number>. Requirements: <body excerpt>.
CRITICAL - Follow .ai/rules/_kit/git-workflow.md strictly:
Commit format:
- Format: [type] subject
- Subject MUST be lowercase (e.g., "add feature" not "Add feature")
- NO colon after bracket
- Valid types: feat, fix, docs, style, refactor, perf, test, chore
Examples:
✅ [docs] update api reference
✅ [feat] add user authentication
❌ [Docs] Update API reference (uppercase = WRONG)
❌ docs: update api reference (colon = WRONG)
PR requirements:
- PR body MUST include: Closes #<number>
- PR target: develop branch (or as specified)
Wait for all subagents in batch to complete
Move to next batch (respecting dependencies)
Read phases/verify.md for verification checklist.
For each completed issue:
Generate summary table:
| Issue | Title | Priority | Status | PR | Notes |
|-------|-------|----------|--------|-----|-------|
| #123 | Fix bug | P0 | Completed | #456 | Tests pass |
| #124 | Add feature | P1 | Completed | #457 | Ready for review |
| #125 | Update docs | P2 | Failed | - | Test failures |
On each phase entry, output:
[RUN-ISSUES] <timestamp> | <phase> | loaded: <filename>
⚠️ WARNING: Do NOT run /run-issues and awkit kickoff simultaneously.
This skill processes GitHub issues independently of AWK's spec-driven workflow.
tasks.md specs → awkit dispatch-workerRecommended workflow:
/create-issues → issues created
↓
Choose ONE:
├─ awkit kickoff (structured, spec-driven)
└─ /run-issues (autonomous, batch processing) ← this skill
| Phase | Action | File |
|---|---|---|
| Pre-Flight | Check AWK workflow not active | (inline) |
| Analyze | Determine priorities and dependencies | phases/analyze.md |
| Parallelize | Plan execution batches | phases/parallelize.md |
| Verify | Check completed work | phases/verify.md |