From hhk7734
Use when the user asks to create git commits, run /commit, commit current changes, generate commit messages, or split changed files into focused Conventional Commits without pushing.
How this skill is triggered — by the user, by Claude, or both
Slash command
/hhk7734:commitThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Create focused git commits from the current working tree.
Create focused git commits from the current working tree.
Inspect the repository state before staging anything:
git status --shortgit diff --stat HEADgit diff HEADgit log --oneline -10Verify changed code complies with applicable agent instruction files before staging:
AGENTS.md and CLAUDE.md at the repository root and in every ancestor directory from the path's top-level directory down to the changed file's parent directory.Decide whether the changes are one logical commit or multiple independent commits. Split unrelated features, fixes, refactors, docs, config, and generated artifacts when they can stand alone.
Do not commit files that likely contain secrets, credentials, private keys, tokens, or local-only environment values.
Stage files explicitly by path. Do not use git add . or git add -A.
Commit each logical group with a Conventional Commit message and a heredoc:
git commit -F - <<'EOF'
type(scope): concise imperative summary
Optional body explaining why the change exists.
EOF
After committing, report the commit hash and final git status --short.
feat, fix, docs, style, refactor, test, chore.! after the type or scope, for example feat(api)!: remove deprecated endpoint.BREAKING CHANGE, Refs, or Closes when applicable.--no-verify unless the user explicitly asks.commit-push to push or commit-push-pr to publish a PR.Guides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.
npx claudepluginhub hhk7734/hhk7734 --plugin hhk7734