surshar / claude-code
Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.
Built by Anthropic · github.com/anthropics
| 1 | name: 🐛 Bug Report |
| 2 | description: Report a bug or unexpected behavior in Claude Code |
| 3 | title: "[BUG] " |
| 4 | labels: |
| 5 | - bug |
| 6 | body: |
| 7 | - type: markdown |
| 8 | attributes: |
| 9 | value: | |
| 10 | Thanks for taking the time to report this bug! Please fill out the sections below to help us understand and fix the issue. |
| 11 | |
| 12 | Before submitting, please check: |
| 13 | - You're using the [latest version](https://www.npmjs.com/package/@anthropic-ai/claude-code?activeTab=versions) of Claude Code (`claude --version`) |
| 14 | - This issue hasn't already been reported by searching [existing issues](https://github.com/anthropics/claude-code/issues?q=is%3Aissue%20state%3Aopen%20label%3Abug). |
| 15 | - This is a bug, not a feature request or support question |
| 16 | |
| 17 | - type: checkboxes |
| 18 | id: preflight |
| 19 | attributes: |
| 20 | label: Preflight Checklist |
| 21 | description: Please confirm before submitting |
| 22 | options: |
| 23 | - label: I have searched [existing issues](https://github.com/anthropics/claude-code/issues?q=is%3Aissue%20state%3Aopen%20label%3Abug) and this hasn't been reported yet |
| 24 | required: true |
| 25 | - label: This is a single bug report (please file separate reports for different bugs) |
| 26 | required: true |
| 27 | - label: I am using the latest version of Claude Code |
| 28 | required: true |
| 29 | |
| 30 | - type: textarea |
| 31 | id: actual |
| 32 | attributes: |
| 33 | label: What's Wrong? |
| 34 | description: Describe what's happening that shouldn't be |
| 35 | placeholder: | |
| 36 | When I try to create a Python file, Claude shows an error "EACCES: permission denied" and the file isn't created. |
| 37 | |
| 38 | The command fails immediately after accepting the file write permission... |
| 39 | validations: |
| 40 | required: true |
| 41 | |
| 42 | - type: textarea |
| 43 | id: expected |
| 44 | attributes: |
| 45 | label: What Should Happen? |
| 46 | description: Describe the expected behavior |
| 47 | placeholder: Claude should create a Python script file successfully without errors |
| 48 | validations: |
| 49 | required: true |
| 50 | |
| 51 | - type: textarea |
| 52 | id: error_output |
| 53 | attributes: |
| 54 | label: Error Messages/Logs |
| 55 | description: If you see any error messages, paste them here |
| 56 | placeholder: | |
| 57 | Paste any error output, stack traces, or relevant logs here. |
| 58 | This will be automatically formatted as code. |
| 59 | render: shell |
| 60 | validations: |
| 61 | required: false |
| 62 | |
| 63 | - type: textarea |
| 64 | id: reproduction |
| 65 | attributes: |
| 66 | label: Steps to Reproduce |
| 67 | description: | |
| 68 | Please provide clear, numbered steps that anyone can follow to reproduce the issue. |
| 69 | **Important**: Include any necessary code, file contents, or context needed to reproduce the bug. |
| 70 | If the issue involves specific files or code, please create a minimal example. |
| 71 | placeholder: | |
| 72 | 1. Create a file `test.py` with this content: |
| 73 | ```python |
| 74 | def hello(): |
| 75 | print("test") |
| 76 | ``` |
| 77 | 2. Run `claude "add type hints to test.py"` |
| 78 | 3. When prompted for file access, accept |
| 79 | 4. Error appears: "Unable to parse..." |
| 80 | |
| 81 | Note: The bug only happens with Python files containing... |
| 82 | validations: |
| 83 | required: true |
| 84 | |
| 85 | - type: dropdown |
| 86 | id: model |
| 87 | attributes: |
| 88 | label: Claude Model |
| 89 | description: Which model were you using? (Run `/model` to check) |
| 90 | options: |
| 91 | - Sonnet (default) |
| 92 | - Opus |
| 93 | - Not sure / Multiple models |
| 94 | - Other |
| 95 | validations: |
| 96 | required: false |
| 97 | |
| 98 | - type: dropdown |
| 99 | id: regression |
| 100 | attributes: |
| 101 | label: Is this a regression? |
| 102 | description: Did this work in a previous version? |
| 103 | options: |
| 104 | - "Yes, this worked in a previous version" |
| 105 | - "No, this never worked" |
| 106 | - "I don't know" |
| 107 | validations: |
| 108 | required: true |
| 109 | |
| 110 | - type: input |
| 111 | id: working_version |
| 112 | attributes: |
| 113 | label: Last Working Version |
| 114 | description: If this is a regression, which version last worked? This helps expedite a fix. |
| 115 | placeholder: "e.g., 1.0.100" |
| 116 | validations: |
| 117 | required: false |
| 118 | |
| 119 | - type: input |
| 120 | id: version |
| 121 | attributes: |
| 122 | label: Claude Code Version |
| 123 | description: Run `claude --version` and paste the output |
| 124 | placeholder: "e.g., 1.0.123 (Claude Code)" |
| 125 | validations: |
| 126 | required: true |
| 127 | |
| 128 | - type: dropdown |
| 129 | id: platform |
| 130 | attributes: |
| 131 | label: Platform |
| 132 | description: Which API platform are you using? |
| 133 | options: |
| 134 | - Anthropic API |
| 135 | - AWS Bedrock |
| 136 | - Google Vertex AI |
| 137 | - Other |
| 138 | validations: |
| 139 | required: true |
| 140 | |
| 141 | - type: dropdown |
| 142 | id: os |
| 143 | attributes: |
| 144 | label: Operating System |
| 145 | options: |
| 146 | - macOS |
| 147 | - Windows |
| 148 | - Ubuntu/Debian Linux |
| 149 | - Other Linux |
| 150 | - Other |
| 151 | validations: |
| 152 | required: true |
| 153 | |
| 154 | - type: dropdown |
| 155 | id: terminal |
| 156 | attributes: |
| 157 | label: Terminal/Shell |
| 158 | description: Which terminal are you using? |
| 159 | options: |
| 160 | - Terminal.app (macOS) |
| 161 | - Warp |
| 162 | - Cursor |
| 163 | - iTerm2 |
| 164 | - IntelliJ IDEA terminal |
| 165 | - VS Code integrated terminal |
| 166 | - PyCharm terminal |
| 167 | - Windows Terminal |
| 168 | - PowerShell |
| 169 | - WSL (Windows Subsystem for Linux) |
| 170 | - Xterm |
| 171 | - Non-interactive/CI environment |
| 172 | - Other |
| 173 | validations: |
| 174 | required: true |
| 175 | |
| 176 | - type: textarea |
| 177 | id: additional |
| 178 | attributes: |
| 179 | label: Additional Information |
| 180 | description: | |
| 181 | Anything else that might help us understand the issue? |
| 182 | - Screenshots (drag and drop images here) |
| 183 | - Configuration files |
| 184 | - Related files or code |
| 185 | - Links to repositories demonstrating the issue |
| 186 | placeholder: Any additional context, screenshots, or information... |
| 187 | validations: |
| 188 | required: false |