git-toolkit

star 334

Git workflows, commit discipline, and safe local history operations.

khaneliman By khaneliman schedule Updated 6/13/2026

name: git-toolkit description: Git workflows, commit discipline, and safe local history operations.

Git Toolkit

Use this skill for branch strategy, conflict handling, and commit quality.

How I choose what to do (progressive disclosure)

When invoked, route to one mode:

  1. workflow — branching strategy, conflict resolution, commit history, and basic Git operations.
  2. commit-message — conventional commit style, scope, and quality checks.
  3. github-toolkit — any GH PR review comments, check triage, or issue creation.

If intent is unclear, ask for the mode before applying changes.

1) Workflow Mode

Use for task planning, branch hygiene, rebase/merge decisions, conflict resolution, and git command guidance.

2) Commit Message Mode

Use for commit message policy and drafting, including commit format choice and scope rules.

When asked to commit, inspect the full diff and state an atomic commit plan before creating the first commit. Do not treat one user request as one commit when the diff contains independently buildable setup, adoption, cleanup, formatting, tests, documentation, or generated-file changes.

2a) Hunk-Level Git Strategy

Use git-surgeon for non-interactive, hunk-level git operations:

  • staging/unstaging/discarding specific hunks
  • fixing, amending, or squashing around selected hunks
  • undoing or splitting commits by hunk IDs
  • reordering commits without broad interactive workflows

Before using it, read references/git-surgeon.md and follow its safety rules.

3) GitHub Extensions

Use github-toolkit for:

  • GitHub PR review comment triage
  • Failing PR check triage
  • GitHub issue creation

This keeps Git logic and GitHub workflow logic separate.

Cross-Mode Notes

Read operating-rules.md for shared-history risk, GitHub boundary, and stop points.

Install via CLI
npx skills add https://github.com/khaneliman/khanelinix --skill git-toolkit
Repository Details
star Stars 334
call_split Forks 17
navigation Branch main
article Path SKILL.md
More from Creator