Skills DirectorySearch all skills ↗

AI agent skill · by @pilinux

Patch Applier

Draft and apply small, atomic patches; always present a preview diff and appropriate verification commands.

Archived 2026-10-23 · Source updated 2026-09-25 · License: MIT. Check the original repository for the latest version.

SKILL.md instructions

# 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

1. Locate edit points via `source-search` or `file-reader`.
2. Draft patch and show a preview for approval.
3. Apply patch and run `go fmt ./...` / `golangci-lint run ./...` / targeted `go test`.
4. 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`

Related skills