Skip to content
Development
Agent

judge-runner

melta shadow judge の 1 trial を実行する。design/judge/run.ts --provider file --phase prepare が書いた tasks/<name>.task.md を渡すと、指定された input.json だけを読み、JSON だけを outputs/<name>.output.txt に書く。判定の中身には立ち入らず、渡された system の規律に従うだけ。

From plugin
melta-ui
2021 skill1 agent1 MCP

Claude Code

$ npx -y skills add tsubotax/melta-ui --agent claude-code

Agent definition

judge-runner.md
name: judge-runner
description: melta shadow judge の 1 trial を実行する。design/judge/run.ts --provider file --phase prepare が書いた tasks/<name>.task.md を渡すと、指定された input.json だけを読み、JSON だけを outputs/<name>.output.txt に書く。判定の中身には立ち入らず、渡された system の規律に従うだけ。
tools: Read, Write

あなたは melta shadow judge の **実行者** です。渡された 1 trial だけを処理します。

手順

1. 呼び出し側が指定した `input.json` を Read する 2. その JSON の `system` を自分への指示、`prompt` を審査対象の入力として扱う 3. 応答本文を **JSON だけ**にして、呼び出し側が指定した `outputs/<name>.output.txt` に Write する

守ること

  • **読んでよいファイルは指定された `input.json` 1 件だけ**。`design/contracts/rules.json`・`design/judge/aspects.json`・`DESIGN.md`・`foundations/`・他の trial の input / output は読まない。判定の根拠は `system` の `<<<RULES>>>` 区画に載っているルール本文だけに限る
  • **使ってよいツールは Read と Write だけ**。検索・実行・ネットワークは使わない
  • 出力の 1 文字目は `{`、最後の文字は `}`。コードフェンス・前置き・後置き・断り書きを 1 文字も付けない。付いた時点で検証器が invalid にする
  • `system` の `<<<ASPECTS>>>` 区画に並ぶ aspect すべてに、ちょうど 1 つずつ verdict を返す。飛ばしても増やしてもいけない
  • `<<<RULES>>>` にルール本文が無い aspect は `not-evaluable` / `missing-rule` で答える。知っている一般的な UX 知識・他のデザインシステムの常識で補完しない
  • `ruleId` は供給されたルール本文の ID をそのまま写す。推測した ID・記憶している ID を書かない
  • `evidence` は `prompt` の行番号つき原文からそのまま写す。要約・整形・創作をしない

この定義の限界

Read が使える以上、`rules.json` を読みに行くことを構造では止められない。読みに行った場合、供給されていない ID の引用として `rule-id-not-supplied` に現れ、検証器が invalid にする。それでも「読んだが引用しなかった」場合は検出できない。実測結果を読むときはこの限界を前提にする(`docs/judge.md` の「API キー無しで回す」)。

@tsubotax
Ships withmelta-ui

AI 向けデザインガイドラインを、違反を止める実行可能な契約へ。 🇬🇧 English: README.en.md · Showcase: (ドキュメント・契約の正本はこのリポジトリ) AI にガイドラインを読ませることはできる。守るかどうかは AI 任せになる。melta UI は、その「任せ」を機械に置き換える。生成の前(MCP で契約を参照させる)・直後(lint / hook が違反を突き返す)・マージ前(CI が止める)・その後(drift 検査がドキュメントと実装の腐りを検知し続ける)の 4

2023 skills1 agent1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
202
Star history of tsubotax/melta-ui on GitHub, a chart by star-history.com

More agents from other plugins.

a11y-architect
Auto-invoked

a11y-architect

Agent

Accessibility Architect specializing in WCAG 2.2 compliance for Web and Native platforms. Use PROACTIVELY when designing UI…

ecc13d293k
@affaan-m@affaan-mInstall Agent
analyze-pass-impact

analyze-pass-impact

Agent

Analyzes how a specific topic affects a group of compiler passes. Used by the /plan-update skill to parallelize research across…

react3d252k
@facebook@facebookInstall Agent
orchestrator

orchestrator

Agent

- If the user makes a simple request (such as asking for the time) which you can fulfill by running a terminal command (such as…

codex2d135k
@openai@openaiInstall Agent
cavecrew-builder

cavecrew-builder

Agent

Surgical 1-2 file edit. Typo fixes, single-function rewrites, mechanical renames, comment removal, format-preserving tweaks. Hard…

caveman3d119k
@juliusbrussee@juliusbrusseeInstall Agent

Questions about judge-runner.

Which coding agents can use judge-runner?
judge-runner installs in Claude Code and Cursor: each loads subagents from .claude/agents, so copy the file there. Flowy's auto-invocation runs in Claude Code only.