From essentials
Stages git changes, creates semantic commits in conventional format, handles pre-commit hooks, and pushes to remote if confirmed. Use for 'commit', 'push changes', or 'save to git'.
How this skill is triggered — by the user, by Claude, or both
Slash command
/essentials:commitThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Direct execution of git commit workflow - no agent delegation, fast and simple.
Direct execution of git commit workflow - no agent delegation, fast and simple.
This skill activates on:
After completing implementation work, proactively offer to commit:
git status
git diff
If no changes: Report "No changes to commit" and end.
Stage logically related changes:
git add <files>
Skip sensitive files: .env, credentials, tokens - warn user if detected.
Analyze changes and determine:
Commit format:
<type>(<scope>): <subject>
[Narrative body explaining WHAT and WHY - 2-4 sentences, NO bullet points]
Good example:
feat(auth): add session timeout handling
Implements automatic session refresh when user activity is detected
within the timeout window. Sessions now persist across page reloads
using localStorage with encrypted tokens.
Bad example (avoid):
feat(auth): add features
- Added timeout
- Added refresh
- Added localStorage
git commit -m "$(cat <<'EOF'
<commit message here>
EOF
)"
If hooks modify files:
git commit --amend --no-editUse AskUserQuestion:
git push
# or if no upstream:
git push -u origin <branch>
git add . can accidentally stage unrelated files — prefer staging specific files by namegit push fails silently — must use git push -u origin <branch>npx claudepluginhub kriscard/kriscard-claude-plugins --plugin essentialsCreates semantic git commits with conventional commit format, stages changes, and pushes to remote. Handles pre-commit hooks and writes meaningful commit messages.
Creates local Git commits with conventional messages and GitHub issue references. Handles staging, pre-commit hooks, and automatic issue detection from changes.
Manages Git commit workflow using Conventional Commits format with safety protocols. Creates, validates, executes commits; handles hooks, PRs, and safety checks before operations.