Skills

Do And Judge

Execute a task with sub-agent implementation and LLM-as-a-judge verification with...

Install

npx skills add NeoLabHQ/context-engineering-kit --skill do-and-judge -g -a claude-code -y
Category
AI and agents
Updated
2mo ago
License
GPL-3.0
Context cost
Mediumabout 3,000 tokens
Runs scripts
No, instructions only

What it does

Execute a task with sub-agent implementation and LLM-as-a-judge verification with automatic retry loop

do-and-judge

Task

Execute a single task by dispatching an implementation sub-agent, verifying with an independent judge, and iterating with feedback until passing or max retries exceeded.

Arguments

ArgumentFormatDefaultDescription
taskFree-form textRequiredTask description to execute
--modelhaiku|sonnet|opusauto-selectedExplicit user override for all sub-agents: implementation, meta-judge, and judge. When omitted, you MUST select the model per the Model Selection Policy, there is no fixed fallback tier. When provided, the user's choice wins over the policy for every sub-agent, see the Escalation Rule for how escalation interacts with an explicit override.
--strict--strictfalseDisable the Iteration Discretion Rule - the task passes ONLY when score >= 4.0, otherwise retry until max retries is reached.

Example: /do-and-judge Refactor the UserService class to use dependency injection --strict

Context

This command implements a single-task execution pattern with meta-judge → LLM-as-a-judge verification. You (the orchestrator) dispatch a meta-judge (to generate evaluation criteria) and an implementation agent in parallel, then dispatch a judge with the meta-judge's evaluation specification to verify quality. If verification fails, you launch new implementation agent with judge feedback and iterate until passing (score ≥4, or accepted per the Iteration Discretion Rule) or max retries (3) exceeded.

Key benefits:

Read the whole SKILL.md on GitHub

More in AI and agents