You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| `repo-owner` | Owner of the repository (for issue-fix mode) | Yes*** | |
106
+
| `repo-name` | Name of the repository (for issue-fix mode) | Yes*** | |
107
+
| `branch-prefix` | Prefix for the feature branch created for issue fixes | No | `fix` |
103
108
| `strict-mode` | Whether to strictly follow user requests without adding unrelated improvements | No | `true` |
104
109
| `anthropic-api-key` | Anthropic API key | Yes | |
105
110
| `github-token` | GitHub token | Yes | |
106
111
| `output-file` | Output file path (for direct mode) | No | `claude-code-output` |
107
112
108
113
\* Required when mode is 'review' or 'suggest'
109
-
\** Required when mode is 'suggest-review'
114
+
\** Required when mode is 'suggest-review'
115
+
\*** Required when mode is 'issue-fix'
110
116
111
117
## Enhanced Context for Claude
112
118
113
-
With version 0.2.2, Claude now receives complete context for your PRs, including:
119
+
With version 0.3.0, Claude now receives complete context for your PRs and issues, including:
114
120
115
121
- PR metadata (title, description, branch info)
116
-
- List of all files changed
117
-
- Complete diff of all changes in the PR
118
-
- Repository information
119
-
- Full repository checkout for improved code understanding
122
+
- Issue details (title, description, labels)
123
+
- List of all files changed in PRs
124
+
- Complete diff of all changes in PRs
125
+
- Repository information (name, description, languages)
126
+
- Full repository checkout for improved code understanding and analysis
120
127
121
128
## Available Modes
122
129
@@ -134,6 +141,16 @@ Creates true GitHub-compatible suggestions that can be applied with one click di
134
141
135
142
By default, this mode uses "strict mode" which ensures Claude only makes changes specifically related to what was requested, without adding unrelated improvements. You can disable strict mode by setting `strict-mode: 'false'` to allow Claude to suggest additional improvements.
136
143
144
+
### Issue Fix Mode (`mode: 'issue-fix'`)
145
+
146
+
Analyzes GitHub issues labeled with "claude-fix" and automatically creates a PR with proposed fixes. This mode:
147
+
- Analyzes the issue description to understand the problem
148
+
- Identifies affected files in the codebase
149
+
- Implements code changes to fix the issue
150
+
- Creates a branch with the changes
151
+
- Opens a PR with detailed explanation
152
+
- Comments on the original issue with a link to the PR
153
+
137
154
### Direct Mode (`mode: 'direct'`)
138
155
139
156
Sends a query directly to Claude and saves the response to a file without PR context.
@@ -183,6 +200,55 @@ permissions:
183
200
issues: write
184
201
```
185
202
203
+
## Issue Fix Workflow
204
+
205
+
Create a workflow file (`.github/workflows/claude-issue-fix.yml`) that responds to issues labeled with "claude-fix":
This workflow is triggered when an issue is labeled with "claude-fix". Only repo maintainers with write access can add this label, providing security control.
0 commit comments