agentleFS
rumoiirumoii/rumo-engineering-skills/skills/rumo-git-commit/SKILL.md

rumo-git-commit

Skill7 starsChanged 14 days agoMITView on GitHub

Use when the user explicitly asks to commit, tag, release, push, clean up history, land a worktree or feature branch, open or update a pull request, or watch or fix the CI checks of an open pull request. Follow repository conventions for branch selection, commit language, message format, verification, and release versioning. Do not use merely because work is finished; without an explicit request, stop after rumo-verify.

We split this skill into the rules it gives an agent

16 rules. About 0 are common, 11 are distinctive, and 5 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈11

    Distinctive · estimate

    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:

    Read AGENTS.md, CONTRIBUTING.md, release documentation, commit hooks, CI rules, and recent accepted history.

    line 12
  2. Very specific:

    Do not require a particular language, trailer set, version scheme, or branch pattern merely because this skill is installed.

    line 14
  3. Distinctive:

    After creating a commit, read its full message to confirm the intended title and body were saved before any authorized push.

    line 23
  4. Distinctive:

    Never create a tag unless the user explicitly asks for tagging or release work.

    line 24
  5. Distinctive:

    Never push unless the user explicitly asks.

    line 25
  6. Very specific:

    Before a requested push, use rumo-verify on the exact outgoing diff.

    line 27
  7. Distinctive:

    Prefer the user-named target.

    line 31
  8. Distinctive:

    When the source is a worktree or feature branch:

    line 33
  9. Distinctive:

    Commit the task on the source branch.

    line 35
  10. Distinctive:

    Stop on divergence unless the user chooses merge or rebase.

    line 39
  11. Distinctive:

    Prefer cherry-pick for a linear landing unless topology must be preserved or the user requested merge.

    line 41
  12. Distinctive:

    Verify the landed state before push.

    line 42
  13. Very specific:

    Write the body in four parts: why the change is needed, what behavior changes, the verification actually run (taken from the rumo-verify …

    line 51
  14. Distinctive:

    Add signatures, trailers, labels, and reviewers only as the repository convention or the user requires.

    line 52
  15. Distinctive:

    Use the hosting platform's CLI or web interface.

    line 53
  16. Very specific:

    Use the repository-owned versioning and release mechanism.

    line 59

≈ “Common” is an estimate: at least 1 in 5 of the 308,232 skill files we read have a rule of the same kind, not the same words. “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

Git Commit

Perform only the Git operations explicitly requested by the user. Confirm the repository, worktree, current branch, upstream, target branch, outgoing scope, and dirty state before staging or changing history.

Repository Conventions

Read AGENTS.md, CONTRIBUTING.md, release documentation, commit hooks, CI rules, and recent accepted history. Use their commit language and message format. If no reliable convention exists, follow the dominant recent history or ask when the choice materially affects acceptance.

Do not require a particular language, trailer set, version scheme, or branch pattern merely because this skill is installed. Optional private conventions may come from rumo-project-profile.

Commit

  • Stage only files belonging to the current task.
  • Preserve unrelated tracked, staged, unstaged, and untracked work.
  • Split atomic commits when changes are independently reviewable and each commit remains usable.
  • For substantive behavior changes, include a commit body explaining why the change is needed, the main changes, and verification actually performed; state when verification was not run. Only purely mechanical changes, such as formatting or spelling fixes, may use a title alone.
  • Write the reason as a fact about the code, its users, or the evidence, never as the conversation that led to it ("as the user asked", "per review", "per the final decision"); see Remove Session Residue in rumo-prose. When the change takes back draft wording or a temporary approach from earlier in the same unfinished work, name the resulting state rather than the removal. A git revert commit keeps its standard "Revert" title.
  • After creating a commit, read its full message to confirm the intended title and body were saved before any authorized push.
  • Never create a tag unless the user explicitly asks for tagging or release work.
  • Never push unless the user explicitly asks.

Before a requested push, use rumo-verify on the exact outgoing diff. Reuse still-valid evidence rather than rerunning unchanged checks.

Branch Landing

Prefer the user-named target. Otherwise resolve the target from repository documentation, the remote default branch, upstream configuration, or an unambiguous long-lived branch. Do not invent product branch patterns.

When the source is a worktree or feature branch:

  1. Commit the task on the source branch.
  2. Require a clean target worktree.
  3. Fetch and inspect divergence.
  4. Fast-forward when only behind.
  5. Stop on divergence unless the user chooses merge or rebase.
  6. Precheck conflicts with git merge-tree when available.
  7. Prefer cherry-pick for a linear landing unless topology must be preserved or the user requested merge.
  8. Verify the landed state before push.

History rewriting, interactive rebase, force push, deleting branches, and replacing tags require a preview and explicit confirmation because they can invalidate other clones or references.

Pull Request

Open or update a pull request only when the user asks.

  • Confirm the remote, source branch, and target branch, and that the source is pushed. Follow the repository's pull request template when one exists.
  • Write the body in four parts: why the change is needed, what behavior changes, the verification actually run (taken from the rumo-verify report), and risks, rollback, and boundaries not verified.
  • Add signatures, trailers, labels, and reviewers only as the repository convention or the user requires. Never merge it automatically, and do not edit someone else's pull request.
  • Use the hosting platform's CLI or web interface; when neither is available, give the user the title and body to paste.

When the user asks to watch or fix the checks of an open pull request, read references/pr-checks.md first. Watching reports results only. A request to fix covers local fixes; committing and pushing them still need the user's explicit request, as above. Neither merges nor marks the pull request ready.

Release

Use the repository-owned versioning and release mechanism. Run the bundled scripts/calver.py only when the repository explicitly adopts its CalVer scheme or the user specifically requests it. Tag the final landing commit, never an intermediate worktree commit.

Report commits created, branches affected, verification executed, push or tag results, and any remote divergence or acceptance boundary not verified.

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.