Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ---
- description: Analyze and fix a GitHub issue
- argument-hint: [PR number]
- allowed-tools: Bash
- ---
- Please analyze and fix the GitHub issue: $1.
- Follow these steps:
- 1. Ensure that the `gh` command is authenticated. Else run `gh auth login`.
- 2. Use `gh issue view $1` to view the issue details and comments.
- 3. Use `gh issue view <number>` and `gh pr view $1` for any issues or pull requests referenced in the issue or comments.
- 4. Understand the issue and relevant other issues or pull requests.
- 5. Act as a senior software engineer to architect and code a fix for the issue. It may be fixing a bug, adding a new feature, etc.
- 5. Start by creating a plan on how you would implement the feature and work iteratively with the user to finalize it before making any changes.
- 6. Once the plan has been finalized, work iteratively with the user to make changes until they say it looks good.
- 7. Answer any questions by providing a pragmatic response without being overly agreeable.
- Remember to use the GitHub CLI (`gh`) for all GitHub-related tasks.
- # User Context
- $ARGUMENTS
Advertisement