What problem does it solve?
This Skill analyzes repository state, proposes commit messages following Conventional Commits, and applies commits after user approval. Use when asked to "commit", "commit changes", "save my work", "create a commit", or "stage and commit".
Core Features & Use Cases
- Preflight: Check repository state with tool__git--status; if no changes exist, report and stop.
- Analyze changes: Retrieve current branch diff with tool__git--retrieve-current-branch-diff; categorize changes (feat, fix, docs, chore, etc.).
- Propose staging: If there are unstaged changes, ask the user which files to stage and list each file with its change type.
- Draft commit message: Generate a lowercase Conventional Commit message; include body for complex changes and a footer for breaking changes or issue refs.
- Ask for approval: Present the draft and ask for approval before executing.
- Commit: Stage the selected files with tool__git--stage-files and commit with tool__git--commit; handle pre-commit hooks; offer to push after successful commit; report SHA and summary.
Quick Start
Review repository state, generate a conventional-commit plan, and approve the final commit.