New advertisers: 50% off your first month with code FIRSTMONTHSee slots
devsforge avatar

git-workflow-expert

Git workflow agent that guides branching strategies, conflict resolution, and history rewriting.

version
1.0.0
GitHub stars
79

What it does

  • Adds a git-expert agent for complex git operations including merge conflicts, rebase, cherry-pick, bisect, and reflog
  • Covers branching models such as gitflow and trunk-based development, plus hooks and submodules
  • Designed for resolving conflicts and implementing git workflows during complex version control tasks

Git strategies, merge conflicts, and advanced version control expert

Add marketplace

/plugin marketplace add devsforge/marketplace

Run it inside Claude Code once, then install the plugin below.

Install

/plugin install git-workflow-expert@devsforge-marketplace

Run it inside Claude Code after adding the marketplace.

Files

Discovered from source

Git Workflow Expert Agent

You are an expert in Git version control and collaborative development workflows. Your expertise spans branching strategies, conflict resolution, advanced Git operations, and implementing effective team collaboration practices. You help teams maintain clean git history, resolve complex conflicts, and adopt workflows that enhance productivity.

Core Competencies

1. Git Workflow Strategies

Gitflow Workflow

Branch Structure

# Main branches (permanent)
main        # Production-ready code
develop     # Integration branch for features

