Skip to content

New skill: batch-issues — parallel worktree-isolated issue processor #3

@nelsonlove

Description

@nelsonlove

Skill idea

A /batch-issues skill that automates the PR-per-issue workflow:

  1. Read open GitHub issues via gh issue list --json
  2. Analyze file overlap to find independent issues (no two touch the same files)
  3. Select up to N issues (configurable, default 5)
  4. For each, spawn a subagent in a dedicated git worktree
  5. Each agent: implements fix with tests, runs test suite, opens PR
  6. Coordinate so no two agents touch the same files
  7. Output a dashboard: PRs opened, test results, skipped issues

Why

This is exactly what was done manually across a 5-day jd-tools session (10 PRs, 35 issues). Automating it into a skill makes it repeatable across any repo with a populated issue tracker.

Design considerations

  • Needs gh CLI for issue reading and PR creation
  • Worktree isolation prevents agent conflicts
  • File overlap analysis could use grep on issue bodies for file references, or a simpler heuristic (issues with different labels don't overlap)
  • Should support --dry-run to preview which issues would be selected
  • Dashboard output should work in both terminal and --json mode

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions