‹ 首页

vmcp-review

@stacklok · 收录于 1 周前 · 上游提交 1 周前

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 安装 校验哈希
npx oh-my-skill add stacklok/toolhive/vmcp-review
/ 通过 bash 安装
curl -fsSL https://oh-my-skill.com/install.sh | bash -s -- stacklok/toolhive/vmcp-review
/ 已经装过?验证本机副本,不用重装
npx oh-my-skill verify stacklok/toolhive/vmcp-review
安装目标可用 --agent / --scope 或 --to 明确指定;省略时只会在唯一已存在的 agent 目录上自动选择,零命中或多命中会停止并提示。content_hash 缺失或不一致均拒装。
1951GitHub stars
~536上下文体积 · 单文件
索引托管

怎么用

商店整理自技能原文 · 版本 b9fcb21 · 表述以原文为准
它做什么

装上后,Claude 会检查 vMCP 代码中的反模式,指出哪些地方让代码更难懂、更脆弱,并给出修复建议。

什么时候触发

当你提交 PR、规划新功能或重构 vMCP 代码时,Claude 会自动审查相关文件。

装好后可以这样说
Claude 会分析变更文件并报告反模式。
Claude 会审计整个包并列出问题。
技能原文 SKILL.md作者撰写 · Apache-2.0 · b9fcb21

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/ and cmd/vmcp/
  • If auditing a package, examine all .go files 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-lint for 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)
按 Apache-2.0 许可原样转载,未经改动 · 在 GitHub 查看 →

评论

登录即可评论;带「已验证安装」的,是发布者名下有本店的安装或持有记录。