Skip to content

Repository files navigation

Claude Code Plugins

A curated collection of custom agents and slash commands to enhance Claude Code with powerful development workflows. δΈ­ζ–‡η‰ˆ

🌟 Features

πŸ€– Specialized AI Agents (subagents plugin)

Development Workflow Agents:

  • strategic-planner - Expert software architect for feature planning and technical design
  • task-executor - Precision engineer for atomic task implementation
  • code-reviewer - Automated code quality and security review specialist

Supporting Agents:

  • steering-architect - Project analysis and documentation architect
  • data-scientist - SQL queries, BigQuery operations, and data analysis
  • debugger - Error troubleshooting and root cause analysis
  • prd-writer - Product requirements document generation

⚑ Git Workflow Commands

Git Flow Branch Management (git plugin):

  • /git:feature <name> - Create a new feature branch from develop
  • /git:hotfix <name> - Create a new hotfix branch from main
  • /git-flow:status - Display comprehensive Git Flow status

GitHub (git-flow plugin):

  • /git-flow:pr:create - Create Pull Requests with automated branch management
  • /git-flow:pr:review - Comprehensive PR code review with structured analysis

GitLab (git-flow plugin):

  • /git-flow:mr:create - Create Merge Requests
  • /git-flow:mr:review - MR review with customizable scope (performance, security, style)

Git Commit (git-flow plugin):

  • /git-flow:commit:create - Generate semantic commits from staged changes

πŸ”Œ MCP Servers (mcp plugin)

Pre-configured MCP servers for enhanced capabilities:

  • context7 - Up-to-date documentation retrieval for any library
  • sequential-thinking - Structured problem-solving through chain of thought
  • memory - Persistent knowledge graph for conversation context
  • tavily-mcp - Powerful web search and content extraction
  • chrome-devtools - Browser automation and debugging

πŸ› οΈ Development Skills (skills plugin)

Specialized skills for specific development workflows:

  • feature-dev - Guided feature development with codebase understanding and architecture focus
  • code-review - Advanced code review capabilities for quality, security, and maintainability

πŸͺ Git Hooks (git-flow plugin)

Automated workflows triggered by events:

  • php-cs-fixer - Auto-format PHP files on write/edit
  • auto-git-add - Automatically stage modified files
  • smart-commit - Intelligent commit message generation

πŸ“¦ Installation

Install from GitHub

  1. Run the following command in Claude Code:
claude plugin marketplace add huangdijia/oh-my-claude-code-plugins
  1. Install the plugins:
claude plugin install subagents@oh-my-claude-code-plugins
claude plugin install git@oh-my-claude-code-plugins
claude plugin install git-flow@oh-my-claude-code-plugins
claude plugin install mcp@oh-my-claude-code-plugins
claude plugin install skills@oh-my-claude-code-plugins

πŸš€ Quick Start

Spec-Driven Development Workflow

This plugin implements a three-phase development workflow:

1. Planning Phase

Use the strategic planner to design your feature:

Use the strategic-planner agent to help me plan a user authentication feature

This creates structured specs in specs/<feature-name>/:

  • requirements.md - User stories with acceptance criteria
  • design.md - Technical blueprint with diagrams
  • tasks.md - Granular task checklist

2. Execution Phase

Execute tasks one-by-one with surgical precision:

Use the task-executor agent to implement the next task from specs/user-auth/tasks.md

The agent will:

  • Execute exactly one task at a time
  • Update task checkboxes [ ] β†’ [x]
  • Run tests before marking complete
  • Support autonomous mode for unattended execution

3. Review Phase

Automated quality assurance:

Use the code-reviewer agent to review my recent changes

Using Development Skills

Feature Development:

Use the feature-dev skill to help me implement a user authentication system

Code Review:

Use the code-review skill to review my recent changes

Using Slash Commands

Create a commit:

/git-flow:commit:create

Create and review PRs:

/git-flow:pr:create
/git-flow:pr:review 123

Review with specific scope:

/git-flow:mr:review 456 performance
/git-flow:mr:review 789 security

πŸ“š Documentation

Agent Workflow Pattern

The plugin implements a sophisticated multi-agent system:

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  Phase 1: Strategic Planning                            β”‚
β”‚  β†’ Analyze requirements                                 β”‚
β”‚  β†’ Create technical designs                             β”‚
β”‚  β†’ Generate task checklists                             β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                 β”‚
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  Phase 2: Task Execution                                β”‚
β”‚  β†’ Execute one atomic task                              β”‚
β”‚  β†’ Run tests and validation                             β”‚
β”‚  β†’ Mark task complete                                   β”‚
β”‚  β†’ Repeat for next task                                 β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                 β”‚
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  Phase 3: Quality Assurance                             β”‚
β”‚  β†’ Review code quality                                  β”‚
β”‚  β†’ Check security issues                                β”‚
β”‚  β†’ Verify maintainability                               β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Project Initialization

Use the steering-architect agent to set up project governance:

Use the steering-architect agent to analyze this project

This creates .ai-rules/ files:

  • product.md - Product vision and goals
  • tech.md - Technology stack and commands
  • structure.md - File organization conventions

Tool Restrictions

Each agent has specific tool access for security:

Agent Tools Code Execution
strategic-planner file_edit, file_search, web_search ❌ No
task-executor file_edit, bash, file_search βœ… Yes
code-reviewer file_search, bash, file_edit βœ… Yes
steering-architect file_edit, file_search, bash βœ… Yes
data-scientist bash, file_search, file_edit βœ… Yes
debugger file_search, file_edit, bash βœ… Yes
prd-writer file_edit, web_search, file_search ❌ No

πŸ—οΈ Project Structure

oh-my-claude-code-plugins/
β”œβ”€β”€ .claude-plugin/
β”‚   └── marketplace.json          # Plugin registry
└── plugins/
    β”œβ”€β”€ subagents/                # AI agents plugin
    β”‚   └── agents/               # AI agent definitions
    β”‚       β”œβ”€β”€ code-reviewer.md
    β”‚       β”œβ”€β”€ data-scientist.md
    β”‚       β”œβ”€β”€ debugger.md
    β”‚       β”œβ”€β”€ prd-writer.md
    β”‚       β”œβ”€β”€ steering-architect.md
    β”‚       β”œβ”€β”€ strategic-planner.md
    β”‚       └── task-executor.md
    β”œβ”€β”€ git/                      # Git commands plugin
    β”‚   └── commands/             # Slash commands
    β”‚       β”œβ”€β”€ feature.md
    β”‚       └── hotfix.md
    β”œβ”€β”€ git-flow/                 # Git Flow automation plugin
    β”‚   β”œβ”€β”€ commands/             # Slash commands
    β”‚   β”‚   β”œβ”€β”€ commit/
    β”‚   β”‚   β”‚   └── create.md
    β”‚   β”‚   β”œβ”€β”€ mr/
    β”‚   β”‚   β”‚   β”œβ”€β”€ create.md
    β”‚   β”‚   β”‚   └── review.md
    β”‚   β”‚   β”œβ”€β”€ pr/
    β”‚   β”‚   β”‚   β”œβ”€β”€ create.md
    β”‚   β”‚   β”‚   └── review.md
    β”‚   β”‚   └── status.md
    β”‚   └── hooks/                # Event hooks
    β”‚       β”œβ”€β”€ auto-git-add.json
    β”‚       β”œβ”€β”€ php-cs-fixer.json
    β”‚       └── smart-commit.json
    β”œβ”€β”€ mcp/                      # MCP servers plugin
    β”‚   └── .mcp.json
    └── skills/                   # Development skills plugin
        β”œβ”€β”€ code-review/
        β”‚   └── SKILL.md
        └── feature-dev/
            └── SKILL.md

