/skills:commit-pushfrom skills
Commits all local repo changes and pushes the current feature branch to GitHub. Rejects managed worktrees and does not open a PR.
Ships in skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
For $commit-push --help or $commit-push -h (including native Claude forms), return concise help and stop before
any workflow step. State the purpose and invocation policy. Show exact usage
for every public action. Describe each public action, positional
argument, and flag in one concise line, including -h, --help; say "No
additional public flags" when there are no others. Use only the documented
public interface. For internal or coordinator-only skills, state that boundary
and that no standalone public workflow action exists. After the selected
SKILL.md is loaded, help is report-only: do not call any additional tools,
inspect project state, or modify files, private state, Git, or external systems.
Never expose private helper actions or flags or treat help as workflow
authorization.
Use $commit-push in Codex, /commit-push in Claude Code, or
/skills:commit-push in the Claude plugin. Dollar-prefixed skill examples
refer to the same named skill on either host; use the native invocation syntax.
Preserve the declared invocation policy, approvals and workflow ownership.
Use available native tools; an unavailable required capability is a blocker,
never permission to bypass a guard or claim unobserved behavior.
Use this skill to publish the current feature branch by committing all local work across the whole Git repository and pushing that branch to GitHub. Keep the workflow narrow: commit, push, verify status, and report blockers.
Select this skill when the user semantically asks to commit and push, including "please commit and push", "could you commit everything and push this branch?", and "commit and push using $commit-push". Native skill mentions may appear anywhere in the action request. No exact phrase or leading token is required. Skill selection is not authorization: help, examples, discussion, negation, and requests to fix this skill never authorize publication. Do not ask for another skill invocation when the user has already clearly requested the action.
The shared commit hook records only a nonauthorizing root-turn receipt. In the
task intake, pass the exact hook-provided --intent-sha256 plus
--requested-action commit-push to canonical private begin, even when clean.
Keep that original task key for prepare/finish. The grant permits one actual
commit and safe retries of attempts proven to have created no commit; never
rewrite private state or run raw Git mutation. Read
../commit/references/task-lifecycle.md for the private interface.
These private helper arguments are not public skill flags. Missing receipt
context means the installation needs diagnosis, not that the user must use a
magic phrase. Use supported prepare/execute/review recovery paths. A retry
requires a newly reviewed candidate and token, not a repeated user invocation.
git add -A from the repository root.origin.create-pr for PR
workflows.--force-with-lease, or bypass hooks with
--no-verify.git add -A from the Git root; use
another explicit Git workflow for narrowed commits.worktree skill and invoke its Python manager's
publication-guard --publication-action push action from the current
checkout before staging, committing, fetching, or pushing.unmanaged.git rev-parse --show-toplevel, then run all Git commands from that
root.HEAD.origin remote.origin/HEAD; fall back to one direct
git ls-remote --symref origin HEAD query and parse its output without
shell composition. Normalize either result to the plain branch name, for
example main, before comparing it with the current local branch. Stop
if the default branch cannot be determined.origin/<branch> exists with the exact --branches query,
then fetch the current branch ref into refs/remotes/origin/<branch> when
it exists. Use the full remote source ref
refs/heads/<branch>:refs/remotes/origin/<branch> and the exact
--no-write-fetch-head --no-auto-maintenance --no-write-commit-graph --no-tags controls. This makes the tracking-ref and object-database
effects explicit while suppressing unrelated Git metadata updates.origin/<branch>, stop and report the exact upstream instead
of committing work that this skill will refuse to push.origin/<branch> if
the upstream is missing but a same-named remote branch exists.git status --short before preparing the commit.commit_transaction.py prepare helper with
this turn's hook-provided receipt digest, authorization and claim paths, exact repository
root, and current session. $commit-push authorizes this local transaction
only as the commit phase of the same publication workflow. Never run raw
git add or git commit.git add -A
with no pathspec and git diff --cached --check before committing.HEAD^{tree}, report that there is nothing
to commit.execute action with the same root,
session, claim, token, reviewed candidate tree, and commit message. It
revalidates all Git state, stages the real index, and runs normal commit
hooks under the shared repository lock.--no-verify.git push -u origin HEAD:<branch>.origin/<branch>, use
git push origin HEAD:<branch>.git status --short --branch.finish completed; close a zero-effect no-op too. Use finish cancelled when
abandoning the task, retaining unresolved effect evidence.skills: add commit-push workflow.git rev-parse --show-toplevelgit symbolic-ref -q --short HEADgit remote get-url origingit symbolic-ref --short refs/remotes/origin/HEAD | sed 's#^origin/##'git ls-remote --symref origin HEAD, parsed without shell compositiongit status --short --branchgit diff --name-only --diff-filter=Ugit ls-remote --exit-code --branches origin refs/heads/<branch>git fetch --no-write-fetch-head --no-auto-maintenance --no-write-commit-graph --no-tags origin refs/heads/<branch>:refs/remotes/origin/<branch>git rev-parse --path-format=absolute --git-path hooks/pre-pushgit rev-parse --path-format=absolute --git-path hooks/reference-transactiongit rev-parse --abbrev-ref --symbolic-full-name @{upstream}git rev-list --left-right --count HEAD...<remote-ref>git diff --quiet <default-ref>...HEADgit commit -m "<message>"git push -u origin HEAD:<branch>git push origin HEAD:<branch>When using this skill, capture durable, reusable, public-safe learnings in the narrowest appropriate surface only when the task contract allows source edits. For read-only/report-only work, or when a learning is not public-safe, evidence-backed, in scope, or free of unverified/vendor-specific claims, do not edit skill sources; report that it was skipped. Do not capture secrets, private URLs, customer data, raw logs, or one-off local state.
git add or git commit; the transaction helper is the sole
local mutation path.git add -A.HEAD, or a branch whose
default-branch status cannot be determined.git diff --cached --check reports conflict markers or unresolved conflicts,
stop and report the blocker.git commit --allow-empty; an empty staged diff is a no-op.--no-verify; commit hooks run normally, while an active pre-push
or reference-transaction hook blocks remote effects until it has an explicit
owner.git status --short --branch
still shows dirty files, unresolved conflicts, or ahead/behind divergence.Return:
git status --short --branch interpretation.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
npx claudepluginhub nebius/nebius-ps-services --plugin skills75 skills in this plugin
/agent-nebius-auth-diagnoseRead-only diagnosis for current-session Nebius project discovery, agent authentication, quota reads, profiles, selectors, or auth-hook failures. Use when auth is missing/blocked; never mutate auth or IAM./agent-nebius-auth-setupUse only when explicitly invoked to bootstrap or repair current-project Codex Agent Nebius auth: account/tenant access, credentials/profile, repair lease, or separately requested auth hooks./ai-agent-designDesign provider-neutral production AI agent subsystems: behavior and topology, contracts, tools, context, memory, authority, durability, security, evals, and operations. Use ai-stack when AI technology selection remains, design/app-stack for whole products, and implementation skills for code./ai-stackSelect or review undecided AI components across models, runtimes, training/inference, interoperability, retrieval, evals, safety, and operations. Consume ai-agent-design's frozen agent-subsystem contract; use app-stack for non-AI layers, research for one technology, and design for whole solutions./alignAlign a project after changes across code, wiring, tests, CI, CLI/help, config, docs, workflows, and skills, with focused quality gates. Use align-skill for skill-folder-only work./align-skillAlign existing/scaffolded skills for Agent Skills, Codex, Claude Code, and npx skills installation while preserving functionality, native controls, resources, and evals. Accept local or report-only GitHub sources; use skill-creator for new scaffolds and align for projects.