KS
Killer-Skills

git-workflow — git-workflow setup guide git-workflow setup guide, how to use git-workflow, git repository management, git workflow patterns, git-workflow vs git flow, git-workflow install, git-workflow tutorial, git workflow best practices, git-workflow alternative

v1.0.0
GitHub

About this Skill

Ideal for Code Management Agents requiring automated Git repository updates and collaborative workflow management. git-workflow is a repository management skill that provides patterns for Git workflow, enabling developers to efficiently commit, update, and share their work.

Features

Commits work using `git add` and `git commit` commands
Updates repositories using `git fetch` and `git pull` commands
Shares work upstream by creating pull requests
Uses `git push` to update the origin main branch
Follows a specific commit message format for clarity
Requires manual approval before creating pull requests

# Core Topics

jkomoros jkomoros
[0]
[0]
Updated: 3/6/2026

Quality Score

Top 5%
30
Excellent
Based on code quality & docs
Installation
SYS Universal Install (Auto-Detect)
Cursor IDE Windsurf IDE VS Code IDE
> npx killer-skills add jkomoros/community-patterns/git-workflow

Agent Capability Analysis

The git-workflow MCP Server by jkomoros is an open-source Categories.community integration for Claude and other AI agents, enabling seamless task automation and capability expansion. Optimized for git-workflow setup guide, how to use git-workflow, git repository management.

Ideal Agent Persona

Ideal for Code Management Agents requiring automated Git repository updates and collaborative workflow management.

Core Value

Empowers agents to manage Git repositories efficiently using Git commands like git add, git commit, and git push, facilitating seamless collaboration and version control through protocols like Git fetch and Git pull.

Capabilities Granted for git-workflow MCP Server

Automating commit messages with descriptive updates
Updating local repositories with upstream changes using git fetch and git pull
Creating pull requests for community-driven projects

! Prerequisites & Limits

  • Requires Git installation and configuration
  • Needs repository access and credentials
  • Manual intervention required for creating pull requests
Project
SKILL.md
3.6 KB
.cursorrules
1.2 KB
package.json
240 B
Ready
UTF-8

# Tags

[No tags]
SKILL.md
Readonly

Git Workflow

Committing Work

bash
1cd ~/Code/community-patterns 2 3git add patterns/$GITHUB_USER/pattern.tsx 4git commit -m "Add pattern: description" 5git push origin main

Getting Updates (Already done in Step 1)

bash
1git fetch upstream 2git pull --rebase upstream main 3git push origin main

Sharing Work Upstream (Creating Pull Requests)

IMPORTANT: Wait for user to tell you to create a PR. Don't push or create PRs automatically.

Before creating any PR, you MUST update from main and rebase your branch:

Step 0: Update and Rebase Before Creating PR

Use cached repository type from workspace config:

bash
1# Read IS_FORK from .claude-workspace (set during Step 2) 2IS_FORK=$(grep "^is_fork=" .claude-workspace | cut -d= -f2) 3 4# Determine which remote to use 5if [ "$IS_FORK" = "true" ]; then 6 echo "Working on fork - will fetch from upstream" 7 MAIN_REMOTE="upstream" 8else 9 echo "Working on main repo - will fetch from origin" 10 MAIN_REMOTE="origin" 11fi

Then fetch latest main and rebase your branch:

bash
1# Fetch latest main 2git fetch $MAIN_REMOTE 3 4# Rebase current branch on top of main 5git rebase $MAIN_REMOTE/main 6 7# If rebase succeeds, push (force-with-lease if on feature branch) 8if [ "$(git branch --show-current)" != "main" ]; then 9 git push origin $(git branch --show-current) --force-with-lease 10else 11 git push origin main 12fi

If rebase has conflicts:

  1. Show conflict files: git status
  2. Help resolve conflicts
  3. Continue: git rebase --continue
  4. Then push

Why this matters:

  • Ensures your PR is based on the latest main
  • Avoids merge conflicts during PR review
  • Makes PR review easier

If User Has Their Own Fork (Most Common)

When user wants to contribute patterns from their fork to upstream:

Step 1: Ensure changes are committed and pushed to their fork

bash
1cd ~/Code/community-patterns 2git status # Verify all changes are committed 3git push origin main

Step 2: Update and rebase (see Step 0 above)

Step 3: Create pull request to upstream

bash
1gh pr create \ 2 --repo jkomoros/community-patterns \ 3 --title "Add: pattern name" \ 4 --body "$(cat <<'EOF' 5## Summary 6- Brief description of the pattern 7- Key features 8- Use cases 9 10## Testing 11- [x] Pattern compiles without errors 12- [x] Tested in browser at http://localhost:8000 13- [x] All features working as expected 14 15🤖 Generated with [Claude Code](https://claude.com/claude-code) 16EOF 17)"

If Working Directly on jkomoros/community-patterns

CRITICAL: When working directly on the upstream repository, you MUST use branches and PRs. Direct pushes to main are NOT allowed.

Step 1: Create feature branch

bash
1cd ~/Code/community-patterns 2git checkout -b username/feature-name

Step 2: Commit and push branch

bash
1git add patterns/$GITHUB_USER/ 2git commit -m "Add: pattern name" 3git push origin username/feature-name

Step 3: Update and rebase (see Step 0 above)

Step 4: Create pull request

bash
1gh pr create \ 2 --title "Add: pattern name" \ 3 --body "$(cat <<'EOF' 4## Summary 5- Brief description 6 7## Testing 8- [x] Tested and working 9 10🤖 Generated with [Claude Code](https://claude.com/claude-code) 11EOF 12)"

Step 5: Merge with rebase (when approved)

bash
1gh pr merge PR_NUMBER --rebase --delete-branch

Important Notes

  • Always wait for user permission before creating PRs
  • All PRs are merged with --rebase (NOT --squash or --merge)
  • This preserves individual commit history
  • Commit frequently locally, but only create PR when user asks
  • PRs will be reviewed before merging to upstream
  • After merge, everyone gets your patterns automatically on next update

Related Skills

Looking for an alternative to git-workflow or building a Categories.community AI Agent? Explore these related open-source MCP Servers.

View All

widget-generator

Logo of f
f

widget-generator is an open-source AI agent skill for creating widget plugins that are injected into prompt feeds on prompts.chat. It supports two rendering modes: standard prompt widgets using default PromptCard styling and custom render widgets built as full React components.

149.6k
0
Design

chat-sdk

Logo of lobehub
lobehub

chat-sdk is a unified TypeScript SDK for building chat bots across multiple platforms, providing a single interface for deploying bot logic.

73.0k
0
Communication

zustand

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
Communication

data-fetching

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
Communication