agentsclimarketplace

Git convention

Skill duckyman-ai/agent-skills/skills/git-convention

πŸ¦† Ducky's agent skills collection

Install
npx -y skills add duckyman-ai/agent-skills --skill git-convention

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Write conventional git commit messages following the Angular commit convention format. Use this skill whenever writing commit messages, creating commits, reviewing git history, generating changelogs, or any task involving git version control. Triggers when you see "commit", "git commit", "commit message", "changelog", "version control", "git history", "semantic commit", "conventional commit", or when the user asks to commit changes, create a PR, or review commit history. Also use when setting up commit linting or husky hooks for enforcing commit conventions.

SKILL.md

4.4 KB, as published. Nobody here has run it

Git Convention Skill

Write conventional commit messages that are machine-readable, enable automatic changelog generation, and drive semantic versioning (fix β†’ PATCH, feat β†’ MINOR, BREAKING CHANGE β†’ MAJOR).

Format

<type>[optional scope][!]: <subject>

[optional body]

[optional footer(s)]

Append ! after type/scope to flag a breaking change without a footer: feat!: or feat(api)!:.

Type

TypeDescription
featNew feature
fixBug fix
docsDocumentation changes
styleFormatting, whitespace (no logic change)
refactorCode change that neither fixes a bug nor adds a feature
perfPerformance improvement
testAdding or correcting tests
buildBuild system or dependency changes
ciCI configuration changes
choreOther changes not modifying src or test files
revertReverts a previous commit

Scope

The scope identifies the area of change β€” module, package, component, or feature name. Use lowercase, keep it short.

Examples: auth, api, ui, user, core, payment, config

Subject Rules

  • Imperative, present tense: "add" not "added" or "adds"
  • Lowercase first letter, no period at the end
  • Under 72 characters

Body

Explain what changed and why, not how. Separate from subject with a blank line. Use bullet points for multiple changes.

Footer

One or more footers in git trailer format (Token: value or Token #value). Common tokens:

  • Closes #123 β€” link to issues
  • BREAKING CHANGE: description β€” note breaking API changes
  • Refs: #456 β€” reference related commits/PRs
  • Reviewed-by: Name β€” credit reviewers

Examples

Feature:

feat(auth): add login with Google

- Add GoogleSignInButton component
- Update auth service to handle OAuth tokens
- Handle failed authentication with error boundary

Closes #123

Bug fix:

fix(api): handle null response from user endpoint

Null responses crashed the app. Return empty user object instead.

Breaking change (footer):

feat(core): change user model structure

BREAKING CHANGE: User.id is now String instead of int.
All database queries need updating.

Breaking change (! notation):

feat(api)!: send email when product ships

Refactoring:

refactor(user): extract validation to separate class

Move validation from UserService to UserValidator for testability.

Best Practices

DO:

  • Use imperative mood throughout ("add", "move", "fix")
  • Keep subject under 72 characters
  • Explain what and why in the body
  • Reference issues in the footer
  • One logical change per commit

DON'T:

  • Use past tense
  • Capitalize subject or end with period
  • Mix multiple types in one commit
  • Write vague subjects like "update stuff"
  • Explain how the code works in the message
  • Add Co-Authored-By or AI attribution lines

Tooling

These tools make conventional commits practical by automating enforcement and changelog generation. Search for the right tool based on your project's language:

Commit linting β€” reject commits that don't follow the format. Works as a git hook (often via husky, pre-commit, or lefthook).

Changelog generation β€” read commit history and produce a categorized CHANGELOG.md automatically:

  • feat β†’ Features section
  • fix β†’ Bug Fixes section
  • BREAKING CHANGE β†’ Breaking Changes section

Popular options by ecosystem:

  • JS/TS: commitlint + conventional-changelog
  • Python: commitizen
  • Flutter/Dart: changelog_cli + conventional_commit
  • Android: jreleaser + conventional-commit-gradle-plugin
  • Go: goreleaser + git-chglog
  • Rust: cog (cocogitto)
  • Ruby: commitizen-rb
  • Java/Kotlin: jreleaser + conventional-commit-gradle-plugin
  • .NET/C#: GitVersion + MinVer
  • PHP: conventional-commits-php

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.