/hb:commit-and-pushfrom HB Skills
Create conventional commits for all staged and unstaged changes in the working tree, then push to remote. Use when the user invokes /commit-and-push or explicitly asks for this workflow.
Ships in HB Skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Create conventional commits for all staged and unstaged changes in the working tree, then push to remote.
Raw input: $ARGUMENTS
If $ARGUMENTS is provided, use it as guidance for how to group or describe the commits. Otherwise, auto-detect.
git status
git diff
git diff --cached
git log --oneline -5
If there are no changes (no untracked, no modified, no staged), tell the user: "Nothing to commit."
Analyze all changed and untracked files. Group them into logical commits — each commit should represent ONE concern:
If ALL changes serve a single purpose, make a single commit. Don't split artificially.
Use the Conventional Commits format:
<type>[optional scope]: <description>
[optional body]
Types:
feat — new featurefix — bug fixrefactor — code restructuring without behavior changedocs — documentation onlychore — tooling, config, CI, dependenciestest — adding or fixing testsstyle — formatting, whitespace (no logic change)perf — performance improvementRules:
feat(karaoke):, fix(scheduler):, chore(hooks):For each logical group:
git add only the files for that groupgit commit with a HEREDOC messagegit add file1 file2
git commit -m "$(cat <<'EOF'
type(scope): description
Optional body explaining why.
EOF
)"
git push -u origin HEAD
If the push fails (e.g. no upstream, rejected), inform the user with the error.
After all commits and push, show:
✓ N commits created and pushed:
- <hash> <message>
- <hash> <message>
git add -A or git add . — always add specific files.env, credentials, tokens)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub hmbakhsh/hb-skills --plugin hb12 skills in this plugin
/agent-browserRules for driving the agent Helium browser (a separate, logged-in Helium process on CDP port 9333) through the chrome-devtools MCP. Use for any web task — reading a logged-in page, clicking through a web app, checking a dev server — on a machine set up with this repo's browser/agent-browser.sh./aristotleDeconstruct a problem, decision or plan to first principles: list the inherited assumptions, strip to irreducible truths, and rebuild from those. Use when the user invokes /aristotle./codex-computer-useHand GUI work Claude can't script (native Mac apps, System Settings, app dialogs) to a Codex session with computer use, via T3 Code's delegate_task. Use when a task needs clicking through a native app and no CLI, API, or osascript route works./deslopRemove AI-generated code slop and clean up code style/make-pr-easy-to-reviewPrepare PRs for review by cleaning noisy history, improving PR descriptions, and adding reviewer guidance without changing code behavior. Use for "make this easy to review", "tidy this PR", "clean up commits", or "annotate the diff"./new-worktreeStart new work in an isolated git worktree (guided)