Skip to content

Commit 2b3c3fc

Browse files
committed
chore(qol): first draft of fix-github-issue Claude command - mostly copied from the Anthropic site
1 parent 105938f commit 2b3c3fc

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.claude/commands/fix-github-issue.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
Please analyze and fix the GitHub issue: $ARGUMENTS.
2+
3+
Follow these steps:
4+
5+
1. Use `gh issue view` to get the issue details
6+
2. Understand the problem described in the issue
7+
3. Search the codebase for relevant files, using your knowledge of the project structure and the issue description
8+
4. Implement the necessary changes to fix the issue
9+
5. Write and run tests (store in `tests/` directory) to verify the fix
10+
6. Create a descriptive commit message
11+
7. Ensure code passes linting and type checking
12+
8. Push
13+
9. Ensure code passes pre-push tests
14+
10. Create a PR
15+
16+
Remember to use the GitHub CLI (`gh`) for all GitHub-related tasks.

0 commit comments

Comments
 (0)