跳到正文
FunCoding

patch-applier

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

Star
507
许可证
MIT
最近提交
2026年12月1日

.agents/skills/patch-applier/SKILL.md

在 GitHub 上查看

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.
  • safe-edit-simulator, code-formatter, test-runner

相似的 Skill

rea-analysis-optimization

MOmorluto/rea485k近 7 天新增 9,215 个 star

codebase-design

MAmattpocock/skills336k近 7 天新增 5,004 个 star

精选

diagnosing-bugs

诊断困难 bug 和性能回归,用测试或脚本构建反馈循环定位问题。

MAmattpocock/skills336k近 7 天新增 5,004 个 star

setup-ts-deep-modules

MAmattpocock/skills336k近 7 天新增 5,004 个 star

code-review

MAmattpocock/skills336k近 7 天新增 5,004 个 star

implement

MAmattpocock/skills336k近 7 天新增 5,004 个 star