Adds step 8 to spawn the code-reviewer agent in background after PR creation. The agent will review the PR diff and post feedback as a comment. Closes #11 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
16 lines
717 B
Markdown
16 lines
717 B
Markdown
---
|
|
description: Work on a Forgejo issue. Fetches issue details and sets up branch for implementation.
|
|
argument-hint: <issue-number>
|
|
---
|
|
|
|
# Work on Issue #$1
|
|
|
|
1. **View the issue**: `fj issue view $1`
|
|
2. **Create a branch**: `git checkout -b issue-$1-<short-kebab-title>`
|
|
3. **Plan**: Use TodoWrite to break down the work based on acceptance criteria
|
|
4. **Implement** the changes
|
|
5. **Commit** with message referencing the issue
|
|
6. **Push**: `git push -u origin <branch>`
|
|
7. **Create PR**: `fj pr create "[Issue #$1] <title>" --body "Closes #$1"`
|
|
8. **Auto-review**: Inform the user that auto-review is starting, then spawn the `code-reviewer` agent in background (using `run_in_background: true`) with the PR number
|