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
Suggestions must include all necessary changes. If a fix requires additional work elsewhere (e.g., renaming a variable requires updating usages), use the Claude Code prompt format instead of a partial suggestion. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
| @@ -64,7 +64,10 @@ | ||
| 64 | 64 | ```suggestion |
| 65 | 65 | corrected code here |
| 66 | 66 | ``` |
| 67 | - For larger fixes (6+ lines or structural changes), do NOT use suggestion blocks. Instead: | |
| 67 | + | |
| 68 | + **Suggestions must be COMPLETE.** If a fix requires additional changes elsewhere (e.g., renaming a variable requires updating all usages), do NOT use a suggestion block. The author should be able to click "Commit suggestion" and have a working fix - no followup work required. | |
| 69 | + | |
| 70 | + For larger fixes (6+ lines, structural changes, or changes spanning multiple locations), do NOT use suggestion blocks. Instead: | |
| 68 | 71 | 1. Describe what the issue is |
| 69 | 72 | 2. Explain the suggested fix at a high level |
| 70 | 73 | 3. Include a copyable prompt for Claude Code that the user can use to fix the issue, formatted as: |