From claude-resources
Runs lightweight code reviews on git diffs/PRs via GitHub Copilot CLI by default or Claude/Codex/Copilot-Opus models using flags. For quick small-change reviews.
npx claudepluginhub takazudo/claude-resources[-haiku|-so|-op] [-co|-gco|-gcoc]This skill uses the workspace's default tool permissions.
Lightweight code review. Runs whichever reviewers are specified by flags; falls back to the skill's defaults when none are passed.
Guides Next.js Cache Components and Partial Prerendering (PPR): 'use cache' directives, cacheLife(), cacheTag(), revalidateTag() for caching, invalidation, static/dynamic optimization. Auto-activates on cacheComponents: true.
Guides building MCP servers enabling LLMs to interact with external services via tools. Covers best practices, TypeScript/Node (MCP SDK), Python (FastMCP).
Share bugs, ideas, or general feedback.
Lightweight code review. Runs whichever reviewers are specified by flags; falls back to the skill's defaults when none are passed.
-haiku / --haiku — Claude Haiku-so / --sonnet — Claude Sonnet-op / --opus — Claude OpusIf none passed and no backend flag is passed either, the skill falls to the backend default (-gcoc) — no Claude reviewers run.
If a model flag IS passed, it turns on the Claude-reviewers branch (2 code-reviewer subagents at that model).
If multiple model flags are passed, the last one wins.
-co / --codex — OpenAI Codex CLI (/codex-review)-gco / --github-copilot — GitHub Copilot CLI, Opus (/gco-review)-gcoc / --github-copilot-cheap — GitHub Copilot CLI, GPT-4.1 free (/gcoc-review)Multiple backend flags may be combined — each specified backend runs in parallel and findings are consolidated.
Default for this skill: -gcoc (used when neither a model flag nor any backend flag is passed).
| Flags passed | What runs |
|---|---|
| (none) | /gcoc-review only |
-op (or -so, -haiku) | 2 Claude reviewers at that model |
-gco | /gco-review only |
-co | /codex-review only |
-op -gco | 2 Opus Claude reviewers and /gco-review in parallel |
-co -gcoc | /codex-review and /gcoc-review in parallel |
BRANCH=$(git branch --show-current)
BASE=$(gh pr view --json baseRefName -q '.baseRefName' 2>/dev/null)
If no PR exists, use the default branch:
BASE=$(git remote show origin | grep 'HEAD branch' | awk '{print $NF}')
git diff "$BASE"...HEAD
Based on the flags, launch every selected reviewer in the same message (parallel).
Launch 2 code-reviewer subagents with model set to haiku / sonnet / opus per the model flag.
Reviewer 1: Bugs & Logic
Review the code changes focusing on:
1. Logic errors, typos, incorrect implementations
2. Missing null checks, off-by-one errors
3. Broken functionality, incorrect API usage
4. Error handling issues
Be concise. Only flag real problems, not style preferences.
REPORTING: Save your FULL findings to the log file (as per your log generation rules).
Then return to the caller ONLY:
- A bullet list of high-priority findings (1 sentence each, max 3 items)
- The log file path
Do NOT return the full analysis — it is in the log file.
Reviewer 2: Quality & Structure
Review the code changes focusing on:
1. Code duplication (DRY violations)
2. Overly complex code that can be simplified
3. Type safety issues
4. Performance concerns (unnecessary re-renders, missing memoization)
5. Better patterns or abstractions
Be concise. Only flag real problems, not style preferences.
REPORTING: Save your FULL findings to the log file (as per your log generation rules).
Then return to the caller ONLY:
- A bullet list of high-priority findings (1 sentence each, max 3 items)
- The log file path
Do NOT return the full analysis — it is in the log file.
For each specified backend, invoke the matching skill in parallel (single message, multiple tool calls):
-co → Skill(skill="codex-review")-gco → Skill(skill="gco-review")-gcoc → Skill(skill="gcoc-review")Each backend skill already handles its own rate-limit / fallback behavior silently.
Equivalent to -gcoc. Invoke /gcoc-review only.
CRITICAL: Launch all reviewers (Claude + backend) in parallel in a single message.
After all reviewers complete (each returns high-priority items + log path):
If fixes were applied, commit them with a descriptive message.
/deep-review instead./logrefer for future sessions.