agentleFS
gokulkrishhgokulkrishh/skills/skills/commit/SKILL.md

commit

Skill3 starsChanged 9 months agoMITView on GitHub

Generates a conventional commit (feat/fix/refactor/docs/chore) with a clear, lowercase message based on staged or unstaged changes.

193 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use create-branch, review-r and 10 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.
  • SentrySkill

    create-branch

    Create a git branch following Sentry naming conventions. Use when asked to "create a branch", "new branch", "start a branch", "make a branch", "switch to a new branch", or when starting new work on the default branch.

    Also in 4 projects that use this

  • 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

  • +2 more from luischanci

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 174 edited versions we read keep these.

  • 3

    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
  1. Very specific:

    Run git diff --staged to see staged changes.

    line 13
  2. Distinctive:

    Write a concise, lowercase conventional commit message (no period at end).

    line 20
  3. Distinctive:

    Do NOT push unless explicitly asked.

    line 31
  4. Distinctive:

    Always lowercase after the type prefix

    line 36

“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

Instructions

  1. Run git diff --staged to see staged changes. If nothing is staged, run git diff to see unstaged changes and stage them with git add (specific files, not -A).
  2. Analyze the diff and determine the commit type:
    • feat: — new feature or functionality
    • fix: — bug fix or correction
    • refactor: — code restructuring without behavior change
    • docs: — documentation only
    • chore: — tooling, deps, config changes
  3. Write a concise, lowercase conventional commit message (no period at end). Focus on the "what" in a single line.
  4. Commit using:
git commit -m "$(cat <<'EOF'
type: message here

EOF
)"
  1. Do NOT push unless explicitly asked.
  2. Show the commit hash and message after committing.

Style Rules

  • Always lowercase after the type prefix
  • No trailing period
  • Keep under 72 characters
  • Single line — no multi-line body unless the change is complex
  • Examples from this repo:
    • fix: simplify user authentication fallback rendering and improve loading skeleton styles
    • feat: add motion-plus dependency and remove setup script for auth token injection
    • refactor: remove unused SignIn import from DemoState component

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.