跳到正文
Skillpedia
通用编程81k · #1648

harness-genome

它能做什么

这项技能读取代码仓库,并生成一份七个部分的报告,说明它作为智能体运行框架的就绪程度。适合在决定是否以某个项目为基础开发前进行判断的开发者。

适用场景

  • ✓当你在决定某个仓库是否可以用作智能体运行框架时。
  • ✓当你在设置自定义运行框架之前,想要一个风险评分时。
  • ✓当你在发布项目之前,想要进行就绪度检查时。

技能链接

https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-metaharness/skills/harness-genome/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-metaharness/skills/harness-genome/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请给我这个仓库的就绪度报告,包括风险评分,以及它是否可以发布。”

每周 5 个新技能,1 分钟读完。

工作原理

这项技能对该文件夹运行 genome 命令,并把每个部分作为数据返回。它保留就绪性结论,并且当风险评分高于你设定的上限时,可以使检查失败。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Companion to harness-score. Where score is a 5-dimension numeric scorecard, genome is a 7-section categorical/numeric report covering repo type, agent topology recommendations, risk score (0-1), MCP surface area, test confidence (0-1), and publish readiness (0-1).

Algorithm

Implementation: scripts/genome.mjs.

  1. Shell out to npx metaharness genome <path> --json (60s hard timeout).
  2. Parse the shape: { repo_type, agent_topology[], risk_score, mcp_surface, test_confidence, publish_readiness }.
  3. Preserve upstream's readiness verdict as verdict and verdictExitCode. Upstream exits 1 for needs-work and 2 for blocked; these are valid reports, so the wrapper returns them successfully.
  4. If --alert-on-risk-above N: exit 1 when risk_score > N.
  5. Output JSON (default) or markdown.

Phase-0 baseline (ruflo, measured 2026-06-16)

{
  "repo_type": "node_mcp_ci",
  "agent_topology": ["maintainer", "tester", "security", "release"],
  "risk_score": 0.27,
  "mcp_surface": "remote",
  "test_confidence": 0.8,
  "publish_readiness": 0.9
}

Ruflo's risk_score: 0.27 is low (good). publish_readiness: 0.9 is high. The mcp_surface: "remote" reflects that ruflo's MCP servers are hosted, not bundled.

When to use

  • Pre-mint review: "before scaffolding a custom harness from this repo, should we?" — genome answers it categorically.
  • Drift detection: capture genome snapshots over time, diff via cost-diff-style tooling to spot when agent_topology recommendations drift away from a deliberate architecture choice.
  • CI gate: --alert-on-risk-above 0.5 fails the build when the repo's risk profile crosses a threshold.

Pairs with

  • harness-score — numeric readiness
  • harness-mcp-scan — static MCP security findings
  • harness-threat-model — enterprise-review-grade threat model
常见问题

它会改动任何文件吗?

不会。这是只读报告。

风险评分表示什么?

它是一个 0 到 1 之间的数字,数值越高风险越大。你可以为它设置警报上限。

如果结论是需要改进或受阻怎么办?

这些都是有效结果,会作为结论报告,而不是作为错误。

详情

作者的原始描述

7-section repo readiness report from `metaharness genome {path}`. Returns repo_type / agent_topology / risk_score / mcp_surface / test_confidence / publish_readiness. Pure-read; degrades gracefully (ADR-150).

repo: ruvnet/ruflo

热度

GitHub 星标
81k
排名
#1648
许可证
MIT
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能