# Apply Fixes

> Apply review findings as the smallest code changes, then commit and push. Used on the bot's own PRs.

- Skill: `getsentry/apply-fixes` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add getsentry/apply-fixes`
- Raw SKILL.md: https://api.skillmd.com/api/skills/getsentry/apply-fixes/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- License: Apache-2.0
- Author: Sentry (https://skillmd.com/u/getsentry)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/getsentry/apply-fixes

---


# Apply Fixes

Turn a JSON array of review findings into commits on the current branch.

## Input

Findings array with `kind`, `file`, `line`, `summary`, `suggested_fix`.

## Workflow

1. Verify you're on a feature branch, not the default.
2. Plan: decide which findings are tractable in small changes vs. skip.
3. Implement one finding at a time. Smallest change per finding.
4. Run tests if you can find the command quickly.
5. Load `deslop` skill.
6. Commit and push. Stage only files you edited.
7. If a finding came from a PR review thread, close the loop on that thread (see
   `respond-to-comment`): reply on the thread with the commit SHA, then resolve
   the thread. Only resolve threads you actually fixed. After all fixes are
   pushed, re-request review from the reviewer.

Report: commit SHA, findings addressed, findings skipped with reasons.
Don't force-push. Don't open a new branch or PR.

