Batch Issue Fix
Purpose
Handle a list of issue URLs by triaging them in parallel and fixing them in a consistent order.
Inputs
- •Required:
code
ISSUE_URLS: - https://github.com/ORG/REPO/issues/123 - https://github.com/ORG/REPO/issues/456
Steps
- •Parse
ISSUE_URLSfrom the user message in the given order. - •For each URL, spawn a subagent to read the issue, identify likely files, and suggest tests.
- •Create a batch plan file at
$OPENCODE_CONFIG_DIR/plans/batch-issues-YYYYMMDD.mdwith:- •Ordered issue list
- •Dependencies or conflicts
- •Planned per-issue plan file names
- •Suggested test matrix
- •For each issue in order, follow the issue-fix workflow:
- •Create the per-issue plan file at
$OPENCODE_CONFIG_DIR/plans/issue-<id>-<slug>.md - •Implement and test
- •Summarize progress before moving on
- •Create the per-issue plan file at
- •If the user requested commits or PRs, follow git conventions per issue. Create PRs automatically when requested, and include
Closes #<id>in each PR body. Otherwise, ask before committing.
Output
- •Combined triage report
- •Batch plan file path
- •Per-issue status updates