Commit Changes

Commit specific staged changes to a git repository using conventional commits format. Use when the user asks to commit, stage, or check in particular files or changes.

heikopanjas Updated

File contents

Skill: commit-changes

Commit specific changes to a git repository. Only the relevant modified files are staged — not all changes in the working tree.

For commit message guidelines, protocol, and examples, read the shared conventions: shared/commit-conventions.md


Staging

Stage only the files relevant to the commit. Use git add <file>... rather than git add -A. If the user has not specified which files to include, inspect the working tree with git status and stage only the files that relate to the described change.

heikopanjas/agent-skills/tree/main/commit-changes commit 9f4a36b5ec

Frequently asked questions

npx skillmds@latest add heikopanjas/commit-changes