本文へスキップ
Skillpedia
一般的なプログラミング81k · #1654

harness-score

できること

このスキルは、5つの項目からなるスコアカードを使って、コードリポジトリがエージェントハーネスとしてどれくらい適しているかを採点します。プロジェクトにハーネスの構成を採用するかどうかを決める開発者向けです。

使う場面

  • ✓エージェントハーネスを設定する前に、リポジトリを評価したいとき。
  • ✓CI のチェックのために、準備状況のスコアが必要なとき。
  • ✓ハーネスを採用するために、リポジトリを比べているとき。

スキルのリンク

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

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-metaharness/skills/harness-score/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“このリポジトリをエージェントハーネスとして採点し、足場を組む準備ができているかを教えてください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

スキルは、フォルダーに対して採点コマンドを実行し、結果を読み戻します。適合性、コンパイルの確信度、タスクの網羅性、ツールの安全性、メモリーの有用性、1回の実行あたりの推定コストを含みます。適合性があなたが設定した上限を下回ると、チェックを失敗させられます。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

Surfaces the upstream metaharness score CLI as a ruflo skill. Use when Claude Code needs to assess whether a repo is ready for harness adoption before recommending the user run npx ruflo init or harness-mint.

Algorithm

Implementation: scripts/score.mjs.

  1. Shell out to npx metaharness score <path> --json (single subprocess, 60s hard timeout).
  2. Parse the JSON shape: { harnessFit, compileConfidence, taskCoverage, toolSafety, memoryUsefulness, estCostPerRunUsd, recommendedMode, archetype, template, scaffoldReady, hardConstraints }.
  3. If --alert-on-fit-below N: exit 1 when harnessFit < N.
  4. Output JSON (default) or markdown table.

Phase-0 baseline (ruflo's own scorecard, measured 2026-06-16)

Dimension Value
harnessFit 82/100
compileConfidence 100
taskCoverage 79
toolSafety 100
memoryUsefulness 40
estCostPerRunUsd $0.048
recommendedMode CLI + MCP
archetype typescript-sdk-harness
template vertical:coding
scaffoldReady true

Ruflo passes its own readiness check. memoryUsefulness: 40 is the weakest dimension — track this as a leading indicator for future memory work in the AgentDB layer.

CI integration

node plugins/ruflo-metaharness/scripts/score.mjs --alert-on-fit-below 70 --format json

Exit 1 fails the build. Pair with harness-genome for the full 7-section view.

Graceful degradation (ADR-150 architectural constraint rule #3)

When metaharness is not installed and npx can't fetch it (offline, no network, registry unreachable), the script emits:

{
  "degraded": true,
  "reason": "metaharness-not-available",
  "hint": "Install with `npm i -D metaharness@~0.4.1` (pinned range — this plugin never fetches @latest) or verify network access for the one-time cache install."
}

and exits 0. Ruflo continues to function — this is the architectural constraint in action.

よくある質問

リポジトリを変更しますか?

いいえ。採点は読み取り専用です。

推定コストは何を示しますか?

採点ツール自身の見積もりに基づく、1回の実行あたりの推定コストを示します。

ビルドを止められますか?

はい。fit のアラートのオプションを使うと、適合性のスコアが選んだ数値を下回ったときにエラーで終了します。

詳細

作者による元の説明

5-dimension harness readiness scorecard from `metaharness score {path}` (harnessFit, compileConfidence, taskCoverage, toolSafety, memoryUsefulness, plus cost per run). Use when rating a repo as an agent harness. Pure-read; degrades gracefully without MetaHarness.

repo: ruvnet/ruflo

人気

GitHubのスター
81k
ランキング
#1654
ライセンス
MIT
更新日
2026/11/2

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル