agentsclimarketplace

Git conventions

Skill rexeus/agentic/skills/git-conventions

Provides git workflow conventions including Conventional Commits, branch naming, and PR descriptions. Applied when committing, branching, or creating pull requests.From its SKILL.md

Install
npx -y skills add rexeus/agentic --skill git-conventions

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

  • 3 stars3 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.

SKILL.md

4.9 KB, as published. Nobody here has run it

Git Conventions

Commits tell a story. Reading git log --oneline should explain the evolution of a project — every change purposeful, every message clear. When this skill is active, apply these conventions to all git operations.

Conventional Commits

Follow the Conventional Commits 1.0.0 specification (conventionalcommits.org):

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

[optional body]

[optional footer(s)]

Types

TypeWhen to useSemver impact
featNew feature for the userMINOR
fixBug fixPATCH
docsDocumentation only—
styleFormatting, no logic change—
refactorCode change, no feature or fix—
perfPerformance improvementPATCH
testAdding or correcting tests—
buildBuild system or dependencies—
ciCI/CD configuration—
choreMaintenance, no production code—
revertReverts a previous commit—

Rules

  • Description: imperative mood, lowercase, no period. Max 100 characters. Good: feat(auth): add token refresh endpoint Bad: feat(auth): Added Token Refresh Endpoint.
  • Scope: optional. Use the module or component name. feat(auth), fix(api), refactor(db)
  • Body: explain WHAT changed and WHY. The diff shows HOW. Wrap at 72 characters. Separate from description with a blank line. Multiple paragraphs are allowed — separate them with blank lines.
  • Breaking changes: add ! after type/scope OR BREAKING CHANGE: in footer. BREAKING-CHANGE (hyphen) is a valid synonym. feat(api)!: change authentication to OAuth2

Choosing the Right Type

  • Changed behavior for the user? → feat or fix
  • Changed internals without affecting behavior? → refactor
  • Only moved or renamed things? → refactor
  • Only changed comments or docs? → docs
  • Only changed tests? → test
  • Undoing a previous commit? → revert
  • Multiple types in one commit? → The commit is too large. Split it.

Footers

Footers follow git-trailer format: Token: value or Token #value. They appear after the body, separated by a blank line. One footer per line. Multi-word tokens use - (exception: BREAKING CHANGE with space).

FooterPurposeExample
BREAKING CHANGEDescribe breakageBREAKING CHANGE: removed v1 endpoints
FixesClose an issueFixes #42
RefsReference issuesRefs #123, #456
Co-authored-byCredit co-authorCo-authored-by: Name <email>
Reviewed-byCredit reviewerReviewed-by: Name <email>

Examples

Minimal — title only:

fix(auth): prevent token expiry race condition

With body and issue reference:

feat(api): add batch processing endpoint

Process up to 100 items in a single request. Uses chunked
transfer encoding for large payloads.

Fixes #234

Breaking change with footer:

refactor(db)!: migrate from MySQL to PostgreSQL

Replace all MySQL-specific queries with PostgreSQL equivalents.
Connection pooling now uses pgBouncer.

BREAKING CHANGE: database connection string format changed,
requires migration script before deployment
Refs #89

Branch Naming

Pattern: <type>/<short-description>

feat/token-refresh
fix/null-reference-login
refactor/extract-auth-service
  • Use lowercase and hyphens
  • Keep it short but descriptive
  • Match the type to Conventional Commits types

Commit Discipline

  • One logical change per commit. If you need "and" to describe it, split it.
  • Never commit generated files (dist/, build/, node_modules/).
  • Never commit secrets (.env, credentials, API keys).
  • Never commit debug code (console.log, debugger, TODO: remove).
  • Commit messages tell a story. Reading git log --oneline should explain the evolution of the project.

Adapting to the Project

Before applying these conventions:

  1. Read the last 20 commit messages: git log --oneline -20
  2. Check for a CONTRIBUTING.md or commit message guidelines
  3. If the project uses a different convention, follow theirs
  4. Match the language of existing commits (English, German, etc.)

Keep looking

Skills are one crate of 627,801. 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.