vmcp-review
Reviews vMCP code changes for known anti-patterns that make the codebase harder to understand or more brittle. Use when reviewing PRs, planning features, or refactoring vMCP code.
适合你,如果你在开发或维护 vMCP server 代码,需要避免常见陷阱。
npx oh-my-skill add stacklok/toolhive/vmcp-reviewcurl -fsSL https://oh-my-skill.com/install.sh | bash -s -- stacklok/toolhive/vmcp-reviewnpx oh-my-skill verify stacklok/toolhive/vmcp-review怎么用
商店整理自技能原文 · 版本 b9fcb21 · 表述以原文为准装上后,Claude 会检查 vMCP 代码中的反模式,指出哪些地方让代码更难懂、更脆弱,并给出修复建议。
当你提交 PR、规划新功能或重构 vMCP 代码时,Claude 会自动审查相关文件。
技能原文 SKILL.md
vMCP Code Review
Purpose
Review code in pkg/vmcp/ and cmd/vmcp/ for known anti-patterns that increase cognitive load, create brittle dependencies, or undermine testability. This skill is used both for reviewing proposed changes and for auditing existing code.
Instructions
1. Determine Scope
Identify the files to review:
- If reviewing a PR or diff, examine only the changed files under
pkg/vmcp/andcmd/vmcp/ - If auditing a package, examine all
.gofiles in the target package - Skip files outside the vMCP codebase — this skill is vMCP-specific
2. Anti-Pattern Detection
For each file under review, check against the anti-patterns defined in .claude/rules/vmcp-anti-patterns.md (which is auto-loaded when vMCP files are read). Not every anti-pattern applies to every file — use judgment about which checks are relevant based on what the code does.
For each finding, classify severity:
- Must fix: The anti-pattern is being introduced or significantly expanded by this change
- Should fix: The anti-pattern exists in touched code and the change is a good opportunity to address it
- Note: The anti-pattern exists in nearby code but is not directly related to this change — flag for awareness only
3. Present Findings
Structure your report as:
## vMCP Review: [scope description] ### Must Fix - **[Anti-pattern name]** in `path/to/file.go:line`: [What's wrong and what to do instead] ### Should Fix - **[Anti-pattern name]** in `path/to/file.go:line`: [What's wrong and what to do instead] ### Notes - **[Anti-pattern name]** in `path/to/file.go:line`: [Brief description, for awareness] ### Clean No issues found for: [list anti-patterns that were checked and passed]
If no issues are found, say so explicitly — a clean review is valuable signal.
What This Skill Does NOT Cover
- General Go style issues (use
golangci-lintfor that) - Security vulnerabilities (use the security-advisor agent)
- Test quality (use the unit-test-writer agent)
- Non-vMCP code (use the general code-reviewer agent)
- Performance issues (unless they stem from an anti-pattern like repeated body parsing)