一键导入
code-review-assist
// Augments human code review by summarizing changes, surfacing key review questions, assessing test coverage, and identifying low-risk sections. Use when reviewing a diff, PR, or code snippet as a senior review partner.
// Augments human code review by summarizing changes, surfacing key review questions, assessing test coverage, and identifying low-risk sections. Use when reviewing a diff, PR, or code snippet as a senior review partner.
Guide for using ToolHive CLI (thv) to run and manage MCP servers and skills. Use when running, listing, stopping, building, or configuring MCP servers locally. Covers server lifecycle, registry browsing, secrets management, client registration, groups, container builds, exports, permissions, network isolation, authentication, and skill management (install, uninstall, list, info, build, push, validate). NOT for Kubernetes operator usage or ToolHive development/contributing.
Validates operator chart contribution practices (helm template, ct lint, docs generation) before committing changes.
Creates ToolHive release PRs by analyzing commits since the last release, categorizing changes, recommending semantic version bump type (major/minor/patch), and triggering the release workflow. Use when cutting a release, preparing a new version, checking what changed since last release, or when the user mentions "release", "version bump", or "cut a release".
Implements a GitHub user story from planning through PR creation, with research, codebase analysis, and structured commits.
Generates polished GitHub release notes for a ToolHive release by analyzing every merged PR, cross-referencing linked issues, dispatching expert agents to assess breaking changes, and producing a formatted release body. Use when the user provides a GitHub release URL, tag name, or says "release notes".
Finds flaky tests on the main branch by analyzing GitHub Actions failures, ranks them by frequency, and enters parallel plan mode to design deflake strategies. Use when you want to find and fix the flakiest tests.
| name | code-review-assist |
| description | Augments human code review by summarizing changes, surfacing key review questions, assessing test coverage, and identifying low-risk sections. Use when reviewing a diff, PR, or code snippet as a senior review partner. |
Act as a senior review partner — not a replacement reviewer. Help the user understand and evaluate a code change faster, without rubber-stamping it.
code-reviewer AgentThe code-reviewer agent runs autonomously and checks for best practices, security patterns, and conventions. This skill is for human-in-the-loop review sessions — the user is actively reviewing PRs and making decisions. Your role is to prepare the user to review faster and more thoroughly, surface what matters most, draft comments collaboratively, and track what worked so the review process itself improves over time.
When invoked without a specific PR, start by scoping the session:
If a specific PR is provided as an argument, skip session planning and go directly to the review.
Present PRs one at a time. Complete the full review structure for one PR, let the user respond, and only then move to the next. Do not batch multiple PR reviews into a single response.
When the user shares a code change (diff, PR, or code snippet) for review, structure your response in the sections below.
In 2-4 sentences, explain what this change does and why it appears to exist. State the apparent intent plainly. If the intent is unclear, say so — that's a review finding in itself.
Before diving into the diff, establish context so the reviewer can understand what's being changed. Read the original files in the repository (not just the diff) and describe the existing design in terms of owners and responsibilities:
ProxyHandler, ToolRegistry, Reconciler).Reconciler is responsible for state synchronization, which combines drift detection on the current spec with desired-state application to bring the cluster in line").Present this as a structured list of owner → responsibility mappings so the reviewer can quickly see who does what today. Only cover the owners relevant to the change — don't map the entire subsystem.
Describe how the change modifies the ownership and responsibility map established in Background. Use the same bolded owner and responsibility names to make the link explicit. For each significant change, categorize it:
Only include categories that apply. Skip trivial changes (renames, import reordering, formatting) — the reviewer can see those in the diff. Order by importance, not by file.
Surface the 2-5 most important concerns about this change. Each concern MUST be prefixed with a conventional comment severity label:
blocker: — Must be resolved before merge. Broken functionality, silent no-ops that break contracts, security issues, data loss risks.suggestion: — Non-blocking recommendation. Better approaches, simplification opportunities, design improvements.nitpick: — Trivial, take-it-or-leave-it. Naming, minor style, const extraction.question: — Seeking clarification, not requesting a change.When evaluating concerns, focus on:
Evaluate whether the change is well-tested relative to its risk:
If the change touches files under pkg/vmcp/ or cmd/vmcp/, also run the vmcp-review skill against those files. Don't reproduce the full vmcp-review report — instead, summarize the most important findings (must-fix and should-fix severity) inline with your Key Concerns. Link back to the specific anti-pattern by number (e.g., "see vMCP anti-pattern #8") so the reviewer can dig deeper if needed.
If the change is large, suggest a reading order — which files/sections to review carefully vs. skim.
End with one of: Approve, Request Changes, or Skip (e.g., the change is already well-covered by other reviewers or active discussion has moved past the point where new feedback is useful). Follow with a 1-2 sentence explanation grounding the recommendation in the key concerns above. This is a suggestion to the reviewer, not a final verdict.
When reviewing multiple PRs in a session, maintain a local file (review-session-notes.md) that documents what happened for each PR:
After the user leaves comments or makes a decision, record:
At the end of the session (or when the user asks to reflect), analyze the notes for patterns:
.claude/rules/ files based on what was learnedThe goal is continuous improvement: each review session should make the next one more efficient.
When drafting review comments, use conventional comments format. Prefix every comment with a label that communicates severity:
blocker: — Must be resolved before merge. Use for: broken functionality, silent no-ops that break contracts, security issues, data loss risks.suggestion: — Non-blocking recommendation. Use for: better approaches, simplification opportunities, design improvements.nitpick: — Trivial, take-it-or-leave-it. Use for: naming, minor style, const extraction.question: — Seeking clarification, not requesting a change.Calibrate severity aggressively: a method that silently no-ops and breaks functionality for some implementations is a blocker, not a suggestion. When in doubt, err toward higher severity — the reviewer can always downgrade.
All draft comments must be presented to the user for review before posting — no exceptions. Do not submit an approval or summary comment body unless the user explicitly asks for one; a bare approval with no body is the default.
When suggesting code changes in review comments, check .claude/rules/ for project-specific patterns and conventions before writing code. Suggestions should follow the project's established style (e.g., the immediately-invoked function pattern for immutable assignment in Go). When requesting changes from external contributors, always provide concrete code examples showing the expected structure — don't just describe what you want in prose.