agentleFS
PawelBednarekPunksPawelBednarekPunks/aidevbird-skills/skills/create-commit/SKILL.md

create-commit

Skill1 starsChanged 7 days agoMITView on GitHub

Create one verified, task-scoped git commit (only task files, lint and tests first, never pushes). Use only when the user asks to commit or runs /create_commit.

7 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use create-pr.

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-pr

    Create pull requests following Sentry conventions. Use when opening PRs, writing PR descriptions, or preparing changes for review. Follows Sentry's code review guidelines.

    Also in 4 projects that use this

The file

We split this skill into the rules it gives an agent

1 rule. 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 7 edited versions we read keep these.

  • 0

    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:

    Write the message using the conventional-commit skill, in this shape:

    line 17

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

Create Commit

Preconditions — stop if any fails:

  • The user asked to commit. Never commit on your own.
  • git branch --show-current is not empty (detached HEAD) and not main/master/develop, unless the user said to commit there.
  • You read git status --short, git diff and git diff --cached first.

Steps:

  1. Stage only the paths of the current task with git add <path>.... Never git add -A or git add .. If the set is unclear, or already-staged files are unrelated, ask.
  2. git diff --cached --check — stop on whitespace or conflict markers.
  3. Find the project's own lint and test commands (package.json, Makefile, nx.json, pyproject.toml, Cargo.toml, CI config). Run the ones affected by the change, after the last edit. Stop on non-zero exit.
  4. Write the message using the conventional-commit skill, in this shape:
<type>(<scope>): <description> [ABC-123]

Why:
<one reason>

Changes:
- <2–5 concrete outcomes from the staged diff>

Tests:
- <command> — <result>   (or "not run — <why>")
  • Ticket: Jira-style key from the branch name (feature/ABC-123-x → [ABC-123]); omit if none.
  • Body required for code changes; a trivial docs/format commit may skip it. Lines ≤ 100 chars.
  • Pass subject and each section as separate -m arguments.
  1. git commit. Never --no-verify. If a hook fails, fix and commit again — don't amend.
  2. Report hash, subject, files and test results. Do not push, amend, rebase or open a PR.

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.