From 53fa27bfbda142d785a8cf7df2a4bab05e5056a0 Mon Sep 17 00:00:00 2001 From: JacobPEvans <20714140+JacobPEvans@users.noreply.github.com> Date: Wed, 18 Feb 2026 02:32:13 -0500 Subject: [PATCH 1/2] chore(codeql-resolver): reference superpowers:dispatching-parallel-agents Replace inline subagent-batching skill reference with the upstream superpowers:dispatching-parallel-agents skill for parallel execution patterns. Co-Authored-By: Claude Sonnet 4.6 --- codeql-resolver/commands/resolve-codeql.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codeql-resolver/commands/resolve-codeql.md b/codeql-resolver/commands/resolve-codeql.md index 9771d79..2361a2f 100644 --- a/codeql-resolver/commands/resolve-codeql.md +++ b/codeql-resolver/commands/resolve-codeql.md @@ -72,7 +72,7 @@ Other alerts (0-N) └─> Batch 1 (max 5) → codeql-generic-resolver agent ``` -Use `subagent-batching` skill for parallel execution (max 5 agents concurrent). +Invoke `superpowers:dispatching-parallel-agents` for parallel execution patterns. Each agent receives: - Alert numbers (array) From df76ca7a9d94ac64022fbd89e9d3ddba26c87522 Mon Sep 17 00:00:00 2001 From: JacobPEvans <20714140+JacobPEvans@users.noreply.github.com> Date: Wed, 18 Feb 2026 02:46:10 -0500 Subject: [PATCH 2/2] chore: add superpowers:dispatching-parallel-agents references across skills Skills that trigger parallel agent dispatch now invoke the superpowers skill for focused agent prompt structure, common mistakes, and verification patterns. - resolve-pr-threads: thread group + comment group parallel dispatch - finalize-pr: parallel fixes in resolution loop - sync-main: parallel PR-behind checks - auto-maintain: DISPATCH step in core loop - orchestrate-infra: parallel Ansible phase dispatch Co-Authored-By: Claude Sonnet 4.6 --- ai-delegation/skills/auto-maintain/SKILL.md | 2 +- git-workflows/skills/sync-main/SKILL.md | 2 +- github-workflows/skills/finalize-pr/SKILL.md | 2 +- github-workflows/skills/resolve-pr-threads/SKILL.md | 3 ++- infra-orchestration/skills/orchestrate-infra/SKILL.md | 2 +- 5 files changed, 6 insertions(+), 5 deletions(-) diff --git a/ai-delegation/skills/auto-maintain/SKILL.md b/ai-delegation/skills/auto-maintain/SKILL.md index 76487d0..f4f3565 100644 --- a/ai-delegation/skills/auto-maintain/SKILL.md +++ b/ai-delegation/skills/auto-maintain/SKILL.md @@ -34,7 +34,7 @@ gh pr list --author @me --state open --json number | jq length 4. PRs ready to merge (/git-refresh) - Report readiness, do NOT merge --- BLOCKED IN PR-FOCUS MODE --- 5-10. Bugs, issues, code analysis, docs, tests, deps -3. DISPATCH - Use subagents (parallel in PR-focus, sequential otherwise) +3. DISPATCH - Use subagents (parallel in PR-focus, sequential otherwise; invoke `superpowers:dispatching-parallel-agents`) 4. AWAIT completion 5. CAPTURE results, emit JSON events 6. LOOP to step 0 diff --git a/git-workflows/skills/sync-main/SKILL.md b/git-workflows/skills/sync-main/SKILL.md index 4ba8fb4..7ad6f4f 100644 --- a/git-workflows/skills/sync-main/SKILL.md +++ b/git-workflows/skills/sync-main/SKILL.md @@ -44,7 +44,7 @@ Report sync status for all open PR branches. 1. **Get repo**: `gh repo view --json nameWithOwner` 2. **Update main**: CRITICAL - must happen first 3. **List open PRs**: `gh pr list --state open --json number,headRefName,title` -4. **Check each PR**: Launch subagents in parallel. Each checks if behind main. Do NOT merge or push. +4. **Check each PR**: Launch subagents in parallel (invoke `superpowers:dispatching-parallel-agents`). Each checks if behind main. Do NOT merge or push. 5. **Report**: repo, main SHA, merge-readiness for each PR (current/behind/conflict) 6. **Prompt user**: Ask which PRs should be synced with main 7. **Sync only confirmed**: Only merge confirmed branches after user approval diff --git a/github-workflows/skills/finalize-pr/SKILL.md b/github-workflows/skills/finalize-pr/SKILL.md index dba8eb7..f2b444e 100644 --- a/github-workflows/skills/finalize-pr/SKILL.md +++ b/github-workflows/skills/finalize-pr/SKILL.md @@ -56,7 +56,7 @@ background task's output after completing other fixes in 2.2. ### 2.2 Parallel Fixes Run these checks simultaneously. Launch independent fixes in parallel via -Task agents when they touch different files. +Task agents when they touch different files. Invoke `superpowers:dispatching-parallel-agents` for dispatch patterns. #### CodeQL Violations diff --git a/github-workflows/skills/resolve-pr-threads/SKILL.md b/github-workflows/skills/resolve-pr-threads/SKILL.md index ff49da9..c4da7a5 100644 --- a/github-workflows/skills/resolve-pr-threads/SKILL.md +++ b/github-workflows/skills/resolve-pr-threads/SKILL.md @@ -222,7 +222,8 @@ PRRT_xxx: needs-human [reason] Commit changes but DO NOT push. ``` -**Launch groups in parallel** - use a single message with multiple Task calls. +**Launch groups in parallel** - use a single message with multiple Task calls. Invoke +`superpowers:dispatching-parallel-agents` for agent prompt structure and verification. Sub-agents commit their own changes but do NOT push. diff --git a/infra-orchestration/skills/orchestrate-infra/SKILL.md b/infra-orchestration/skills/orchestrate-infra/SKILL.md index 469e473..e504169 100644 --- a/infra-orchestration/skills/orchestrate-infra/SKILL.md +++ b/infra-orchestration/skills/orchestrate-infra/SKILL.md @@ -42,7 +42,7 @@ Full pipeline validation: validate, plan, export inventory, syntax-check, check, 1. **Resolve repo paths**: All repos at `~/git//main/` 2. **Dispatch Terraform phase**: Launch subagent for terraform-proxmox operations 3. **Await completion**: Terraform must complete before Ansible phases -4. **Dispatch Ansible phases**: Launch parallel subagents for independent Ansible repos +4. **Dispatch Ansible phases**: Launch parallel subagents for independent Ansible repos (invoke `superpowers:dispatching-parallel-agents`) 5. **Collect results**: Aggregate success/failure from all subagents 6. **Report**: Summary with per-repo status