Back to browse
GitHub Repository

Git primitives for autonomous coding agents

127 starsRust

Git-surgeon – Git add -p for AI agents

by rane·Mar 22, 2026·3 points·0 comments

AI Analysis

●●SolidNiche GemBig Brain

Finally gives AI agents git add -p without the interactivity problem.

Strengths
  • Line-level staging from hunks, not just whole-file commits
  • Retroactively split combined commits into focused history
  • Native skill integrations for Claude Code, Codex, and OpenCode
Weaknesses
  • Niche audience limited to AI agent users, not general git workflow
  • No GUI fallback for humans who might want the same hunk control
Target Audience

Developers using AI coding agents like Claude Code, Codex, or OpenCode

Similar To

git add -p · git reset -p · git commit -p

Similar Projects

Developer Tools●●Solid

Agentic Gatekeeper – AI pre-commit hook to auto-patch logic errors

AI pre-commit hook that auto-patches logic errors against CONTRIBUTING.md rules—solves real drift but needs Windows support.

Big BrainShip It
revanth1108
203mo ago
Developer Tools●●Solid

Agentic Gatekeeper – Auto-patch your code to enforce Markdown rules

AI-powered pre-commit hook enforces your Markdown rules, but linters and husky already exist.

Solve My Problem
revanth1108
103mo ago