agentleFS
seven-hills-softwareseven-hills-software/skillwright-skills/commit-conventions/SKILL.md

commit-conventions

Skill0 starsChanged 5 months agoMITView on GitHub

Conventional Commits format plus atomic-PR discipline. Keeps history readable and changelogs automatic.

7 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 6 edited versions we read keep these.

  • 3

    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:

    Every commit and pull-request title must follow Conventional Commits.

    line 14
  2. Distinctive:

    Keep PRs under 400 lines of diff where possible.

    line 68
  3. Distinctive:

    Every PR description ends with a "Test plan" checklist a reviewer can run.

    line 69

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

Every commit and pull-request title must follow Conventional Commits. The format is non-negotiable because release notes and version bumps are generated from it.

Format

<type>(<optional scope>): <subject>

<optional body — wrapped at 72 columns>

<optional footer — issue refs, breaking change notices>

Types

TypeWhen to use it
featNew user-facing capability
fixBug fix
perfCode change that improves performance
refactorRestructure without changing behaviour
docsDocumentation only
testAdding or correcting tests
buildBuild system, dependencies, packaging
ciCI configuration
choreMaintenance with no source impact (e.g. version bumps)
revertRevert of a previous commit (include the reverted SHA in the body)

Subject line

  • Imperative mood: add not added or adds.
  • Lowercase, no trailing period.
  • ≤72 characters total including type and scope.
  • Describe what the commit changes, not how.

Good: feat(auth): add WebAuthn fallback for legacy browsers Bad: Updated some files for auth

Body

  • Optional, but expected for any non-trivial change.
  • Explain why, not what — the diff already shows what.
  • Reference the design doc, ticket, or incident that motivated the change.
  • Wrap lines at 72 columns.

Footer

  • BREAKING CHANGE: on its own line, followed by a description and the migration path.
  • Refs: for issue numbers (Refs: #123, #456).
  • Co-authored-by: for pair-programming credit.

Atomic PR rules

  • One PR = one reviewable concern. Mixing a refactor with a bug fix doubles review time.
  • A PR's title must match the merge commit's title (use squash merge with conventional title).
  • Keep PRs under 400 lines of diff where possible. If you need more, split.
  • Every PR description ends with a "Test plan" checklist a reviewer can run.

Common mistakes to flag

  • Mixing refactor and feat in one commit. Split it.
  • Using chore to disguise a behaviour change. Use the right type.
  • Stacked WIP commits inside a PR. Squash before merge or use fixup commits.
  • Force-pushing over a reviewer's pending feedback. Add a new commit instead.

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.