🎯 Use Cases

Feature Development

1. Plan: Use strategic-planner to design feature
2. Build: Use task-executor to implement tasks
3. Review: Use code-reviewer to validate quality

Code Review Automation

# Automated PR review with security focus
/git-flow:pr:review 123 security

Project Setup

# Initialize project documentation
Use the steering-architect agent to set up project standards

Data Analysis

# SQL and data analysis
Use the data-scientist agent to analyze user metrics from the database

🌐 Language Support

Several components output in Chinese for the target user base:

  • Code review feedback
  • PR/MR review analysis
  • Agent instructions (bilingual)

Note: The debugger agent filename is debugger.md (with 'g') - the previous typo has been fixed.

πŸ“– Advanced Usage

Autonomous Task Execution

Enable autonomous mode for unattended task execution:

Use the task-executor agent in autonomous mode to complete all remaining tasks

The agent will:

  • Execute tasks sequentially without stopping
  • Mark tasks complete automatically
  • Only pause on errors or completion

Custom Scope Reviews

Focus code reviews on specific aspects:

/git-flow:pr:review 123 performance    # Focus on performance issues
/git-flow:pr:review 456 security       # Focus on security vulnerabilities
/git-flow:pr:review 789 style          # Focus on code style and conventions

Spec Management

Organize features with spec directories:

specs/
β”œβ”€β”€ user-authentication/
β”‚   β”œβ”€β”€ requirements.md
β”‚   β”œβ”€β”€ design.md
β”‚   └── tasks.md
β”œβ”€β”€ payment-integration/
β”‚   β”œβ”€β”€ requirements.md
β”‚   β”œβ”€β”€ design.md
β”‚   └── tasks.md

βš™οΈ Configuration

The plugin is registered in .claude-plugin/marketplace.json:

{
  "name": "oh-my-claude-code-plugins",
  "owner": {
    "name": "Deeka Wong",
    "email": "huangdijia@gmail.com"
  },
  "plugins": [
    {
      "name": "subagents",
      "source": "./plugins/subagents",
      "description": "Boost your development workflow with AI-powered agents for code review, debugging, and strategic planning.",
      "category": "development"
    },
    {
      "name": "git",
      "source": "./plugins/git",
      "description": "Enhance your Git experience with Claude's Git plugin for seamless version control.",
      "category": "development"
    },
    {
      "name": "git-flow",
      "source": "./plugins/git-flow",
      "description": "Automate Git workflows with ease using GitFlow plugin for Claude.",
      "category": "development"
    },
    {
      "name": "mcp",
      "source": "./plugins/mcp",
      "description": "MCP (Model Context Protocol) for Claude Code, enabling advanced mcp interactions.",
      "category": "development"
    },
    {
      "name": "skills",
      "source": "./plugins/skills",
      "description": "Specialized development skills for feature development and code review workflows.",
      "category": "development"
    }
  ]
}

🀝 Contributing

Contributions are welcome! This repository is designed to be a marketplace for Claude Code plugins.

Adding New Agents

  1. Create a new .md file in plugins/subagents/agents/
  2. Add YAML frontmatter with name, description, and tools
  3. Define agent instructions in markdown

Adding New Commands

  1. Create a new .md file in appropriate plugin directory:
    • plugins/git/commands/ for git commands
    • plugins/git-flow/commands/ for git-flow commands
  2. Add YAML frontmatter with allowed-tools and description
  3. Define command prompt with dynamic context

Adding New Hooks

  1. Create a new .json file in plugins/git-flow/hooks/
  2. Configure the hook event and command to execute

πŸ“„ License

MIT License - See LICENSE file for details

πŸ”— Links

✨ Credits

Developed by @huangdijia


Note: This plugin requires Claude Code to function. Make sure you have Claude Code installed and configured.

About

Claude Plugin Marketplace

Resources

Contributing

Stars

10 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages