Real file from a public repo · synced Aug 26, 2026
git-hunk
Non-interactive hunk and line-range staging with the git-hunk CLI. Use when a user wants atomic commits, selective staging, partial hunk staging, or an agent-safe replacement for git add -p or git commit -p, especially when git-hunk is available in the current repo or on PATH.
Works with
Install in three steps
- 1
Download the ZIP
One file per agent, plus INSTALL.md with the exact paths below.
- 2
Claude Code: copy SKILL.md into your skills folder
.claude/skills/git-hunk/SKILL.md # this project ~/.claude/skills/git-hunk/SKILL.md # every project
- 3
Other agents: use the matching file
skill.mdc goes in Cursor’s .cursor/rules/. AGENTS.md works as GitHub Copilot instructions, a legacy .cursorrules, or a Codex / Gemini CLI instructions file.

