Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
eyadsibai avatar

Git Workflows

  • 50 installs
  • 7 repo stars
  • Updated January 15, 2026
  • eyadsibai/ltk

Helps with automation & workflows tasks.

About

git workflows is a Claude Code skill for automation & workflows. It helps solo builders move faster with AI-assisted development.

  • git workflows
  • Automation & Workflows
  • AI-coding skill

Git Workflows by the numbers

  • 50 all-time installs (skills.sh)
  • Ranked #1,082 of 2,715 Automation & Workflows skills by installs in the Skillselion catalog
  • Data as of Jul 30, 2026 (Skillselion catalog sync)
npx skills add https://github.com/eyadsibai/ltk --skill git-workflows

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs50
repo stars7
Last updatedJanuary 15, 2026
Repositoryeyadsibai/ltk

What it does

Helps with automation & workflows tasks.

Files

SKILL.mdMarkdownGitHub ↗

Git Workflows

Comprehensive git workflow skill for commits, pull requests, branching, and changelog generation.

---

Commit Message Format

Conventional Commits

PartPurposeExample
TypeCategory of changefeat, fix, docs
ScopeAffected component(auth), (api)
SubjectBrief descriptionadd OAuth2 login
BodyDetails (optional)Why + what changed
FooterReferencesCloses #123

Commit Types

TypeWhen to Use
featNew feature
fixBug fix
docsDocumentation only
styleFormatting (no code change)
refactorCode restructuring
testAdding/updating tests
choreMaintenance, deps
perfPerformance improvement

Commit Analysis Workflow

1. Run git diff --staged to see changes 2. Identify change type (feat, fix, etc.) 3. Determine scope (affected component) 4. Write concise subject (< 50 chars) 5. Add body if context needed

---

Pull Request Structure

PR Template Elements

SectionContent
SummaryWhat this PR does (1-2 sentences)
ChangesBullet list of specific changes
TestingHow changes were tested
ScreenshotsIf UI changes
ChecklistTests pass, docs updated

PR Analysis Workflow

1. List commits: git log main..HEAD --oneline 2. Identify themes across commits 3. Note any breaking changes 4. Check test coverage 5. Review documentation needs

---

Branch Strategies

Git Flow

BranchPurpose
mainProduction code
developIntegration branch
feature/New features
release/Release preparation
hotfix/Production fixes

GitHub Flow

BranchPurpose
mainAlways deployable
feature branchesShort-lived work

Trunk-Based

BranchPurpose
mainAll development
Short branches< 1 day
Feature flagsIncomplete work

Branch Naming

PatternExample
Featurefeature/ABC-123-add-user-auth
Bugfixbugfix/ABC-456-fix-login
Hotfixhotfix/critical-security-patch
Releaserelease/v1.2.0

---

Changelog Format

Keep a Changelog Structure

SectionContent
AddedNew features
ChangedChanges in existing functionality
DeprecatedSoon-to-be removed features
RemovedRemoved features
FixedBug fixes
SecuritySecurity fixes

Changelog Generation Workflow

1. Get commits since last release tag 2. Parse commit messages for type/scope 3. Group by category (Added, Fixed, etc.) 4. Format with links to issues/PRs

---

Best Practices

Commits

PracticeWhy
Atomic commitsOne logical change per commit
Clear messagesExplain why, not just what
Reference issuesLink to related tickets
Sign commitsGPG verification

Pull Requests

PracticeWhy
Small PRs< 400 lines ideal for review
Clear titleSummarize the change
Self-review firstCheck diff before requesting
Respond promptlyAddress feedback quickly

Branches

PracticeWhy
Short-livedMerge within days
Up to dateRebase regularly
Clean historySquash before merge
Delete after mergeKeep repo clean

---

Merge Strategies

StrategyWhen to UseResult
Merge commitPreserve historyMerge commit node
SquashClean up messy historySingle commit
RebaseLinear historyNo merge commit
Fast-forwardSimple, linearNo merge commit

Key concept: Squash for feature branches with messy commits. Rebase for clean linear history. Merge commit when branch history matters.

---

Common Git Commands

Pre-Commit

CommandPurpose
git statusSee staged/unstaged changes
git diff --stagedReview what will be committed
git add -pInteractive staging

Commit

CommandPurpose
git commit -m "msg"Commit with message
git commit --amendFix last commit (before push)

Branch Management

CommandPurpose
git branch -d nameDelete merged branch
git fetch --pruneRemove stale remotes
git rebase mainUpdate branch with main

PR Workflow

CommandPurpose
git push -u origin branchPush and set upstream
gh pr createCreate PR via CLI
gh pr mergeMerge PR via CLI

Resources

  • Conventional Commits: <https://www.conventionalcommits.org/>
  • Keep a Changelog: <https://keepachangelog.com/>
  • Git Book: <https://git-scm.com/book>

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.