Writes and creates conventional commits based on your current git changes.

Install

mkdir -p .claude/skills/commit-nethesis && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/19260" && unzip -o skill.zip -d .claude/skills/commit-nethesis && rm skill.zip

Installs to .claude/skills/commit-nethesis

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Review git changes, write a Conventional Commit message, and create a git commit without pushing. Use when the user wants to commit all current changes or a specific scoped subset of files.
189 chars✓ has a “when” trigger
Beginner

Key capabilities

  • Review current git changes using `git status --short`.
  • Inspect relevant diffs for a requested scope.
  • Stage specific files or hunks for a commit.
  • Write a Conventional Commit message following specified rules.
  • Create a git commit.
  • Report the final commit hash and subject.

How it works

The skill reviews the current working tree, stages intended files, and then creates a commit with a Conventional Commit message.

Inputs & outputs

You give it
A description of what should be committed or the scope to review.
You get back
The commit hash, the final subject line, and a short summary of what was included in the commit.

When to use commit

  • Create a commit for all staged changes
  • Review and commit a subset of modified files
  • Generate a conventional commit message for a bug fix

About this skill

Commit

Use this skill when the task is to inspect the current git changes, prepare a Conventional Commit message, and create a commit.

Constraints

  • Do not push, amend, rebase, or rewrite history unless the user explicitly asks.
  • Do not include unrelated changes when the requested commit scope is narrower than the full working tree.
  • Only create a commit after reviewing the current git status and the relevant diff.
  • If the requested scope is ambiguous, clarify the intended files before staging or committing.

Procedure

  1. Review the current working tree with git status --short and inspect the relevant diff for the requested scope.
  2. Decide whether the current changes belong in one coherent commit or should be split into multiple commits.
  3. If only part of the working tree should be committed, stage only the intended files or hunks.
  4. Write a Conventional Commit message that matches the actual change.
  5. Create the commit.
  6. Report the final commit hash and subject back to the user.

Commit Message Rules

  • Use the format below.
  • Keep the subject line at 50 characters or fewer.
  • Use imperative mood.
  • Capitalize the subject.
  • Do not end the subject with a period.
  • Add a body only when it improves clarity.
  • When a body is needed, leave one blank line before it and wrap lines near 72 characters.
  • Explain both what changed and why, not just the file list.

Commit Format

<type>(<scope>): <subject>

<body>

Valid type examples: feat, fix, docs, refactor, test, chore, ci, build, perf.

If no conventional scope is helpful, omit the parentheses and use <type>: <subject>.

Output Expectations

After committing, provide:

  • The commit hash
  • The final subject line
  • A short summary of what was included in the commit

When not to use it

  • When the user explicitly asks to push changes.
  • When the user explicitly asks to amend, rebase, or rewrite history.
  • When the requested commit scope is narrower than the full working tree but unrelated changes are included.

Limitations

  • It does not push, amend, rebase, or rewrite history.
  • It only creates a commit after reviewing the current git status and relevant diff.
  • It requires clarification if the requested scope is ambiguous before staging or committing.

How it compares

This skill automates the review, staging, and commit message generation process, unlike manually performing each git command.

Compared to similar skills

commit side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
commit (this skill)03moNo flagsBeginner
run-nx-generator52moReviewIntermediate
git-commit116moReviewBeginner
morph-search96moReviewBeginner

Try saying

Example prompts that trigger this skill in your AI assistant.

Search skills

Search the agent skills registry