planning-with-files
Optional persistent file-based planning for multi-phase or long-running work that benefits from recovery across sessions or…
Git workflows for commit planning, branch cleanup, fixup/autosquash, conflicts, bisect, single-reviewer diff review, and multi-commit stacks. Use for local history or change splitting, repair, review, and validation.
$ npx -y skills add khaneliman/khanelinix --skill git-toolkit --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/git-toolkitContext preview
The summary Claude sees to decide when to auto-load this skill.
Git workflows for commit planning, branch cleanup, fixup/autosquash, conflicts, bisect, single-reviewer diff review, and multi-commit stacks. Use for local history or change splitting, repair, review, and validation.
name: git-toolkit description: Git workflows for commit planning, branch cleanup, fixup/autosquash, conflicts, bisect, single-reviewer diff review, and multi-commit stacks. Use for local history or change splitting, repair, review, and validation.
Route Git work to one mode and load only its reference.
When invoked, route to one mode:
1. **commit-discipline**: plan atomic commits, draft messages, or choose amend/fixup/autosquash. Read [commit-discipline.md](references/commit-discipline.md). 2. **hunk-history**: split, move, restore, amend, or squash selected hunks with `git-surgeon`. Read [git-surgeon.md](references/git-surgeon.md). 3. **regression-bisect**: locate a first bad commit. Read [bisect.md](references/bisect.md). 4. **change-stack**: shape or review multi-commit branches and PR stacks. Read [change-stack.md](references/change-stack.md). 5. **adversarial-review**: independently review a commit, branch, or diff against falsifiable design premises and repository-wide constraints. Read [adversarial-review.md](references/adversarial-review.md). 6. **cleanup**: before creating task branches/worktrees (disk budget), when each worker's slice resolves, after integrating parallel work, or after a PR merges. Read [cleanup.md](references/cleanup.md). 7. **routine-workflow**: branch creation, naming, merge/rebase choice, conflict resolution, or standard Git operations. Git mechanics are model-known; read [operating-rules.md](references/operating-rules.md) when naming a branch or when shared-history risk or GitHub boundaries matter. 8. **github-toolkit**: issues, pull requests, review feedback, and CI state. Invoke `$github-toolkit`; do not depend on a sibling filesystem path.
If intent is unclear, ask for the mode before applying changes.
Read [scripts.md](references/scripts.md) when deterministic stack collection or an isolated automated bisect can replace manual Git command assembly.
MIT attribution for `git-surgeon`: [LICENSE-git-surgeon](references/LICENSE-git-surgeon).
Repository contributor docs and existing history remain authoritative. This skill supplies workflow defaults where repository canon is silent.
Run packages directly with: Or install from the packages output. For example:
Optional persistent file-based planning for multi-phase or long-running work that benefits from recovery across sessions or…
Audit coding-agent sessions and mine cross-harness history for recurring corrections, skill-routing gaps, and harness faults. Use…
Design and audit agent instructions, skills, plugins, subagents, prompts, hooks, and provider configuration. Use for AI-tool…
Sketch interfaces, state, and module structure before code. Use for explicit design-led implementation or as a caller-owned…
Spawn N parallel candidates at the same task, pick a base, graft the strongest parts of the losers into it. Use for /arena,…
Bevy workflows for ECS, migrations, first-party UI/input/rendering/assets/shaders, plugin selection, scenes, scheduling, hot…