Skip to main content

patch-tool-safe-editing

Safe multi-patch editing in a single session — avoid the partial-read self-revert trap. Use when editing a file with multiple sequential `patch` tool calls, when a patch warning says 'file was last read with offset/limit pagination', when reviewing your own diff before commit, or when `git diff` shows fewer changes than you intended (the patch silently reverted earlier inserts). Anti-pattern: firing 3+ `patch` calls on a file you first read with `read_file(..., offset=N, limit=M)` and assuming the tool tracks the full file state across calls.

Zur Installation springen

Quellinformationen

Repository
jleechanorg/claude-commands
Letzte Quellaktivität
2. August 2026 um 01:06
Erkannte Sprache von SKILL.md
Englisch
Sterne
3
Forks
0

Installationsoptionen

Standardmäßig ist der Prompt ausgewählt, der zuerst die Quelle prüft. Sie können zu einem direkten Befehl wechseln oder eine lokale Kopie herunterladen.

Quelldateien prüfen

Lesen Sie SKILL.md und alle von SkillsMP angezeigten Begleitdateien, bevor Sie sich für eine Installation entscheiden.