smykla-skalski/git-stage-hunk
v2.1.7MIT
Non-interactive hunk staging for selective git add without TTY. Stage only part of a file, specific hunks, or pattern-matched changes when git add -p is unavailable.
allowed-tools
- AskUserQuestion1 skill
- Bash1 skill
scripts
- git-stage-hunk
- scripts/git-stage-hunk.py
- scripts/split_hunk.py
plugin.json
- name
- git-stage-hunk
- version
- 2.1.7
- description
- Non-interactive hunk staging for selective git add without TTY. Stage only part of a file, specific hunks, or pattern-matched changes when git add -p is unavailable.
- author
- Smykla Skalski Labs
- license
- MIT
- repository
- https://github.com/smykla-skalski/sai
- extensions
- com.openai
plugin.json
{
"$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
"name": "git-stage-hunk",
"version": "2.1.7",
"description": "Non-interactive hunk staging for selective git add without TTY. Stage only part of a file, specific hunks, or pattern-matched changes when git add -p is unavailable.",
"author": {
"name": "Smykla Skalski Labs"
},
"homepage": "https://github.com/smykla-skalski/sai/tree/main/plugins/git-stage-hunk",
"repository": "https://github.com/smykla-skalski/sai",
"license": "MIT",
"keywords": ["git", "staging", "hunk", "partial-commit", "diff", "selective-add", "patchutils", "non-interactive"],
"extensions": {
"com.openai": {
"interface": {
"displayName": "Git Stage Hunk",
"shortDescription": "Stage selected git hunks without a TTY",
"longDescription": "Lists unstaged hunks with stable IDs and stages only the ones you pick, by ID, sub-hunk, line range, file, or regex, so a commit holds just this session's changes.",
"developerName": "SAI",
"category": "Developer Tools",
"capabilities": ["Interactive", "Write"],
"websiteURL": "https://github.com/smykla-skalski/sai/tree/main/plugins/git-stage-hunk",
"privacyPolicyURL": "https://github.com/smykla-skalski/sai/blob/main/README.md",
"termsOfServiceURL": "https://github.com/smykla-skalski/sai/blob/main/LICENSE",
"defaultPrompt": [
"Use $git-stage-hunk to list the unstaged hunks in this repository.",
"Use $git-stage-hunk to stage only the hunks I changed in this session.",
"Use $git-stage-hunk to show what is staged versus unstaged."
],
"logo": "./.claude-plugin/icon.png",
"composerIcon": "./.claude-plugin/icon.png",
"brandColor": "#2563EB"
}
}
}
}
What else this package ships
These files come with the package and this site does not publish them. They are listed so you know what is there before you install it.
- 2Python files
- ruff.toml
- openai.yaml
Client extensions
Data this package carries for particular clients. The directory lists the clients named and never reads what is addressed to them.
- com.openai