/agent-skills:git-commit [push] [file or description]from agent-skills
Commit pending changes to git, optionally pushing after. Use when the user says 'commit', 'commit my changes', 'commit all', 'commit everything', 'save my work to git', 'stage and commit', or any variation of wanting to create a git commit. Accepts an optional 'push' keyword to push after committing, and optionally specific file names or a description of what to commit.
Ships in agent-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Commit pending changes to git.
If the user's arguments include the keyword push, push the new commits after committing. Otherwise, do not push.
Start by running git status to check the current state.
Commit exactly what is staged as a single commit. Do not split it into multiple commits, do not stage additional files, and do not unstage anything. The user has curated the staging area intentionally — respect it.
If the user provided an argument mentioning specific files but something different is staged, tell the user about the mismatch and ask how to proceed rather than silently changing the staging area.
Analyze all pending changes (unstaged modifications, untracked files) and determine how to group them into logical commits. Consider:
Then stage and commit each group in sequence. If the user's argument narrows the scope (specific files, "all", etc.), honor that:
git add -A) and split into logical commits if warrantedgit commands directly — don't prepend cd <path> &&.D:\foo, D:/foo, /d/foo. Don't try to cd between them.After all commits succeed, if push was requested:
git rev-parse --abbrev-ref @{upstream}git push -u origin HEADgit pushWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub lucaspimentel/agent-skills --plugin agent-skills20 skills in this plugin
/address-pr-commentsInteractively walk through and address PR review comments one at a time, asking the user what to do for each, committing after each code change, and optionally replying on GitHub. Accepts an optional PR number argument; defaults to the current branch's PR./add-todoCreate or append tasks to TODO.md in the current working directory. Not appropriate for reading, viewing, checking off, removing, or reorganizing TODO.md./chezmoi-diffHelp resolve differences between chezmoi-managed dotfiles and local files, including which direction changes should flow and what the chezmoi file naming conventions (dot_, executable_, .tmpl, symlink_, etc.) mean./diagnosing-bugsDiagnosis loop for hard bugs and performance regressions. Use when the user says "diagnose"/"debug this", or reports something broken/throwing/failing/slow./git-clean-worktreesRemove already-preserved linked worktrees and local branches from one repository, only through an explicit plan the user approves by digest./grill-meA relentless interview about a design that continues until no ambiguities remain. Use when the user asks to be grilled, or when a plan, architecture, API, or design should be stress-tested with questions before implementation.