agentsclimarketplace

Git workflow

Skill pablodiazjorge/prompt-forge/packages/claude/.claude/skills/git-workflow

Drop-in toolkit that gives AI coding agents persistent memory across sessions. Agent Skills, cross-session learning loop, and knowledge persistence. Zero dependencies, no backend.

Install
npx -y skills add pablodiazjorge/prompt-forge --skill git-workflow

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

Git best practices for AI coding agents. Use when committing changes, creating branches, splitting PRs, reviewing code, or setting up worktrees. Covers Conventional Commits v1.0.0 spec, atomic commits, stacked PRs, squash-based workflow, and worktree patterns.

The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.

SKILL.md

2.5 KB, as published. Nobody here has run it

Git Workflow

Conventional Commits v1.0.0

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

[optional body]

[optional footer(s)]

Types

TypeSemVerUse
featMINORNew feature
fixPATCHBug fix
docsDocumentation only
styleFormatting, no logic change
refactorCode change, no fix/feature
perfPerformance improvement
testAdding/correcting tests
choreBuild, deps, tooling
ciCI/CD config
revertReverting commits

BREAKING CHANGE (MAJOR)

Two valid forms per spec:

feat(api)!: send email on shipment       # ! before :
feat: allow config extension

BREAKING CHANGE: `extends` key now used for extending configs

Revert

revert: let us never speak of the noodle incident

Refs: 676104e, a215868

Atomic Commits

One logical change per commit. Use git add -p for interactive staging:

git add -p                     # Stage hunks interactively
git add src/models/            # Stage specific directory

Good: "Add user model and validation" / Bad: "Add user model, fix navbar bug, update readme"

PR Splitting (Stacked PRs)

  1. PR 1 (base): Models, interfaces, types
  2. PR 2 (logic): Services, state management
  3. PR 3 (UI): Components, templates, styles
  4. PR 4 (tests): Unit/integration tests

Each PR compiles independently. Squash-based workflow: lead maintainer cleans commit messages on merge.

Branch Naming

feature/<name>   fix/<name>   refactor/<name>   docs/<name>   chore/<name>

Worktrees (for PR reviews)

git worktree add -b review-pr-42 ../review feature/branch
git worktree list
git worktree remove ../review

Stashing

git stash                              # Quick
git stash push -m "WIP: refactoring"   # Named
git stash --include-untracked          # + untracked
git stash --staged                     # Only staged
git stash pop                          # Apply latest

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.