Issue Fix
Purpose
Provide a consistent workflow to fix a single GitHub issue URL for this repo.
Inputs
- Required:
ISSUE_URL: <url>
Steps
- Fetch the issue and read it fully.
- Summarize intent, acceptance criteria, and constraints.
- Scan the repo for impacted files, tests, and workflows. Use the explore subagent if helpful.
- Create a plan file at
$OPENCODE_CONFIG_DIR/plans/issue-<id>-<slug>.md. - Implement the fix in the repo.
- Run relevant checks or tests (follow project instructions for tooling).
- Summarize changes, files touched, and test results.
- If the user asked for a commit or PR, follow git conventions and include
Closes #<id>in the PR body. If not requested, ask for the next step.
Output
- Summary of the fix and rationale
- File list
- Tests or checks run
- Next steps