agentleFS
EffortlessMetricsEffortlessMetrics/demo-swarm/.claude/skills/commit/SKILL.md

commit

Skill0 starsChanged 10 months agoApache-2.0View on GitHub

Create a commit with forensic evidence. In the flow model, repo-operator owns git; this skill is for direct invocation outside flows. Types: feat, fix, refactor, test, docs, chore

  • 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

9 rules. 0 are common, 8 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 174 edited versions we read keep these.

  • 8

    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. Distinctive:

    Create a commit with forensic evidence.

    line 3
  2. Distinctive:

    Before committing, run and report:

    line 6
  3. Distinctive:

    Tests status: - run relevant tests, report pass/fail

    line 14
  4. Distinctive:

    Lint status: - run linter, report clean or issues

    line 15
  5. Distinctive:

    Run git status and git diff --stat

    line 32
  6. Very specific:

    Run project test command (detect from CLAUDE.md or use cargo test/npm test/etc.)

    line 33
  7. Distinctive:

    Run project lint command

    line 34
  8. Distinctive:

    Never push, create PRs, or amend unless explicitly asked

    line 43
  9. Distinctive:

    If tests fail, stop and report - do not commit

    line 44

“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 Skill

Create a commit with forensic evidence. In the flow model, repo-operator owns git; this skill is for direct invocation outside flows.

Pre-Commit Verification

Before committing, run and report:

git status
git diff --stat

Evidence to Collect

  1. Files changed - list with add/remove line counts
  2. Tests status - run relevant tests, report pass/fail
  3. Lint status - run linter, report clean or issues

Commit Message Format

<type>: <short description>

<body - what changed and why>

Evidence:
- Tests: <pass/fail count>
- Lint: <clean/warnings>
- Files: <count> changed, +<added>/-<removed> lines

Types: feat, fix, refactor, test, docs, chore

Execution

  1. Run git status and git diff --stat
  2. Run project test command (detect from CLAUDE.md or use cargo test/npm test/etc.)
  3. Run project lint command
  4. Compose commit message with evidence
  5. Stage relevant files (not .env, credentials, large binaries)
  6. Execute commit
  7. Show git log -1 --stat to confirm

Rules

  • Never use --no-verify
  • Never force push
  • Never push, create PRs, or amend unless explicitly asked
  • If tests fail, stop and report - do not commit

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.