← 返回 Skills 市场
anderskev

Prometheus Go Code Review

作者 Kevin Anderson · GitHub ↗ · v2.3.1 · MIT-0
cross-platform ✓ 安全检测通过
185
总下载
0
收藏
1
当前安装
2
版本数
在 OpenClaw 中安装
/install prometheus-go-code-review
功能描述
Reviews Prometheus instrumentation in Go code for proper metric types, labels, and patterns. Use when reviewing code with prometheus/client_golang metrics.
安全使用建议
This skill is instruction-only and coherent for its stated purpose: it performs static reviews of Go code that uses prometheus/client_golang. Before installing, confirm you will provide a concrete diff or file paths (the skill requires that) and whether you expect it to perform any runtime/network checks — the mention of the '/metrics' endpoint being "accessible" is ambiguous and could imply probing a running service (which would need network/run permissions). The skill does not request credentials or install software, so the primary risk is granting it access to the repository or file set you want reviewed — limit that access to only the code you want evaluated. If you need the skill to actually hit a live /metrics endpoint, ask the author to document required permissions and network behavior.
能力评估
Purpose & Capability
Name, description, and required artifacts align: the SKILL.md is a focused checklist for prometheus/client_golang usage in Go and only needs a concrete set of files or a diff to operate. There are no unrelated binaries, credentials, or install steps requested.
Instruction Scope
Instructions are narrowly scoped to code review (enumerate files touching Prometheus, inspect label cardinality, registration lifecycle, etc.) and require file paths or diffs. One ambiguous phrase: the checklist asks that the '/metrics endpoint [be] exposed and accessible' — this could be interpreted as a runtime/network check rather than a static code inspection. If the skill will attempt to probe the running service, that would require network/run permissions; as-written the rest of the doc implies static code inspection only. Clarify whether the agent should perform runtime endpoint checks.
Install Mechanism
No install spec and no code files are present. This reduces surface area (nothing downloaded or written to disk).
Credentials
The skill does not request environment variables, credentials, or config paths. Its checks (labels, metric types, registration patterns) do not require secret access.
Persistence & Privilege
Flags show no forced persistence (always: false), and there are no instructions to modify other skills or system-wide configs. Autonomous invocation is allowed by default but not in itself a concern here.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install prometheus-go-code-review
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /prometheus-go-code-review 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v2.3.1
- Added a sequenced list of hard gates to the review: evidence scope, label cardinality, registration lifecycle, and finding shape. - Clarified requirements for each gate, specifying passing criteria and standards for findings. - Emphasized that findings must cite file and location, and only record style nits when gates 2–3 are not satisfied. - Checklist and reference sections remain, but more explicit guidance is given for systematic Prometheus code review.
v2.3.0
- Expanded documentation with a comprehensive review checklist, best practices, and anti-pattern examples for Prometheus instrumentation in Go. - Added detailed code snippets illustrating proper and improper usage of metric types, labels, and registration patterns. - Included a metric type selection table and review questions to guide code review process. - Strengthened guidance on metric naming conventions, label cardinality, and safe /metrics exposition.
元数据
Slug prometheus-go-code-review
版本 2.3.1
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 2
常见问题

Prometheus Go Code Review 是什么?

Reviews Prometheus instrumentation in Go code for proper metric types, labels, and patterns. Use when reviewing code with prometheus/client_golang metrics. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 185 次。

如何安装 Prometheus Go Code Review?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install prometheus-go-code-review」即可一键安装,无需额外配置。

Prometheus Go Code Review 是免费的吗?

是的,Prometheus Go Code Review 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Prometheus Go Code Review 支持哪些平台?

Prometheus Go Code Review 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Prometheus Go Code Review?

由 Kevin Anderson(@anderskev)开发并维护,当前版本 v2.3.1。

💬 留言讨论