agentleFS
ForeverAProgrammerForeverAProgrammer/claude-devflow/skills/commit/SKILL.md

commit

Skill0 starsChanged 9 months agoMITView on GitHub

Generate a git commit message and apply it immediately.

193 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use review-r, act-on-feedback and 9 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • luischanciSkill

    review-r

    Run the R code review protocol on R scripts. Checks code quality, reproducibility, domain correctness, and professional standards. Produces a report without editing files.

    Also in 3 projects that use this

  • MicrosoftSkill

    act-on-feedback

    Act on user feedback attached to the current session. Use when the user submits feedback on the session's changes via the Submit Feedback button.

    Also in 3 projects that use this

  • MicrosoftSkill

    generate-run-commands

    Generate or modify run commands for the current session. Use when the user wants to set up or update run commands that appear in the session's Run button.

    Also in 3 projects that use this

  • AWSSkill

    issue

    Implement a GitHub issue end-to-end — branch, code, test, docs, and commit.

    Also in 9 projects that use this

  • luischanciSkill

    validate-bib

    Validate bibliography entries against citations in all manuscript files. Find missing entries and unused references.

    Also in 3 projects that use this

  • skilluseSkill

    epic

    Create and manage Epics - collections of related issues for major feature areas. Use when starting a new project(big feature), organizing work into themes, or adding reference documents.

    Also in 3 projects that use this

  • +2 more from luischanci

The file

We split this skill into the rules it gives an agent

5 rules. 0 are common, 4 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 174 edited versions we read keep these.

  • 4

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  • could be automatic: a setting could enforce it
  1. Distinctive:

    If there are staged changes, run git diff --staged to see what will be committed.

    line 9
  2. Distinctive:

    If there are no staged changes, run git add -A to stage everything, then run git diff --staged to see what will be committed.

    line 10
  3. Very specific:

    Use Conventional Commits format: type(scope): short description

    line 15
  4. Distinctive:

    If the change needs more explanation, add a blank line then a short body (2-4 sentences max)

    line 18
  5. Distinctive:

    Do not include "Generated by", "Co-Authored-By", or any meta-commentary

    line 20

“Common” is measured: kept by at least 6 in 10 of the 174 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Generate a git commit message and apply it immediately.

First, run git diff --staged --stat to check for staged changes.

  • If there are staged changes, run git diff --staged to see what will be committed.
  • If there are no staged changes, run git add -A to stage everything, then run git diff --staged to see what will be committed.

Also run git log --oneline -5 to understand recent context.

Then write a commit message following these rules:

  • Use Conventional Commits format: type(scope): short description
  • Types: feat, fix, docs, style, refactor, test, chore
  • Subject line: imperative tense, under 72 characters, no period at end
  • If the change needs more explanation, add a blank line then a short body (2-4 sentences max)
  • Body explains what and why, not how
  • Do not include "Generated by", "Co-Authored-By", or any meta-commentary

Before committing, run ls CHANGELOG.md 2>/dev/null to check if a changelog file exists in the repo root. If it does, regenerate the ## Unreleased section using the same rules as the /changelog command — treating the changes about to be committed as already included — and overwrite CHANGELOG.md with the result. Then stage CHANGELOG.md with git add CHANGELOG.md so it is included in the commit.

Apply the commit immediately with git commit -m "...". Show the commit message and the output of git commit so the user can see what was committed. Do not ask for confirmation first.

$ARGUMENTS

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.