Standardized Commit

VerifiedCaution

Stages and commits changes with standardized message format following conventional commits. Improves code review and version history clarity.

Sby Skills Guide Bot
DevelopmentBeginner
306/2/2026
Claude Code
#git#commits#conventional-commit#code-quality

Recommended for

Our review

Stages and commits changes using a standardized format with type prefixes.

Strengths

  • Enforces consistent commit message format
  • Automatically stages relevant files
  • Avoids committing sensitive files like .env
  • Uses conventional commit types for clarity

Limitations

  • May not handle complex branching or merge scenarios
  • Relies on git status output which might be incomplete for untracked files
  • Commits without confirmation, which could accidentally commit unrelated changes
When to use it

Use when you need to commit changes with a clear, standardized message that follows conventional commits.

When not to use it

Avoid when you need to write a detailed commit body or when changes are not ready for a single cohesive commit.

Security analysis

Caution
Quality score88/100

The skill automates git commit operations which can modify repository history. While it uses shell commands, these are standard and limited to staging and committing. There is no destructive pattern, exfiltration, or disabling of safeguards. The instruction to avoid staging secrets is present but not enforced. Overall, it is legitimate but warrants caution due to automated file modification.

No concerns found

Examples

Standard commit
Stage and commit my changes with a proper conventional commit message.
Specific commit type
Commit the staged changes with type 'feat' and description 'add user authentication'.

name: commit description: Stage and commit changes with standardized format user-invocable: true disable-model-invocation: true

Standardized Commit

Current State

!git status --short

!git diff --stat

!git diff --cached --stat

Instructions

Based on the git status and diff above:

  1. Stage changes if not already staged:

    • Stage relevant files (use judgment on what belongs together)
    • Do not stage unrelated changes
    • Do not stage files that likely contain secrets (.env, credentials, tokens)
  2. Write commit message in this format:

    <type>: <description>
    

    Types:

    • fix: Bug fix
    • feat: New feature
    • refactor: Code restructuring (no behavior change)
    • docs: Documentation only
    • test: Adding/updating tests
    • chore: Build, config, tooling changes

    Rules:

    • Description is lowercase, no period at the end
    • Keep under 72 characters total
    • Be specific: not "fix bug" but "fix null pointer in request handler"
    • Use imperative mood: "add feature" not "added feature"
  3. Commit without asking for confirmation. Use a HEREDOC for the message:

    git commit -m "$(cat <<'EOF'
    <type>: <description>
    EOF
    )"
    

Examples

Good:

  • fix: handle empty response in sglang backend
  • feat: add per-user rate limiting middleware
  • refactor: extract token validation to separate module
  • docs: update sglang disaggregation deployment guide
  • chore: bump maturin version to 1.8

Bad:

  • Fix bug (too vague, wrong case)
  • Updated code (meaningless, past tense)
  • WIP (not a complete commit)
  • fix: fix the thing. (period, vague)
Related skills