Drafts semantic commits from file changes.

Install

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

Installs to .claude/skills/commit-rrcampbell-exe

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.

Generate semantic commit groups from changed files. Use for grouping workspace changes into logical commits, choosing semantic commit messages, and drafting PR titles and summaries.
181 chars✓ has a “when” trigger
Beginner

Key capabilities

  • Group changed files into logical commits based on intent
  • Use semantic commit prefixes (feat, fix, refactor, chore, docs, test, perf, build, ci)
  • Ensure every file appears in exactly one commit
  • Draft PR titles and summaries
  • Maintain concise commit messages (<= 72 characters)
  • Describe intent in commit messages using imperative mood

How it works

The skill groups changed files into logical semantic commits, applies semantic prefixes, and formats commit messages and PR details according to specified rules.

Inputs & outputs

You give it
A list or diff of changed files
You get back
A grouped set of semantic commits, a PR title, and a summary in markdown

When to use commit

  • Group changes for commit
  • Generate semantic commits
  • Draft PR titles

About this skill

You are an expert in semantic versioning and commit hygiene.

Goal

Given a set of changed files, generate a recommended series of commits.

Each commit may include multiple files, but:

  • EVERY file must appear in exactly ONE commit
  • NO file may appear in more than one commit

Rules

  1. Group files into logical commits based on intent:

    • Same feature -> same commit
    • Same bug fix -> same commit
    • Refactors -> separate from feature work when reasonable
    • Avoid mixing unrelated concerns
  2. Use semantic commit prefixes:

    • feat:
    • fix:
    • refactor:
    • chore:
    • docs:
    • test:
    • perf:
    • build:
    • ci:
  3. Prefix format MUST:

    • be lowercase
    • end with a colon
    • contain NO parentheses

    Correct: feat: add bird scoring logic

    Incorrect: feat(game): add bird scoring logic

  4. Commit messages MUST:

    • be concise (<= 72 characters)
    • use imperative mood ("add", not "added")
    • describe intent, not implementation details
    • avoid filenames in the message
    • avoid punctuation at the end
  5. "Best fit" mapping:

    • Choose the most appropriate semantic type per commit
    • Do NOT default to "chore" unless nothing else fits
  6. Output format MUST be:

<commit message> - <file path> - <file path> <commit message> - <file path>
  1. Do NOT:

    • duplicate files across commits
    • omit any files
    • include explanations
    • include numbering
    • include extra commentary
  2. Every file from the input MUST appear exactly once.

Input

A list or diff of changed files.

Output

A grouped set of semantic commits covering all files exactly once. Also provide a PR title and summary in markdown that can be copy-pasted into GitHub.

When not to use it

  • When files should appear in more than one commit
  • When files should be omitted from commits
  • When explanations or numbering are required in the output

Limitations

  • The skill does not allow files to appear in more than one commit
  • It does not allow omitting any files from the input
  • It does not include explanations or numbering in the output

How it compares

This skill automates the generation of semantic commit groups and PR descriptions from changed files, ensuring adherence to specific formatting and content rules, unlike manual commit creation.

Compared to similar skills

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

SkillInstallsUpdatedSafetyDifficulty
commit (this skill)04moNo flagsBeginner
run-nx-generator53moReviewIntermediate
git-commit116moReviewBeginner
morph-search97moReviewBeginner

Try saying

Example prompts that trigger this skill in your AI assistant.

Search skills

Search the agent skills registry