git-workflow
Git best practices including commit message conventions, interactive rebase, conflict resolution, and repository hygiene.
Skill by Claude-Code-Community-Ireland
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/claude-code-community-ireland-git-workflow
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: productivity
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/git-workflow
What's inside
- Skill name
git-workflow- Description
- Git best practices including commit message conventions, interactive rebase, conflict resolution, and repository hygiene. Reference for all git operations.
- License
- MIT
- Instructions
- 253 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Git Workflow ## Conventional Commit Format ``` <type>(<scope>): <description> [optional body] [optional footer(s)] ``` ### Commit Types | Type | Purpose | Example | |------------|----------------------------------------------|----------------------------------------------| | `feat` | New feature for the user | `feat(auth): add OAuth2 login flow` | | `fix` | Bug fix for the user | `fix(cart): correct quantity calculation` | | `refactor` | Code change that neither fixes nor adds | `refactor(api): simplify request middleware` | | `docs` | Documentation only changes | `docs(readme): add setup instructions` | | `test` | Adding or correcting tests | `test(auth): add login failure scenarios` | | `chore` | Maintenance tasks, dependencies | `chore(deps): upgrade lodash to 4.17.21` | | `perf` | Performance improvement | `perf(query): add index for user lookup` | | `style` | Formatting, whitespace, semicolons | `style(lint): fix indentation in models` | | `ci` | CI configuration and scripts | `ci(actions): add Node 20 to test matrix` | | `revert` | Reverts a previous commit | `revert: revert feat(auth) commit abc123` | ### Commit Message Rules - Subject line: max 72 characters, imperative mood, no trailing period - Body: wrap at 80 characters, explain what and why (not how) - Footer: reference issues with `Closes #123` or `Refs #456` - Breaking changes: add `BREAKING CHANGE:` in the footer or `!` after type ``` feat(api)!: change authentication endpoint response shape The /auth/login endpoint now returns a nested token object instead of a flat structure. This aligns with our OAuth2 token standard. BREAKING CHANGE: response.token is now response.auth.access_token Closes #892 ``` ## Commit Atomicity Each commit must represent exactly one logical change. - [ ] Address a single concern (one bug fix, one feature slice, one refactor) - [ ] Leave the codebase in a working state (tests pass, code compiles) - [ ] Be revertable without side effects on unrelated code - [ ] Include related test changes alongside the code change - [ ] Never mix formatting with logic changes - [ ] Never bundle unrelated bug fixes together ```bash # Stage specific hunks, specific files, then verify git add -p git add src/auth/login.ts src/auth/login.test.ts git diff --cached ``` ## Interactive Rebase ```bash git rebase -i HEAD~5 # Rebase last N commits git rebase -i main # Rebase onto a branch ``` ### Rebase Commands | Command | Short | Effect | |------------|-------|-------------------------------------------------| | `pick` | `p` | Keep the commit as-is | | `reword` | `r` | Keep the commit but edit the message | | `edit` | `e` | Pause to amend the commit (add files, split) | | `squash` | `s` | Merge into the previous commit, keep message | | `fixup` | `f` | Merge into previous commit, discard message | | `drop` | `d` | Remove the commit entirely | **Squash WIP commits:** ``` pick a1b2c3d feat(auth): add login endpoint fixup e4f5g6h wip fixup i7j8k9l fix tests ``` **Fixup a commit further back:** ```bash git commit --fixup=<target-sha> git rebase -i --autosquash main ``` **Split a commit (mark as "edit"):** ```bash git reset HEAD~1 git add src/models/user.ts git commit -m "refactor(models): extract user validation" git add src/routes/auth.ts git commit -m "feat(auth): add login route" git rebase --continue ``` ## Merge vs Rebase | Use Rebase | Use Merge | |----------------------------------------------|---------------------------------------------------| | Updating feature branch from main | Integrating feature branch into main (`--no-ff`) | | Cleaning up local commits before pushing | Shared branches others have based work on | | Maintaining linear history on personal branch | Preserving context of parallel development | - Never rebase commits pushed to a shared branch - Always rebase local work before pushing - Use `git pull --rebase` to avoid unnecessary merge commits ```bash git checkout feature/login && git rebase main # Update feature git checkout main && git merge --no-ff feature/login # Merge feature ```
From Claude-Code-Community-Ireland/claude-code-resources, MIT.
More from Claude-Code-Community-Ireland/claude-code-resources
- 0.477score
start-of-day
Claude-Code-Community-Ireland
Comprehensive daily project sync - checks git repos, analyzes all code, reads documentation, and provides status report.
SkillDFreshness: D★ 11Claude Code +9 - 0.477score
performance-profiling
Claude-Code-Community-Ireland
Performance analysis methodology — identifying bottlenecks, profiling techniques, benchmarking, and common optimization patterns.
SkillDFreshness: D★ 11Claude Code +9 - 0.477score
architecture-decision-record
Claude-Code-Community-Ireland
ADR format and methodology for documenting significant technical decisions with context, alternatives considered, and consequences.
SkillDFreshness: D★ 11Claude Code +9 - 0.477score
incident-response
Claude-Code-Community-Ireland
Incident response procedures — triage, communication, investigation, mitigation, and post-incident review.
SkillDFreshness: D★ 11Claude Code +9 - 0.477score
conventional-commits
Claude-Code-Community-Ireland
Generate well-formatted conventional commit messages from staged changes.
SkillDFreshness: D★ 11Claude Code +9 - 0.477score
tdd-workflow
Claude-Code-Community-Ireland
Test-driven development methodology — red-green-refactor cycle, writing failing tests first, minimal implementation, and iterative refinement.
SkillDFreshness: D★ 11Claude Code +9 - 0.477score
debugging-systematic
Claude-Code-Community-Ireland
Systematic debugging methodology — binary search isolation, hypothesis-driven debugging, reproducing issues, and root cause analysis.
SkillDFreshness: D★ 11Claude Code +9 - 0.477score
dependency-audit
Claude-Code-Community-Ireland
Dependency management and auditing — evaluating new dependencies, security vulnerability scanning, update strategies, and license compliance.
SkillDFreshness: D★ 11Claude Code +9 - 0.477score
community-code-reviewer
Claude-Code-Community-Ireland
Perform thorough, constructive code reviews on pull requests and code changes.
SkillDFreshness: D★ 11Claude Code +9 - 0.477score
finish-the-day
Claude-Code-Community-Ireland
End-of-day wrap up - analyzes all work done, creates detailed daily update log, commits all changes, and pushes to remote.
SkillDFreshness: D★ 11Claude Code +9 - 0.477score
discord
Claude-Code-Community-Ireland
Manage your Discord server - post announcements, create events, moderate, and more.
SkillDFreshness: D★ 11Claude Code +9 - 0.477score
refactoring-patterns
Claude-Code-Community-Ireland
Safe refactoring techniques — extract method, rename, move, inline, and structural patterns.
SkillDFreshness: D★ 11Claude Code +9
Signals
- Stars
- 11
- Forks
- 4
- Open issues
- 4
- Last commit (this folder)
- Jan 29, 2026 (9 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from Claude-Code-Community-Ireland
- 0.477score
debugging-systematic
Claude-Code-Community-Ireland
Systematic debugging methodology — binary search isolation, hypothesis-driven debugging, reproducing issues, and root cause analysis.
SkillDFreshness: D★ 11Claude Code +9 - 0.477score
dependency-audit
Claude-Code-Community-Ireland
Dependency management and auditing — evaluating new dependencies, security vulnerability scanning, update strategies, and license compliance.
SkillDFreshness: D★ 11Claude Code +9 - 0.477score
architecture-decision-record
Claude-Code-Community-Ireland
ADR format and methodology for documenting significant technical decisions with context, alternatives considered, and consequences.
SkillDFreshness: D★ 11Claude Code +9 - 0.477score
community-code-reviewer
Claude-Code-Community-Ireland
Perform thorough, constructive code reviews on pull requests and code changes.
SkillDFreshness: D★ 11Claude Code +9 - 0.477score
conventional-commits
Claude-Code-Community-Ireland
Generate well-formatted conventional commit messages from staged changes.
SkillDFreshness: D★ 11Claude Code +9 - 0.477score
discord
Claude-Code-Community-Ireland
Manage your Discord server - post announcements, create events, moderate, and more.
SkillDFreshness: D★ 11Claude Code +9
Cite this page
git-workflow skill. Agent Mart. https://agentmart.dev/skills/claude-code-community-ireland-git-workflow (last updated 2026-10-24)