agentsclimarketplace

Git workflow and versioning

Skill vignesh2027/AI-AGENT-SKILLS/skills/git-workflow-and-versioning

Turn your ai agent into senior engineer..The result is fast code that fails slowly. AI Agent Skills solves this by giving agents the same disciplined workflows senior engineers use

Install
npx -y skills add vignesh2027/AI-AGENT-SKILLS --skill git-workflow-and-versioning

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

  • 2 stars2 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

Branching strategy, commit discipline, PR hygiene, and semantic versioning

SKILL.md

2.3 KB, as published. Nobody here has run it

Overview

Git history is documentation. A clear commit history enables fast debugging, safe reverts, and meaningful changelogs. This skill enforces the habits that make git useful as a tool rather than just a backup system.

When to Use

  • Before starting any branch
  • Before committing changes
  • Before creating a PR
  • When tagging a release

Process

Step 1: Branch naming

Use: <type>/<description> — e.g., feat/user-search, fix/login-redirect, chore/update-deps Types: feat, fix, docs, chore, refactor, perf, test

Step 2: Commit messages

Follow Conventional Commits:

<type>(<scope>): <description>

[optional body]
[optional footer]

Examples:

  • feat(auth): add OAuth2 login with Google
  • fix(api): handle null user_id in /profile endpoint
  • perf(db): add index on users.email column

Rules:

  • Description is imperative mood ("add" not "added")
  • Under 72 characters
  • One logical change per commit
  • Reference ticket: Closes #123

Step 3: Keep PRs small

A PR should be reviewable in under 30 minutes. If it takes longer, it's too big. Split it.

  • One logical change per PR
  • No PRs with 500+ line diffs (with rare exceptions)
  • No WIP code in a PR

Step 4: PR description

Every PR must have:

  • What changed (not a list of files, but a description of the change)
  • Why it changed
  • How to test it
  • Screenshots for UI changes
  • Link to the ticket

Step 5: Semantic versioning

MAJOR.MINOR.PATCH

  • MAJOR: breaking change (removing an API, changing a contract)
  • MINOR: backward-compatible new feature
  • PATCH: backward-compatible bug fix

Tag releases: git tag v1.2.3 -m "Release 1.2.3"

Step 6: Git hygiene

  • Never force push to main/master
  • Never commit secrets (use pre-commit hooks: gitleaks, detect-secrets)
  • Rebase feature branches on main before merging (or squash)
  • Delete branches after merge

Verification Requirements

  • Branch follows naming convention
  • Commits follow Conventional Commits format
  • PR has description with: what, why, how to test
  • PR is reviewable in under 30 minutes
  • No secrets committed (pre-commit hook confirms)
  • Release tagged with semantic version

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.