GitHub workflow automation for Claude Code
npx claudepluginhub kwiggen/claude-code-pluginPlugin to wrap my extensions to Claude Code
A Claude Code plugin for automating GitHub workflows: code reviews, PR creation, team analytics, release management, and multi-model second opinions via Gemini.
1. Add the marketplace:
/plugin marketplace add kwiggen/claude-code-plugin
2. Install the plugin:
/plugin install kw-plugin@claude-code-plugin
3. (Optional) Enable auto-updates:
Run /plugin, go to Marketplaces tab, enable auto-update for claude-code-plugin
/plugin update kw-plugin@claude-code-plugin
gh) authenticatedGEMINI_API_KEY environment variable for Gemini features (dual-review, second opinions, image generation)| Command | Description |
|---|---|
/review-code | Run structured code reviews on uncommitted changes, commits, or GitHub PRs |
/create-pr [base] | Create pull requests with AI-generated descriptions |
| Command | Description |
|---|---|
/gemini-review | Dual code review from both Claude and Gemini with synthesis |
/ask-gemini | Get Gemini's independent opinion on any file, topic, or question |
/generate-image | Generate images using Gemini with AI-enhanced prompts |
/paper-banana | Publication-quality illustrations via 5-agent pipeline |
Requires:
GEMINI_API_KEYenvironment variable. Get a free key at Google AI Studio. If the API key is not configured, the dual-review and advisor commands gracefully fall back to Claude-only behavior.
| Command | Description |
|---|---|
/team-stats | Team activity overview (PRs, reviews, contributors) |
/team-stats leaderboard | Top contributors by PRs merged |
/team-stats merge-time | Time-to-merge analysis |
/team-stats reviews | Review participation report |
/team-stats size | PR size analysis with bottleneck detection |
/team-stats first-review | Time to first review per developer |
/team-stats balance | Reviews given vs received ratio |
/team-stats reverts | Track reverts and hotfixes |
/team-stats depth | Detect rubber stamp reviews |
/team-stats cycles | Rounds of feedback before merge |
/team-stats all | Run all reports |
All team-stats commands accept an optional day range: /team-stats leaderboard 14
| Command | Description |
|---|---|
/release-preview | What's shipping (run Sunday after release train merges) |
/release-retro | What happened (run Tuesday after prod stabilizes) |
Release Preview shows:
Release Retro shows:
| Command | Description |
|---|---|
/create-feature | Guide feature definition through discussion, generate a 1-pager |
/create-issue | Create a GitHub issue with project fields |
/validate | Validate plans, proposals, or architecture with parallel analysis |
Type these phrases naturally instead of using slash commands:
| Phrase | Action |
|---|---|
| "review", "code review", "cr" | Triggers /review-code |
| "gemini review", "dual review" | Triggers /gemini-review |
| "ask gemini", "gemini opinion" | Triggers /ask-gemini |
| "create pr", "open pr" | Triggers /create-pr |
| "team stats", "who merged" | Triggers /team-stats |
| "use opus" / "use sonnet" / "use haiku" | Sets model preference for subagents |
| "thorough", "deep review" | Enables thorough analysis mode |
| "ship it", "lgtm" | Enables fast-execution mode |
| Skill | Used By |
|---|---|
code-reviewer | /review-code |
pr-writer | /create-pr |
github-insights | /team-stats |
release-reports | /release-preview, /release-retro |
feature-writer | /create-feature |
issue-creator | /create-issue |
gemini-reviewer | /gemini-review |
gemini-advisor | /ask-gemini |
image-generator | /generate-image |
paper-banana | /paper-banana |
assumption-challenger | /validate |
antipattern-detector | /validate |
validator | /validate |
gh) authenticatedThe /gemini-review, /ask-gemini, /generate-image, and /paper-banana commands require a GEMINI_API_KEY environment variable: