agentleFS
zishaan1911zishaan1911/claude-parallel-agents/skills/commit/SKILL.md

commit

Skill2 starsChanged 26 days agoMITView on GitHub

Commit work as small, single-purpose commits with one-line Conventional Commit messages, each gated on the project's own checks. Use whenever you are about to commit, split changes into commits, amend or reorder history, or the user says "commit", "one commit one thing", "logically isolated commits", or "conventional commit".

186 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use act-on-feedback, generate-run-commands 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.
  • 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 4 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 4 projects that use this

  • MindgamesSkill

    branch

    Use when a user asks to create a new local git branch and start issue work (for example, "create branch" or "start working on issue XYZ"). Use this for issue-based branch naming in the `type/scope-short-description` pattern and for always syncing local `main` from `origin/main` before creating the new branch, creating the local tracking `main` branch first when needed.

    Also in 9 projects that use this

  • decocmsSkill

    add-mcp-tools

    Guide for adding new MCP tools with consistent patterns for schemas, tool definitions, registry updates, and Better Auth integration

    Also in 3 projects that use this

  • thoughtbotSkill

    implement-with-tdd

    Implement a SPEC, plan, or feature outside-in, with TDD.

    Also in 3 projects that use this

  • thoughtbotSkill

    multi-lens-review

    Review a change for defects, then against its spec, its codebase's conventions, the domains trying to emerge from it, and whatever still depends on what it replaced.

    Also in 3 projects that use this

  • +1 more from thoughtbot

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 165 edited versions we read keep these.

  • 4

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    One commit does one thing: Never bundle two concerns.

    line 14
  2. Distinctive:

    Describe the change, not the process: No mention of AI, rewrites, rebuilt history or how the change was produced.

    line 20
  3. Distinctive:

    No AI in authorship: No co-author trailer or "with <assistant>" unless the harness or the user requires one.

    line 22
  4. Distinctive:

    If one hunk mixes two concerns, reset the file and replay the edits one concern at a time, committing after each.

    line 39

“Common” is measured: kept by at least 6 in 10 of the 165 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

Rules

  • One commit does one thing. Never bundle two concerns. Plan commit boundaries before editing, and commit after each change instead of splitting at the end.
  • Message = one line, no body. Conventional Commits: feat:, fix:, refactor:, docs:, test:, build:, ci:, chore:, optional scope (fix(parser): ...). Imperative, lower case, no trailing period.
  • Describe the change, not the process. No mention of AI, rewrites, rebuilt history or how the change was produced.
  • No AI in authorship. No co-author trailer or "with <assistant>" unless the harness or the user requires one. Use the user's name where a name is needed.
  • Every commit passes. Find the project's checks (CI config, Makefile, package scripts, README) and chain them with &&, never ;, so a broken commit never lands.
  • Don't push, tag or merge unless asked.

Splitting existing changes

Interactive git add -p may be unavailable. Stage part of a file by applying a trimmed patch to the index:

git diff -U0 file > all.patch       # keep only this commit's hunks in part.patch
git apply --cached --unidiff-zero part.patch
git commit -m "fix(x): ..."

If one hunk mixes two concerns, reset the file and replay the edits one concern at a time, committing after each.

Before reporting

Show git log --oneline for the new commits.

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.