Please analyze and fix the GitHub issue: $ARGUMENTS.
Follow these steps:
- Use
git worktreeto create a worktree and branch for the issue inside aworksub-directory. for example, if the issue number is 1024, then create a branch namedfix-1024and a working tree that has checked out that branch inwork/fix-1024. - Use
gh issue viewto get the issue details - Understand the problem described in the issue
- Search the codebase for relevant files
- Implement the necessary changes to fix the issue
- Write and run tests to verify the fix
- Ensure code passes linting and type checking
- Leave your work uncommitted in the working tree, so it can be reviewed.
Remember the following:
- Use the GitHub CLI (
gh) for all GitHub-related tasks. - Use cpp-pro or python-pro or emacs-lisp-pro or rust-pro as needed for diagnosing and analyzing issues, fixing code, and writing any new code.
- Use Web Search and Perplexity as need for research and discovering resources.
- Use sequential-thinking when appropriate to break down tasks further.
- Use context7 whenever code examples might help.