best-of-n

Installation
SKILL.md

Best-of-N Selection and Proof

Use this skill when a task has several plausible solutions, a wrong choice is costly, and a deterministic check or independent reviewer can evaluate the selected result. Do not use it for mechanical work with one clear implementation and a direct acceptance test.

Read the full method at Best-of-N: Generate, Select, and Verify before running the protocol.

Inputs to collect before generation

  • Task scope, exclusions, repository revision, environment, permissions, and budget.
  • Acceptance criteria, mandatory failure conditions, and executable checks.
  • A rubric with weights, observable anchors, passing threshold, tie-breaker, candidate count or predeclared batch schedule, and stop rule.
  • The selected TESTING.md path. Start from the portable proof-log template.

If any item is missing, return needs_contract and list the missing fields. Do not generate candidates first and invent the rubric afterward.

Procedure

Installs
2
GitHub Stars
6.0K
First Seen
Sep 2, 2026
best-of-n — florianbruniaux/claude-code-ultimate-guide