agentleFS
ostin-pilostin-pil/aboard/.claude/skills/commit/SKILL.md

commit

Skill2 starsChanged 4 months agoApache-2.0View on GitHub

Stage and commit changes following the project's prefix(topic) convention

  • Reads credentials

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

8 rules. 0 are common, 3 are distinctive, and 5 are 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.

  • 5

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

    Commit pending changes using the project convention: prefix(topic): short description

    line 7
  2. Distinctive:

    No arguments: auto-generate the commit message from the diff

    line 11
  3. Very specific:

    Run git status (never use -uall) and git diff to see all pending changes

    line 16
  4. Very specific:

    If $ARGUMENTS is provided, use it as the commit message.

    line 23
  5. Very specific:

    Commit using a HEREDOC (no Co-Authored-By trailer, ever):

    line 31
  6. Very specific:

    Never add Co-Authored-By trailers

    line 44
  7. Distinctive:

    Never use git add -A or git add .

    line 45
  8. Distinctive:

    If there are no changes to commit, say so and stop

    line 46

“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

Commit pending changes using the project convention: prefix(topic): short description

Arguments

  • No arguments: auto-generate the commit message from the diff
  • $ARGUMENTS provided: use it as the commit message (must still follow convention)

Process

  1. Run git status (never use -uall) and git diff to see all pending changes
  2. Exclude these from staging — never commit them:
    • .env, credentials.json, secrets
    • node_modules/, .next/, out/, build/
    • /tmp/ debug logs, scratch files
    • .DS_Store
  3. Stage all remaining changed/new files with git add <file>... (list files explicitly, never git add -A)
  4. If $ARGUMENTS is provided, use it as the commit message. Otherwise, analyze the diff and generate one:
    • Prefix — infer from the nature of the change:
      • feat — new feature or capability
      • fix — bug fix
      • docs — documentation, session logs, research
      • chore — config, scripts, tooling, dependencies
    • Topic — the area of the codebase, e.g.: claims, graph, dossier, forecast, schema, jsonld, ui, data, lib, scripts, research, sessions, config, deps, claude
    • Description — concise, lowercase, under 72 chars total, focuses on "why" not "what"
  5. Commit using a HEREDOC (no Co-Authored-By trailer, ever):
    git commit -m "$(cat <<'EOF'
    prefix(topic): short description
    EOF
    )"
  6. Report: show the commit hash and full message

Rules

  • One logical change per commit — if changes span unrelated areas, ask the user to split
  • Title must be under 72 characters
  • Never add Co-Authored-By trailers
  • Never use git add -A or git add .
  • If there are no changes to commit, say so and stop

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.