Patch Applier
When to Use
- •You have a focused code change that should be applied and reviewed as a single patch.
Rules
- •Keep patches atomic and single-purpose.
- •Show a preview (paths + short hunk summary) before applying.
- •After applying, run formatting, linters, and targeted tests as appropriate.
Workflow
- •Locate edit points via
source-searchorfile-reader. - •Draft patch and show a preview for approval.
- •Apply patch and run
go fmt ./.../golangci-lint run ./.../ targetedgo test. - •Report modified files and verification results.
Output
- •Patch summary: 1-3 bullets.
- •Files changed: list with
path:line. - •Verification: commands and results.
Related Skills
- •
safe-edit-simulator,code-formatter,test-runner