Our review
This guide provides best practices for Git usage: branch management, atomic commits, conflict resolution, and merge procedures.
Strengths
- Clear conventions for branch naming and commit messages
- Detailed conflict resolution process with step-by-step instructions
- Pre-merge checklist to avoid common mistakes
Limitations
- Assumes a specific naming scheme (feature/CR-NNN) which may not fit all projects
- Does not cover rebasing or advanced history rewriting
- Focuses on a linear workflow, may not suit git-flow or other strategies
Use this guide when you need a consistent Git workflow for feature branches and merging.
Do not use it for projects using different branching strategies like GitHub Flow or trunk-based development.
Security analysis
SafeThe skill provides only standard git workflow guidance with no destructive commands, file exfiltration, or unsafe instructions. All mentioned commands are typical and expected.
No concerns found
Examples
Create a new feature branch named feature/CR-042-user-auth from the development branch.Merge the development branch into the current feature branch and resolve any conflicts.Resolve the merge conflict in the file src/auth.js, keeping the changes from both branches where appropriate.name: git-workflow description: Use when the Integrator is performing git operations — committing, branching, merging feature branches, resolving conflicts, managing branch lifecycle, or maintaining commit history. Activates for any git-related work. version: 1.0.0
Git Workflow Expertise
When This Applies
Apply this guidance when:
- Creating or managing branches
- Committing and pushing changes
- Merging feature branches into development
- Resolving merge conflicts
- Managing commit history
Branch Management
Branch Naming
- Feature branches:
feature/CR-NNN-short-description - Hotfix branches:
hotfix/NNN-short-description - Keep names lowercase with hyphens
- Always include the CR or issue number
Branch Lifecycle
1. Create: git checkout -b feature/CR-001-user-auth development
2. Work: Multiple commits as work progresses
3. Update: git merge development (keep in sync)
4. Test: Run ALL tests before final merge
5. Merge: git checkout development && git merge --no-ff feature/CR-001-user-auth
6. Cleanup: git branch -d feature/CR-001-user-auth
Keeping Branches Current
Regularly sync feature branches with development:
git checkout feature/CR-001-user-auth
git merge development
# Resolve any conflicts
# Run tests to verify
Commit Practices
Commit Message Format
[TASK-NNN] Brief description of what changed
Optional longer description explaining:
- Why this change was made
- What approach was taken
- Any notable decisions
Commit Guidelines
- Atomic commits — Each commit should be one logical change
- Meaningful messages — "Fix bug" is bad; "[TASK-042] Fix null reference in auth token validation" is good
- Never commit broken code — All tests must pass before committing
- Reference the task — Always include the TASK-NNN in the commit message
- No merge commits in feature branches — Use
mergeonly when merging to development
What to Include in a Commit
- Source code changes related to the task
- Related configuration changes
- Updated documentation if behavior changed
What NOT to Commit
- Debug logging or temporary code
- IDE settings or personal configuration
- Unrelated changes (even if they're improvements)
- Files with secrets, tokens, or credentials
Merge Conflict Resolution
Process
- Identify conflicting files:
git status - For each conflict:
- Read BOTH sides of the conflict
- Understand the intent of each change
- Choose the correct resolution (may be a combination)
- Remove all conflict markers (
<<<<,====,>>>>)
- Run tests after resolving all conflicts
- Commit the merge
Conflict Prevention
- Sync feature branches with development frequently
- Communicate with other roles about shared file changes
- Keep changes focused — large diffs create more conflicts
Pre-Merge Checklist (feature → development)
- [ ] All tests pass on the feature branch
- [ ] Feature branch is up to date with development
- [ ] No unresolved merge conflicts
- [ ] Commit messages reference task IDs
- [ ] No debug code or temporary files
- [ ] Changes match the task scope (no extras)
- [ ] Notify Manager after successful merge
Next.js App Router Expert
Development
A skill that turns Claude into a Next.js App Router expert.
README Generator
Development
Creates professional and comprehensive README.md files for your projects.
API Documentation Writer
Development
Generates comprehensive API documentation in OpenAPI/Swagger format.