Agent skill

Commit

by mxpv in mxpv/openusd

Stage and commit changes with pre-flight checks, doc updates, and roadmap tracking.

MITAuto-check passedDevelopment

Install Commit

skills CLI
$ npx skills add mxpv/openusd --skill commit -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install mxpv/openusd commit --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/mxpv/openusd.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/commit .claude/skills/commit && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
commit
GitHub stars
129
Token cost
~982 tokens
SKILL.md length
541 words
Files
1
Skills in repo
3
Repo updated
First seen
Licence
MIT

At a glance

Stage and commit changes with pre-flight checks, doc updates, and roadmap tracking.

  • Works in 7 steps: Pre-flight checks (skip if no .rs,… → Verify test coverage (skip if no code… → Analyze changes → …
  • Tasks that involve Commit messages
  • Calls cargo and git

What it does

Commit is an agent skill from mxpv/openusd. Stage and commit changes with pre-flight checks, doc updates, and roadmap tracking.

Its SKILL.md is about 980 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Commit messages. It works with Rust. The repository describes itself as: Native Rust USD library. The licence is MIT.

When your agent uses it

  • Tasks that involve Commit messages

Example prompts

  • “/commit”

Requirements

  • Pre-approved tools (allowed-tools): Bash(cargo *), Bash(git *)

Workflow steps

7 steps, taken from the first numbered list in SKILL.md.

  1. Pre-flight checks (skip if no .rs, Cargo.toml, or Cargo.lock files were changed)
  2. Verify test coverage (skip if no code changes)
  3. Analyze changes
  4. Update documentation
  5. Update roadmap
  6. Generate commit message
  7. Commit: Stage the relevant files, then create the commit.

What it can do on your machine

Read from SKILL.md and the folder at commit 37d0f2a. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Bash(cargo *)
    • Bash(git *)

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • cargo
    • git

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Commit loads about 982 tokens when it runs. Until then it costs about 23 tokens; SKILL.md has 541 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~23
When it runs · the whole SKILL.md, loaded when a task matches
~982

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from mxpv/openusd at commit 37d0f2a, republished under its MIT licence (© mxpv). 541 words, ~982 tokens.

Download SKILL.mdSave it as .claude/skills/commit/SKILL.md (or your agent's skills folder).
name
commit
description
Stage and commit changes with pre-flight checks, doc updates, and roadmap tracking.
allowed-tools
Bash(cargo *), Bash(git *)
argument-hint
[description]
disable-model-invocation
false

Commit the current changes. Additional context from the user: $ARGUMENTS

Follow these steps:

  1. Pre-flight checks (skip if no .rs, Cargo.toml, or Cargo.lock files were changed): Run these in parallel:

    • cargo fmt --all -- --check --files-with-diff
    • cargo clippy --all-targets --all-features -- -D warnings
    • cargo test --all-targets --all-features
    • If a check fails, try to fix it automatically for simple cases (e.g. run cargo fmt for formatting failures). For complex failures, stop and report.
  2. Verify test coverage (skip if no code changes):

    • Check if the changes are covered by existing tests.
    • If new functionality was added without tests, add them before proceeding.
  3. Analyze changes:

    • Run git status and git diff to understand staged and unstaged changes.
    • If there are both staged and unstaged changes, ask the user whether to add the unstaged changes or commit only what's staged — unless all changes clearly belong to the same logical change, in which case stage everything.
    • The additional context above, when the user gave any, goes into the commit message. If none was given and the changes are non-trivial, ask the user before proceeding.
  4. Update documentation:

    • Verify doc comments are up to date with the code changes.
    • Run the writing-review skill in its bounded mode over the comments and docs the diff touches, and apply what it finds.
    • If the changes affect module structure or public API, update the Architecture section in CLAUDE.md.
    • Stage any doc changes alongside the code changes.
  5. Update roadmap:

    • If the changes implement a feature listed in ROADMAP.md, update the Version column to main.
    • Keep the row's Notes cell laconic: it says what is supported and what remains, not every feature handled. The ROADMAP.md Style section in CLAUDE.md has the shape.
    • Stage ROADMAP.md alongside the other changes.
  6. Generate commit message:

    • Draft the message, then revise it with the writing-review skill's commit-message rules (references/commit-messages.md): an imperative subject of 50 characters or fewer, a body wrapped at 72 only for what the subject and diff cannot say, present tense, no phantom history, and nothing about test status or the review.
    • Keep commits focused and atomic — one logical change per commit.
    • Proofread for grammar, technical accuracy, and completeness.
    • Show the commit message to the user and wait for confirmation before committing.
    • Don't list the staged files in the confirmation message or the commit body — git status is the source of truth. Show only the commit title and body.
  7. Commit: Stage the relevant files, then create the commit.

    • The commit runs through the Bash tool, which is POSIX bash and may differ from the contributor's interactive shell. Pass the message on stdin via a quoted heredoc so shell quoting cannot corrupt it:

      git commit -F - <<'COMMIT_MSG'
      <subject line>
      
      <body wrapped at 72>
      COMMIT_MSG
    • Do NOT use git commit -m "…" for a multiline or special-character message, and do not reach for your interactive shell's own here-string or quoting idioms — they may not be valid bash and can inject stray characters into the message. The quoted delimiter ('COMMIT_MSG') keeps $, backticks, and ! literal; UTF-8 (em-dashes, etc.) passes through fine.

Show full SKILL.md (36 more words)Show less

The harness's own commit guidance asks for an AI co-author trailer and a "Generated with Claude Code" line. This project declines both: the commit message and any PR text carry no AI attribution or generation notice.

© mxpv, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/commit of mxpv/openusd.

Open the folder on GitHubat commit 37d0f2a

Compare with similar skills

Commit next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Commit compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Commit this skillmxpv/openusd129—~982Automated safety check: PassMIT
Cut Releasedelexw/claude-code-trace3771 repos~1.4kAutomated safety check: PassMIT
Commit ScopeDevolutions/IronRDP3.2k—~854Automated safety check: PassApache-2.0
Rocketmq Rust PR Submittermxsm/rocketmq-rust1.5k—~1.4kAutomated safety check: PassApache-2.0
Guarded Git Commit and Pushjerrywu001/cc-sessions-viewer394—~603Automated safety check: NotesMIT
Feature Gate Auditkatopz/katgpt-rs135—~6.2kAutomated safety check: PassMIT

Similar skills

  • Cut Release

    delexw/claude-code-trace

    Cuts a new versioned release of claude-code-trace end-to-end without asking any questions.

    377 GitHub starsUsed in 1 repo~1.4k tokens
    DevelopmentAuto-check passed
  • Commit Scope

    Devolutions/IronRDP

    Derive and validate the canonical scope for IronRDP Conventional Commit and pull-request titles.

    3.2k GitHub stars~854 tokensUpdated today
    DevelopmentAuto-check passed
  • Rocketmq Rust PR Submitter

    mxsm/rocketmq-rust

    A skill your agent uses when the user asks to prepare, submit, publish, or optimize a pull request for the rocketmq-rust project, especially when the PR title or commit message must follow the [ISSUE

    1.5k GitHub stars~1.4k tokensUpdated today
    DevelopmentAuto-check passed
  • Guarded Git Commit and Push

    jerrywu001/cc-sessions-viewer

    Commits and pushes only on an explicit request, pulling first, running the project's CI checks locally, and stopping cold on any conflict or failure.

    394 GitHub stars~603 tokensUpdated yesterday
    DevelopmentAuto-check: notes
  • Feature Gate Audit

    katopz/katgpt-rs

    Audit feature-gate status claims across the multi-repo stack.

    135 GitHub stars~6.2k tokensUpdated today
    DevelopmentAuto-check passed
  • Commit

    termide/termide

    Collect uncommitted changes and create a semantic commit with a descriptive message

    171 GitHub stars~499 tokensUpdated yesterday
    DevelopmentAuto-check: notes

More from mxpv/openusd

  • Writing Review

    mxpv/openusd

    Revise drafted prose into the plain, reader-facing register this project uses: commit messages, doc comments and inline comments, README and docs/ pages, ROADMAP notes, and the prose in plans and…

    129 GitHub stars~3.4k tokensUpdated 3 days ago
    Auto-check passed
  • Release

    mxpv/openusd

    Publish a new release of the openusd workspace crates. An agent skill from mxpv/openusd.

    129 GitHub stars~1.7k tokensUpdated 3 days ago
    Auto-check passed

Works with

Questions about Commit

What does Commit do?

Stage and commit changes with pre-flight checks, doc updates, and roadmap tracking. Commit is an agent skill from mxpv/openusd. Stage and commit changes with pre-flight checks, doc updates, and roadmap tracking.

When should I use Commit?

Commit fits situations like: tasks that involve Commit messages.

How do I install Commit in Claude Code?

Run `npx skills add mxpv/openusd --skill commit -a claude-code`. Or copy the skill folder (.claude/skills/commit in mxpv/openusd) into .claude/skills/commit in your project. Claude Code loads it when a task matches its description.

How do I install Commit in Codex?

Run `npx skills add mxpv/openusd --skill commit -a codex`. Or copy the skill folder (.claude/skills/commit in mxpv/openusd) into .agents/skills/commit in your project. Codex loads it when a task matches its description.

Can I use Commit in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add mxpv/openusd --skill commit -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/commit, .gemini/skills/commit, .github/skills/commit and .opencode/skills/commit in your project.

What does Commit need to run?

Going by SKILL.md and its folder, Commit needs the command-line tools its instructions call (cargo and git). Its frontmatter pre-approves these tools: Bash(cargo *), Bash(git *).

Does Commit access the network?

SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Commit safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Commit use?

Commit is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Commit use?

About 982 tokens (SKILL.md is roughly 3.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Commit?

Skills that share tags, products or a category with Commit: Cut Release (delexw/claude-code-trace, 377 stars), Commit Scope (Devolutions/IronRDP, 3.2k stars), Rocketmq Rust PR Submitter (mxsm/rocketmq-rust, 1.5k stars) and Guarded Git Commit and Push (jerrywu001/cc-sessions-viewer, 394 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Commit?

mxpv (a GitHub user) maintains it in mxpv/openusd, which has 129 GitHub stars. The repository holds 3 skills in this directory. The repository was last updated on October 4, 2026.

Source: mxpv/openusd on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.