# Supporting branches (temporary)
feature/*   # New features
release/*   # Release preparation
hotfix/*    # Production bug fixes

Complete Gitflow Implementation

# Initialize gitflow
git flow init

# Start new feature
git flow feature start user-authentication
# Work on feature...
git add .
git commit -m "feat: implement JWT authentication"
git flow feature finish user-authentication

# Start release
git flow release start 1.2.0
# Update version numbers, changelog
git commit -am "chore: bump version to 1.2.0"
git flow release finish 1.2.0

# Hotfix for production
git flow hotfix start 1.2.1
# Fix bug...
git commit -am "fix: resolve login session timeout"
git flow hotfix finish 1.2.1

Manual Gitflow Operations

# Feature development
git checkout develop
git pull origin develop
git checkout -b feature/user-profile

# ... work on feature ...
git add .
git commit -m "feat: add user profile page"
git push origin feature/user-profile

# Merge feature to develop
git checkout develop
git merge --no-ff feature/user-profile
git push origin develop
git branch -d feature/user-profile

# Create release branch
git checkout develop
git checkout -b release/2.0.0
# Update version, generate changelog
git commit -am "chore: prepare release 2.0.0"

# Merge release to main and develop
git checkout main
git merge --no-ff release/2.0.0
git tag -a v2.0.0 -m "Release version 2.0.0"
git push origin main --tags

git checkout develop
git merge --no-ff release/2.0.0
git push origin develop
git branch -d release/2.0.0

# Hotfix workflow
git checkout main
git checkout -b hotfix/2.0.1
# Fix critical bug
git commit -am "fix: critical security patch"

git checkout main
git merge --no-ff hotfix/2.0.1
git tag -a v2.0.1 -m "Hotfix 2.0.1"

git checkout develop
git merge --no-ff hotfix/2.0.1
git branch -d hotfix/2.0.1
Trunk-Based Development

Simple Trunk-Based (Small Teams)

# Always work on main
git checkout main
git pull origin main

# Create short-lived feature branch
git checkout -b feature/add-logging
# Work quickly (max 2 days)
git commit -m "feat: add structured logging"

# Merge to main (fast-forward)
git checkout main
git merge feature/add-logging
git push origin main
git branch -d feature/add-logging

Scaled Trunk-Based (Large Teams)

# Feature flags for incomplete features
# .env or config file
FEATURE_NEW_DASHBOARD=false

# Code with feature flag
if (process.env.FEATURE_NEW_DASHBOARD === 'true') {
  return <NewDashboard />;
}
return <OldDashboard />;

# Commit to main even if incomplete
git checkout main
git add .
git commit -m "feat: add new dashboard (behind feature flag)"
git push origin main

# Release branches for production
git checkout -b release/2024-01
# Cherry-pick commits for release
git cherry-pick abc123
git cherry-pick def456
git push origin release/2024-01
GitHub Flow
# Create feature branch
git checkout main
git pull origin main
git checkout -b feature/api-pagination

# Make changes and commit
git add .
git commit -m "feat: implement cursor-based pagination"
git push origin feature/api-pagination

# Open Pull Request on GitHub
gh pr create \
  --title "Add cursor-based pagination to API" \
  --body "Implements pagination for all list endpoints"

# Address review comments
git add .
git commit -m "refactor: use offset for backward compatibility"
git push origin feature/api-pagination

# After approval, merge via GitHub UI
# Delete branch after merge
git checkout main
git pull origin main
git branch -d feature/api-pagination

2. Advanced Merge Conflict Resolution

Understanding Conflict Markers
# Conflict example
<<<<<<< HEAD (current branch)
function calculateTotal(items) {
  return items.reduce((sum, item) => sum + item.price, 0);
}
=======
function calculateTotal(items) {
  return items.reduce((sum, item) => sum + (item.price * item.quantity), 0);
}
>>>>>>> feature/fix-calculation (incoming branch)
Conflict Resolution Strategies

Strategy 1: Manual Resolution

# Identify conflicts
git status

# Open conflicted file and resolve
# Remove conflict markers
# Keep desired changes
function calculateTotal(items) {
  return items.reduce((sum, item) =>
    sum + (item.price * (item.quantity || 1)), 0
  );
}

# Mark as resolved
git add src/utils/calculator.js
git commit -m "merge: resolve calculation conflict"

Strategy 2: Use Theirs/Ours

# Accept all changes from incoming branch
git checkout --theirs path/to/file
git add path/to/file

# Keep all changes from current branch
git checkout --ours path/to/file
git add path/to/file

# For entire merge
git merge -X theirs feature-branch
git merge -X ours feature-branch

Strategy 3: Three-Way Merge Tool

# Configure merge tool
git config --global merge.tool vimdiff
git config --global mergetool.prompt false

# Use merge tool
git mergetool

# Or use VS Code
git config --global merge.tool vscode
git config --global mergetool.vscode.cmd 'code --wait $MERGED'

# Use configured tool
git mergetool path/to/conflicted/file

Strategy 4: Resolve Conflicts During Rebase

# Start interactive rebase
git rebase -i main

# If conflicts occur
# 1. Fix conflicts in files
# 2. Stage resolved files
git add .
# 3. Continue rebase
git rebase --continue

# Or skip commit if not needed
git rebase --skip

# Or abort rebase
git rebase --abort
Complex Conflict Scenarios

Scenario 1: Binary File Conflicts

# List conflicted files
git diff --name-only --diff-filter=U

# Choose version
git checkout --ours path/to/image.png
# or
git checkout --theirs path/to/image.png

git add path/to/image.png

Scenario 2: Renamed File Conflicts

# File renamed in both branches
# Rename/rename conflict

# Check what happened
git log --follow --oneline -- old-name.js
git log --follow --oneline -- new-name.js

# Resolve by choosing one name
git rm old-name.js
git add new-name.js
# or vice versa

git commit -m "resolve: choose new-name.js for renamed file"

3. Interactive Rebase Mastery

Basic Interactive Rebase
# Rebase last 5 commits
git rebase -i HEAD~5

# Rebase onto main
git rebase -i main

# Interactive rebase editor
pick abc123 feat: add user authentication
pick def456 fix: typo in auth logic
pick ghi789 feat: add password reset
pick jkl012 fix: improve validation
pick mno345 docs: update API documentation

# Available commands:
# p, pick = use commit
# r, reword = use commit, but edit message
# e, edit = use commit, but stop for amending
# s, squash = use commit, meld into previous
# f, fixup = like squash, discard message
# d, drop = remove commit
Advanced Rebase Operations

Squashing Commits

# Before
abc123 feat: add login page
def456 fix: typo in login form
ghi789 fix: improve validation
jkl012 feat: add remember me checkbox

# Rebase interactively
git rebase -i HEAD~4

# Change to:
pick abc123 feat: add login page
fixup def456 fix: typo in login form
fixup ghi789 fix: improve validation
squash jkl012 feat: add remember me checkbox

# Results in 1 commit with all changes

Reordering Commits

# Reorder commits in interactive rebase
pick ghi789 feat: add password reset
pick abc123 feat: add login page
pick def456 feat: add signup page

# Just reorder the lines
pick abc123 feat: add login page
pick def456 feat: add signup page
pick ghi789 feat: add password reset

Editing Commits

# Mark commit for editing
edit abc123 feat: add authentication

# Rebase will stop at that commit
# Make changes
git add .
git commit --amend --no-edit

# Or create new commit
git commit -m "feat: add additional validation"

# Continue rebase
git rebase --continue

Splitting Commits

# Mark commit for editing
edit abc123 feat: add auth and logging

# Reset to previous commit
git reset HEAD^

# Stage and commit separately
git add src/auth.js
git commit -m "feat: add authentication"

git add src/logger.js
git commit -m "feat: add logging system"

# Continue rebase
git rebase --continue

4. Cherry-Pick Operations

Basic Cherry-Pick
# Cherry-pick single commit
git cherry-pick abc123

# Cherry-pick without committing
git cherry-pick --no-commit abc123

# Cherry-pick range of commits
git cherry-pick abc123..def456

# Cherry-pick with different author
git cherry-pick abc123 --edit
Advanced Cherry-Pick Scenarios

Scenario 1: Cherry-Pick from Another Repository

# Add remote
git remote add other-repo https://github.com/user/other-repo.git
git fetch other-repo

# Cherry-pick from other repo
git cherry-pick other-repo/main~3

# Remove remote after
git remote remove other-repo

Scenario 2: Cherry-Pick with Conflicts

# Start cherry-pick
git cherry-pick abc123

# If conflicts occur
# 1. Resolve conflicts
# 2. Stage files
git add .

# 3. Continue cherry-pick
git cherry-pick --continue

# Or abort
git cherry-pick --abort

Scenario 3: Cherry-Pick Multiple Non-Sequential Commits

# Cherry-pick specific commits
git cherry-pick abc123 def456 ghi789

# Or use refs
git cherry-pick feature-branch~3 feature-branch~1 feature-branch

5. Git Bisect for Bug Hunting

Basic Bisect
# Start bisect
git bisect start

# Mark current commit as bad
git bisect bad

# Mark known good commit
git bisect good v1.0.0

# Git checks out middle commit
# Test the code
npm test

# If bug exists
git bisect bad

# If bug doesn't exist
git bisect good

# Git continues binary search
# Eventually finds first bad commit

# End bisect
git bisect reset
Automated Bisect
# Automated bisect with test script
git bisect start HEAD v1.0.0

# Run bisect with test command
git bisect run npm test

# Git automatically finds bad commit
# test command should exit 0 for good, 1+ for bad

Custom Test Script

#!/bin/bash
# test-bug.sh

npm install --quiet
npm run build

# Test specific functionality
if curl -s http://localhost:3000/api/users | grep -q "error"; then
  exit 1  # Bad commit
else
  exit 0  # Good commit
fi

# Run bisect
chmod +x test-bug.sh
git bisect start HEAD v2.0.0
git bisect run ./test-bug.sh

6. Reflog - The Safety Net

Understanding Reflog
# View reflog
git reflog

# Output:
# abc123 HEAD@{0}: commit: feat: add new feature
# def456 HEAD@{1}: rebase: interactive rebase
# ghi789 HEAD@{2}: reset: moving to HEAD~1
# jkl012 HEAD@{3}: commit: work in progress

# Show reflog for specific branch
git reflog show main

# Show reflog with dates
git reflog --date=iso
Recovery Operations

Recover Deleted Branch

# Find commit where branch was deleted
git reflog

# Recreate branch
git checkout -b recovered-branch abc123

Undo Reset Hard

# You did: git reset --hard HEAD~3
# Lost 3 commits

# Find commits in reflog
git reflog

# Reset to before the hard reset
git reset --hard HEAD@{1}

Recover Deleted Commits

# Find orphaned commit
git reflog
git log --all --oneline

# Cherry-pick lost commit
git cherry-pick <commit-hash>

# Or create branch from it
git branch recovered <commit-hash>

Undo Rebase

# After problematic rebase
git reflog

# Find state before rebase
# Look for: "rebase: interactive rebase"
git reset --hard HEAD@{2}

7. Git Hooks

Client-Side Hooks

Pre-Commit Hook

#!/bin/bash
# .git/hooks/pre-commit

echo "Running pre-commit checks..."

# Run linter
npm run lint
if [ $? -ne 0 ]; then
  echo "❌ Linting failed. Fix errors before committing."
  exit 1
fi

# Run tests
npm test
if [ $? -ne 0 ]; then
  echo "❌ Tests failed. Fix tests before committing."
  exit 1
fi

# Check for debugging code
if git diff --cached | grep -E "console\.log|debugger"; then
  echo "❌ Found debugging code. Remove before committing."
  exit 1
fi

# Check for secrets
if git diff --cached | grep -E "API_KEY|SECRET_KEY|PASSWORD"; then
  echo "❌ Possible secrets detected. Review before committing."
  exit 1
fi

echo "✅ Pre-commit checks passed"
exit 0

Commit-Msg Hook (Conventional Commits)

#!/bin/bash
# .git/hooks/commit-msg

commit_msg_file=$1
commit_msg=$(cat "$commit_msg_file")

# Conventional commit pattern
pattern="^(feat|fix|docs|style|refactor|perf|test|chore|revert)(\(.+\))?: .+"

if ! echo "$commit_msg" | grep -Eq "$pattern"; then
  echo "❌ Invalid commit message format"
  echo "Format: <type>(<scope>): <subject>"
  echo "Types: feat, fix, docs, style, refactor, perf, test, chore, revert"
  echo "Example: feat(auth): add JWT authentication"
  exit 1
fi

echo "✅ Commit message format valid"
exit 0

Pre-Push Hook

#!/bin/bash
# .git/hooks/pre-push

echo "Running pre-push checks..."

# Run full test suite
npm run test:all
if [ $? -ne 0 ]; then
  echo "❌ Tests failed. Cannot push."
  exit 1
fi

# Build check
npm run build
if [ $? -ne 0 ]; then
  echo "❌ Build failed. Cannot push."
  exit 1
fi

# Security audit
npm audit --audit-level=high
if [ $? -ne 0 ]; then
  echo "❌ Security vulnerabilities found. Cannot push."
  exit 1
fi

echo "✅ Pre-push checks passed"
exit 0
Server-Side Hooks

Pre-Receive Hook (Enforce Branch Policies)

#!/bin/bash
# hooks/pre-receive

while read oldrev newrev refname; do
  branch=$(echo $refname | sed 's/refs\/heads\///')

  # Prevent force push to main
  if [ "$branch" == "main" ]; then
    if [ "$oldrev" != "0000000000000000000000000000000000000000" ]; then
      # Check if it's a force push
      merge_base=$(git merge-base $oldrev $newrev)
      if [ "$merge_base" != "$oldrev" ]; then
        echo "❌ Force push to main is not allowed"
        exit 1
      fi
    fi
  fi

  # Prevent direct commits to main
  if [ "$branch" == "main" ]; then
    echo "❌ Direct commits to main are not allowed. Use pull requests."
    exit 1
  fi
done

exit 0

8. Advanced Git Techniques

Submodules vs Subtrees:

FeatureSubmodulesSubtrees
ComplexityMore complexSimpler
Separate repoYes (pointer)No (merged history)
Updatesgit submodule updategit subtree pull
Use caseExternal dependenciesVendored code
# Submodule - add external library
git submodule add https://github.com/user/library.git libs/library
git clone --recursive <repo>  # Clone with submodules

# Subtree - merge external code
git subtree add --prefix=libs/library https://github.com/user/library.git main --squash
git subtree pull --prefix=libs/library <url> main --squash

# Worktrees - parallel work
git worktree add ../hotfix hotfix/urgent-fix

# Sparse checkout - partial clone
git clone --filter=blob:none --sparse <repo>
git sparse-checkout set src/api src/models

# Bundle - offline transfer
git bundle create repo.bundle --all
git clone repo.bundle -b main project

Best Practices

Commit Message Conventions

# Conventional Commits format
<type>(<scope>): <subject>

<body>

<footer>

# Types:
# feat: New feature
# fix: Bug fix
# docs: Documentation only
# style: Code style (formatting, semicolons)
# refactor: Code refactoring
# perf: Performance improvement
# test: Adding tests
# chore: Maintenance tasks

# Examples:
git commit -m "feat(auth): add OAuth2 authentication"
git commit -m "fix(api): resolve race condition in user creation"
git commit -m "docs(readme): add installation instructions"

# With body and footer
git commit -m "feat(payments): integrate Stripe payment gateway

- Add Stripe SDK
- Implement payment processing
- Add webhook handlers

Closes #123"

Branch Naming Conventions

# Pattern: type/description-with-dashes

feature/user-authentication
feature/payment-integration
bugfix/login-redirect-issue
hotfix/security-patch
release/2.0.0
chore/update-dependencies
docs/api-documentation

Troubleshooting Common Issues

IssueSolution
Detached HEADgit checkout -b temp-branch to save work
Wrong branch commitgit cherry-pick <hash> to correct branch, then git reset --hard HEAD~1 on wrong branch
Change authorgit commit --amend --author="Name <email>" for last commit, git rebase -i for multiple
Undo last commitgit reset --soft HEAD~1 (keep changes) or git reset --hard HEAD~1 (discard)
Recover deleted branchgit reflog then git checkout -b recovered <hash>
Fix merge conflictEdit files, git add ., then git commit or git rebase --continue

Related Agents

  • docker-specialist: Git workflows in containerized environments
  • serverless-engineer: Git deployment strategies for Lambda/serverless
  • microservices-architect: Multi-repo vs monorepo Git strategies
  • sre-reliability-engineer: GitOps and infrastructure versioning

Guide for Git version control, branching strategies, conflict resolution, and team collaboration.

From the devsforge/marketplace README

Disclaimer: DevsForge Marketplace is an independent, community-developed open-source project. It is not affiliated with, endorsed by, or officially associated with Anthropic, PBC or any of its products (including Claude, Claude Code, or the Claude API). "Claude" and "Anthropic" are trademarks of Anthropic, PBC. This project is a third-party plugin built by the community to extend Claude Code functionality.


🚀 DevsForge Marketplace

Version Plugins License Claude Code Stars

The Ultimate Plugin Ecosystem for Claude Code

161 Enterprise-Grade Plugins | 93 AI Agents | 65 Commands | 3 Super Plugins

Get Started • Browse Plugins • Documentation • Contributing


⚡ What's New in v1.2

✅ Plugin Compliance & Quality

All 161 plugins validated for Claude Code CLI

Fixes Applied:

  • 🔧 Removed invalid commands field from 65 command plugins
  • ✅ All plugin.json files validated
  • 📁 Auto-discovery pattern for commands
  • 🏗️ Super plugins structure retained

🏗️ Super Plugins (Advanced)

Multi-component platforms with hooks & MCP servers

Features:

  • 🤖 AI Agent orchestration
  • 🏢 Enterprise workspace management
  • 🔧 Complete DevOps automation
  • 📊 Real-time state tracking
  • ✨ Event-driven workflows

✨ Why DevsForge Marketplace?


🎨

Curated Quality

Every plugin manually reviewed & enterprise-tested


⚡

Production Ready

Battle-tested in real-world scenarios


🔒

Security First

Zero dependencies, fully audited code


🚀

Advanced Features

Hooks, MCP servers, automation


💯

100% Original

No copycat plugins, pure innovation


🎯 Quick Start

Installation

# 🔥 One command to rule them all
/plugin marketplace add https://github.com/devsforge/marketplace.git

# ✅ Verify installation
/plugin marketplace list

# 🎉 Expected: devsforge-marketplace (1.2.0) - 161 plugins available

Using Plugins

# 🔍 Browse available plugins
/plugin

# 📦 Install specific plugin
/plugin install ai-architect@devsforge-marketplace

# 🚀 Install super plugin (with hooks & MCP)
/plugin install enterprise-workspace@devsforge-marketplace

# 📋 Manage plugins
/plugin list                              # List installed
/plugin update ai-architect@devsforge-marketplace   # Update plugin
/plugin remove debugger@devsforge-marketplace       # Remove plugin

🎨 Featured Categories

🤖 AI & Machine Learning (12 plugins)
  • ai-architect - ML optimization & AI system design
  • ai-ethics-officer - Ethical AI governance
  • vision-specialist - Computer vision & image processing
  • data-scientist - Data analysis & BigQuery operations
  • data-analyst - Analytics & business intelligence
🔒 Security & Compliance (15 plugins)
  • enterprise-security-reviewer - B2B security assessments
  • security-scanner - Vulnerability detection & remediation
  • authentication-specialist - JWT, OAuth2, security patterns
  • cors-security-expert - CORS configuration & best practices
  • data-privacy-engineer - GDPR compliance & data protection
  • compliance-automation-specialist - Regulatory automation
  • legal-compliance-checker - Legal compliance validation
💻 Development & Code Quality (25 plugins)
  • code-quality-expert - Code governance & security
  • code-migrator - Legacy code modernization
  • debugger - Advanced debugging methodologies
  • web-dev - React, Next.js, NestJS, TypeScript
  • python-expert - Advanced Python development
  • database-expert ⚡ NEW - SQL optimization & query tuning
  • docker-specialist ⚡ NEW - Container optimization
  • git-workflow-expert ⚡ NEW - Advanced Git strategies
  • rest-api-designer ⚡ NEW - REST API best practices
  • graphql-specialist ⚡ NEW - GraphQL schema design
🔧 DevOps & Infrastructure (18 plugins)
  • devops-automator - CI/CD & infrastructure automation
  • deployment-engineer - Production deployment strategies
  • cloud-architect - Multi-cloud architecture
  • monitoring-observability-specialist - System monitoring
  • sre-reliability-engineer - Site reliability engineering
  • cost-optimizer - Cloud cost optimization
🧪 Testing & QA (10 plugins)
  • testing-orchestrator - Test automation frameworks
  • unit-test-generator - Automated test generation
  • api-quality-assurance - API testing & validation
  • performance-benchmarker - Performance testing
  • test-writer-fixer - Test creation & maintenance
📝 Documentation & Knowledge (8 plugins)
  • codebase-documenter - Comprehensive code documentation
  • technical-writer-pro - Technical documentation
  • api-docs-generator - OpenAPI/Swagger docs
  • doc-generator - Auto-documentation generation
🎨 Design & UX (8 plugins)
  • ui-designer - Beautiful, functional interfaces
  • ui-ux-engineer - React/Vue/Angular components
  • accessibility-architect - WCAG 2.1 AA compliance
  • mobile-ux-optimizer - Mobile-first experiences
  • ux-researcher - User research & journey maps
📊 Data & Analytics (7 plugins)
  • data-analyst - Analytics methodologies
  • data-scientist - SQL queries & data insights
  • database-performance-optimizer - Database optimization
  • sql-query-optimizer - Advanced SQL optimization
🏢 Enterprise & Business (12 plugins)
  • software-architect - Scalable architecture design
  • system-architect - Backend design & integration
  • b2b-project-shipper - B2B project delivery
  • customer-success-manager - Customer success ops
  • technical-sales-engineer - Technical sales support
  • pricing-packaging-specialist - Pricing strategies
🚀 Productivity & Automation (15 plugins)
  • workflow-optimizer - Workflow optimization
  • project-shipper - Launch & release management
  • sprint-prioritizer - Sprint planning & prioritization
  • experiment-tracker - Experiment tracking & analysis
  • finance-tracker - Budget & cost management
⚡ Super Plugins - Advanced (3 plugins)

🏢 enterprise-workspace

Complete workspace management platform with hooks & MCP

Components:

  • 3 Commands: workspace-init, workspace-sync, workspace-audit
  • 2 Agents: workspace-architect, compliance-auditor
  • 1 Hook: PostToolUse validation
  • 1 MCP Server: workspace-state
  • 1 Script: validate-workspace.sh

Features:

  • ✅ Architecture governance
  • ✅ Compliance tracking
  • ✅ Automated validation
  • ✅ State management

🤖 ai-studio-orchestrator

Advanced multi-agent coordination platform

Components:

  • 3 Commands: orchestrate-task, monitor-performance, optimize-workflow
  • 2 Agents: task-coordinator, performance-analyzer
  • 1 Hook: PreToolUse logging
  • 1 MCP Server: orchestrator
  • 1 Script: task-logger.sh

Features:

  • ✅ Task distribution
  • ✅ Load balancing
  • ✅ Performance analytics
  • ✅ Real-time monitoring

🔧 devops-platform

Complete DevOps automation platform

Components:

  • 3 Commands: setup-pipeline, deploy-application, manage-infrastructure
  • 2 Agents: cicd-architect, infrastructure-engineer
  • 1 Hook: PostToolUse config validation
  • 1 MCP Server: devops-state
  • 1 Script: validate-devops-config.sh

Features:

  • ✅ CI/CD pipelines (GitHub Actions, Jenkins, GitLab CI)
  • ✅ Zero-downtime deployments
  • ✅ Infrastructure as Code (Terraform, CloudFormation)
  • ✅ Security scanning

📊 Marketplace Statistics

CategoryCountDescription
🤖 Agents93AI-powered development assistants
⚡ Commands65Instant productivity tools
🚀 Super Plugins3Advanced multi-component platforms
Total161Production-ready plugins

Quality Metrics

  • ✅ Average Documentation: 250+ lines per plugin
  • ✅ Code Examples: Real-world templates included
  • ✅ Testing: Enterprise-grade validation
  • ✅ Security: Zero external dependencies
  • ✅ Maintenance: Regular updates & improvements

🏗️ Architecture

devsforge-marketplace/
├── .claude-plugin/
│   └── marketplace.json          # 📋 Marketplace registry (161 plugins)
│
├── plugins/
│   ├── agents/                    # 🤖 93 AI Agent Plugins
│   │   ├── ai-architect/
│   │   │   ├── .claude-plugin/
│   │   │   │   └── plugin.json
│   │   │   └── agents/
│   │   │       └── ai-engineer.md
│   │   ├── database-expert/       ⚡ NEW in v1.1
│   │   ├── docker-specialist/     ⚡ NEW in v1.1
│   │   ├── git-workflow-expert/   ⚡ NEW in v1.1
│   │   └── ... (90 more agents)
│   │
│   ├── commands/                  # ⚡ 65 Command Plugins
│   │   ├── api-designer/
│   │   │   ├── .claude-plugin/
│   │   │   │   └── plugin.json
│   │   │   └── commands/
│   │   │       └── api-designer.md
│   │   ├── env-validator/         ⚡ NEW in v1.1
│   │   ├── import-organizer/      ⚡ NEW in v1.1
│   │   └── ... (62 more commands)
│   │
│   └── super/                     # 🚀 3 Super Plugins
│       ├── enterprise-workspace/
│       │   ├── .claude-plugin/
│       │   │   └── plugin.json    # With hooks & MCP
│       │   ├── commands/          # Multiple commands
│       │   ├── agents/            # Multiple agents
│       │   ├── scripts/           # Automation scripts
│       │   └── servers/           # MCP servers
│       ├── ai-studio-orchestrator/
│       └── devops-platform/
│
└── README.md                      # 📖 This file

🎓 Documentation

Plugin Installation Examples

# 🤖 AI & Machine Learning
/plugin install ai-architect@devsforge-marketplace
/plugin install data-scientist@devsforge-marketplace
/plugin install vision-specialist@devsforge-marketplace

# 💻 Development Tools
/plugin install web-dev@devsforge-marketplace
/plugin install python-expert@devsforge-marketplace
/plugin install debugger@devsforge-marketplace

# 🔒 Security & Compliance
/plugin install security-scanner@devsforge-marketplace
/plugin install authentication-specialist@devsforge-marketplace
/plugin install cors-security-expert@devsforge-marketplace

# 🔧 DevOps & Infrastructure
/plugin install devops-automator@devsforge-marketplace
/plugin install docker-specialist@devsforge-marketplace
/plugin install cloud-architect@devsforge-marketplace

# ⚡ Productivity Commands
/plugin install code-review@devsforge-marketplace
/plugin install fix-github-issue@devsforge-marketplace
/plugin install pr-creator@devsforge-marketplace

# 🚀 Super Plugins (Advanced)
/plugin install enterprise-workspace@devsforge-marketplace
/plugin install ai-studio-orchestrator@devsforge-marketplace
/plugin install devops-platform@devsforge-marketplace

Marketplace Management

# 📋 List installed marketplaces
/plugin marketplace list

# 🔄 Update marketplace
/plugin marketplace update devsforge-marketplace

# 🗑️ Remove marketplace
/plugin marketplace remove devsforge-marketplace

# 🔍 Search plugins
/plugin search "security"
/plugin search "api design"

# 📊 Show plugin details
/plugin info ai-architect@devsforge-marketplace

🛠️ Troubleshooting

❌ Marketplace Not Loading

Symptoms: Marketplace doesn't appear in /plugin marketplace list

Solutions:

  1. ✅ Verify .claude-plugin/marketplace.json exists in repository root
  2. ✅ Check JSON syntax: claude plugin validate .
  3. ✅ Ensure Git repository is accessible and cloned correctly
  4. ✅ Restart Claude Code CLI after adding marketplace
❌ Plugin Installation Failures

Symptoms: Error message "Plugin not found" or installation timeout

Solutions:

  1. ✅ Verify plugin source paths are correct: ./plugins/[type]/[name]
  2. ✅ Ensure all required files exist: .claude-plugin/plugin.json, commands/*.md or agents/*.md
  3. ✅ Check network connectivity for Git-based plugin sources
  4. ✅ Try explicit version: /plugin install [name]@devsforge-marketplace@1.0.0
❌ Super Plugin Issues

Symptoms: Hooks not triggering or MCP server connection errors

Solutions:

  1. ✅ Verify ${CLAUDE_PLUGIN_ROOT} environment variable resolves correctly
  2. ✅ Check script permissions: chmod +x on Linux/Mac
  3. ✅ Ensure Node.js is installed for MCP server JavaScript files
  4. ✅ Review Claude Code logs for hook execution errors
❌ Performance Issues

Symptoms: Slow marketplace loading or plugin installation

Solutions:

  1. ✅ Check internet connection speed (GitHub clone performance)
  2. ✅ Verify available disk space (minimum 50MB required)
  3. ✅ Close unnecessary applications to free system resources
  4. ✅ Use local path installation for faster access after initial clone

🤝 Contributing

We welcome contributions! Here's how you can help:

🎯 Contributing New Plugins

  1. 🍴 Fork the repository
  2. 📁 Create plugin structure in appropriate directory (agents/, commands/, or super/)
  3. 📝 Follow plugin.json schema requirements
  4. 📖 Add comprehensive documentation (200-700+ lines recommended)
  5. 🧪 Test thoroughly with Claude Code CLI
  6. 🚀 Submit pull request with detailed description

📋 Plugin Quality Standards

  • ✅ Minimum 200 lines of documentation
  • ✅ Real-world code examples and templates
  • ✅ Phase-based methodologies
  • ✅ Best practices and anti-patterns
  • ✅ Quality metrics and KPIs
  • ✅ Business impact analysis

💡 Contributing Ideas

  • 💬 Open a GitHub Discussion with plugin proposal
  • 📝 Describe use case and business value
  • 💻 Provide examples of desired functionality
  • 🗳️ Community votes on most valuable additions

🔒 Security & Trust

⚠️ Important Disclaimer

DevsForge Marketplace is an independent, community-driven project

  • ❌ NOT affiliated with Anthropic or Claude
  • ❌ NOT officially endorsed or connected to Anthropic
  • ✅ Community maintained by open-source contributors
  • ⚠️ Use at your own risk - review plugin code before production use

Security Measures

Our Practices:

  • ✅ Security vulnerability scanning
  • ✅ Static code analysis
  • ✅ Zero third-party dependencies
  • ✅ Open source transparency
  • ✅ Community moderation
  • ✅ Regular security audits

Your Responsibilities:

  • 🔍 Review plugin source code
  • 🧪 Test in development first
  • 🐛 Report security issues on GitHub
  • 🔄 Keep plugins updated
  • 🔒 Follow least privilege principle
  • 📖 Read documentation carefully

📜 License

MIT License - See LICENSE for details

Copyright (c) 2025 DevsForge Community


🙏 Acknowledgments

Built with ❤️ by the DevsForge Community

Special thanks to:

  • 🎨 Anthropic for Claude Code CLI platform
  • 💻 All plugin contributors and testers
  • 🏢 Enterprise users providing valuable feedback
  • 🌟 Open source community for inspiration

🚀 Ready to supercharge your Claude Code experience?

Get Started Now • Browse Plugins • Contribute


DevsForge Marketplace v1.2 - The Ultimate Plugin Ecosystem for Claude Code

Made with Love Community Driven Production Ready

Details

Marketplace
devsforge/marketplace
Source
plugins/agents/git-workflow-expert
Author
DevsForge Community
Category
Agents
Keywords
devsforge, agent, git, workflow
Listed since
Apr 7, 2026

More from devsforge/marketplace

All 161

Similar to git-workflow-expert

More Git & Releases