plugins/hhk7734/skills/commit/SKILL.md
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.
npx skillsauth add hhk7734/hhk7734 commitInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
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.data-ai
This skill should be used when the user asks to "create a sequence diagram", "update a sequence diagram", "draw a sequence diagram", "visualize component interactions", or needs to represent time-ordered interactions between actors or system components using Mermaid.
development
This skill should be used when the user asks to "create a flowchart", "update a flowchart", "draw a flowchart", "visualize a workflow", "diagram a process or algorithm", or needs to represent decision trees, state transitions, or workflows using Mermaid.
tools
Use when the user asks to run /commit-push, commit current changes and push the branch to the remote without opening a pull request.
tools
Use when the user asks to run /commit-push-pr, commit current changes, push the branch, and open a GitHub pull request from the current repository.