/skills:commitfrom skills
Creates one local Git commit from the full repo diff, staging repo-wide with git add -A, validating, and reporting. Handles worktree-integration commits. Does not push or create PRs.
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; scripts run unread.
For $commit --help or $commit -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.
Before workflow reads, load ../global-context-management/references/agent-hosts.md
for selected-home paths, native identity and required runtime setup.
Use $commit in Codex, /commit in Claude Code, or
/skills:commit 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.
Create one local commit for the current branch as quickly as is safely reasonable, including a complete monorepo diff that spans any number of project folders. This skill is for ordinary Git commits, not publishing or Agentic SDLC checkpoints.
git add -A, regardless
of the project, service, chart, app, or package directory where the agent starts.$worktree integrate: an eligible ordinary child first or its primary source
second, at the exact preflight branch and head.commit-push when the user explicitly asks to push.sdlc-commit; that skill is only for Agentic SDLC feature
checkpoints with SDLC evidence and local run state.
An SDLC objective mentioning its eventual commit phase does not request a
standalone root transaction. Do not call root begin before SDLC admission
or its branch preparation; preserve the coordinator's own commit authority.git add -A from the Git root.begin; delegated owners retain
their existing evidence path.GIT_INDEX_FILE override.git rev-parse --show-toplevel, then run all Git commands from that
root.HEAD.--allow-default-branch assertion; commit-push never permits it.
Do not perform network fetches only to discover the default branch.git status --short --branch.begin before preparing effects, including
a clean start. If the worktree is clean, close it with finish completed
and report that there is nothing to commit.--intent-sha256 and the typed --requested-action commit (or
commit-push inside that workflow) to canonical begin. Keep this original
digest as the task key for later prepare/finish calls, even after unrelated
turns update the receipt. These are private helper arguments, not public
skill flags. The immutable task grant freezes the action, native session,
repository, worktree and target. Never hand-write or reset private state.
Read references/task-lifecycle.md for the exact private interface.
Subagent and generated turns do not supply root receipts. An absent
agent_type remains compatible with primary UserPromptSubmit events.task-finish transition validates and commits the exact
assignment. Workers do not invoke this root commit transaction.commit_transaction.py prepare helper with
the hook-provided authorization and claim paths, exact Git root, and
current session. Never invoke a source-tree or alternate helper.git add -A there, validates the candidate, and returns the
exact git write-tree candidate plus a one-shot private claim token.
Preparation must leave the real index and worktree unchanged.commit_transaction.py execute helper with
the same root, session, claim and token, the exact reviewed candidate tree,
and the final commit message. Run one uncomposed command.HEAD, real
index, complete porcelain status, candidate tree, and Worktree ownership.
Any drift makes the claim stale before real staging.git add -A with no pathspec, verifies the
staged tree, and runs git diff --cached --check.git diff --stat HEAD <candidate-tree> and
git diff --name-status HEAD <candidate-tree> while reviewing.HEAD^{tree}, report that there is nothing
to commit.$commit, the transaction helper runs
git commit -m "<message>" with normal hooks enabled. Do not run a raw
git commit or raw git add outside the helper.git add -A, compare the
staged tree to the reviewed tree, and then run the normal-hook commit.
The claim blocks nested leases, competing integrations, removal, and
source publication until candidate reservation or explicit abort.git status --short --branch.HEAD^{tree} with the reviewed staged tree. If a hook changed the
committed tree, preserve the commit, mark the claim REVIEW_REQUIRED, and
inspect the complete actual direct-child commit. After that review, use the
helper's private review transition with the exact observed commit and
tree to complete the claim. Never amend or reset automatically. If the
actual commit cannot be fully reviewed or is not the clean exact direct
child, stop with REVIEW_REQUIRED intact.STALE. Retry safely under the same task after the cause
is resolved and unchanged base history is proved. Each attempt requires a
fresh candidate review and token; it does not consume the one-commit limit.finish; cancellation invalidates unused claims while preserving
uncertain effects and allowing exact metadata-only result review.A calling skill may use this shared transaction when the root user's authorized
task includes the commit. Interpret the parent task semantically; do not demand
another standalone $commit phrase. Skill invocation alone is not authority.
Use the existing delegated Worktree or Implement route for their commits.
For an unmanaged create-pr task (including authorized complete publish-*,
review-pr repair and merge-pr review delegation), read
../create-pr/references/commit-continuation.md: its private grant permits
successive reviewed commits and corrected no-commit retries until that PR task
finishes. The parent PR skill owns repairs, checks and pushes. Ordinary direct
commit and commit-push tasks permit one actual commit plus safe no-commit retries; active SDLC still owns its
commits. This exception does not grant arbitrary sibling skills indefinite
commit authority or permit raw Git fallback.
git rev-parse --show-toplevelgit symbolic-ref -q --short HEADgit status --short --branchMERGE_HEAD,
rebase-merge, rebase-apply, CHERRY_PICK_HEAD, REVERT_HEAD, and
BISECT_LOG under the Git directory from git rev-parse --git-path <name>.git diff --name-only --diff-filter=Ugit symbolic-ref -q --short refs/remotes/origin/HEAD | sed 's#^origin/##'git add -A from the repository root, with no
pathspecgit diff --cached --checkgit diff --stat HEAD <candidate-tree>git diff --name-status HEAD <candidate-tree>candidate_tree returned by preparationgit commit -m "<message>"git rev-parse HEAD^{tree}git rev-parse --short HEADcode, retryable, and next_action. Follow that
disposition rather than asking for a new prompt for every failed attempt.STALE; preserve the real
index and worktree for diagnosis rather than resetting or unstaging them.REVIEW_REQUIRED; complete it only through the private
review transition after inspecting the actual commit and tree.begin. Interpret intent semantically; neither a receipt nor a skill mention
alone grants permission. The task contains no prompt or commit-message text.
Closed tasks cannot reopen; a fresh authorized task needs its own receipt.
Root task/authorization/claim schemas never import old root authority.
Worktree integration retains its separate exact transaction protocol.$worktree integrate <name> as permission for only
the eligible child/source commits that its read-only preflight orders. Do not
infer delegated permission from a coordinator handoff, active reservation,
restart, candidate, or ordinary implicit skill selection.git add -A outside the repository root.git add -A; this skill is intentionally whole-repo
because multi-folder repositories often have related changes outside the
current directory.--no-verify; commit hooks should run normally.--allow-empty; an empty staged diff is a no-op.sdlc-commit inside the SDLC workflow instead.$commit, then repeat integration. Never auto-commit
that dirt.git add -A, validation performed, final status, and any retained
STALE or REVIEW_REQUIRED blocker.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.
Return:
git add -A.git status --short --branch interpretation.README.md (opens in a new tab)agents/openai.yaml (opens in a new tab)assets/hooks.json.template (opens in a new tab)assets/hooks/commit_intent.py (opens in a new tab)evals/trigger-prompts.csv (opens in a new tab)references/task-lifecycle.md (opens in a new tab)references/transaction-retirement.md (opens in a new tab)scripts/commit_transaction.py (opens in a new tab)scripts/pr_publication.py (opens in a new tab)scripts/review_workspace.py (opens in a new tab)scripts/test-commit-contract.py (opens in a new tab)scripts/test-commit-transaction.py (opens in a new tab)scripts/test_pr_publication.py (opens in a new tab)scripts/test_transaction_retirement.py (opens in a new tab)scripts/transaction_retirement.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
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.