agentleFS
awattarawattar/claude-code-best-practices/.claude/skills/conventional-commits/SKILL.md

conventional-commits

Skill262 starsChanged 6 months agoMITView on GitHub

Use when writing git commit messages in this repository. Enforces the project's conventional commit format — type prefix, GitHub issue reference, and atomic commits — as defined in .gitmessage and .github/COMMIT_CONVENTION.md.

38 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use pr-description, changelog and 1 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.
  • accolverSkill

    pr-description

    Generate pull-request descriptions from branch diffs when the task is to explain change scope, motivation, testing, risk, and reviewer guidance for a reviewable branch.

    Also in 4 projects that use this

  • HashiCorpSkill

    changelog

    Add a `.changelog/<PR_NUMBER>.txt` entry for a GitHub Pull Request, commit, and push.

    Also in 3 projects that use this

  • GoogleSkill

    code-review

    Adversarial systems, concurrency, memory-model, and architecture code review protocol. Use this skill whenever asked to review code, PRs, diffs, or branches in Filament.

    Also in 5 projects that use this

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 37 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    When creating any git commit in this repository, follow the project's commit convention.

    line 8
  2. Very specific:

    Every bullet starts with - and ends with ..

    line 32
  3. Distinctive:

    Use present tense, imperative mood ("add feature", not "added feature").

    line 33
  4. Distinctive:

    Keep commits atomic — one logical concern per commit.

    line 34
  5. Distinctive:

    NEVER add trailers such as "Generated with Claude Code", author info, or co-author lines.

    line 36
  6. Very specific:

    Commit-splitting guidance and workflow integration: .github/COMMIT_CONVENTION.md

    line 41

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

Conventional Commits

When creating any git commit in this repository, follow the project's commit convention. Unlike the /commit command (which the user invokes explicitly), this skill applies automatically whenever a commit message is being authored.

Format

Single-line, when a GitHub issue applies:

<type>: (#<issue_number>) <issue_name> - <description>.

Single-line, when no GitHub issue applies:

<type>: <description>.

Multiline, when the change spans multiple concerns:

<type>: (#<issue_number>) <issue_name>:
- <description_line_1>.
- <description_line_2>.

Rules

  • <type> is exactly one of: New feature, Fix issue, Other.
  • Single-line messages end with .; the first line of a multiline message ends with :.
  • Every bullet starts with - and ends with ..
  • Use present tense, imperative mood ("add feature", not "added feature").
  • Keep commits atomic — one logical concern per commit. Split unrelated changes into separate commits.
  • NEVER add trailers such as "Generated with Claude Code", author info, or co-author lines.

References

  • Full template with examples: .gitmessage
  • Commit-splitting guidance and workflow integration: .github/COMMIT_CONVENTION.md
  • For an interactive, guided commit flow, use the /commit command.

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.