CtrlK
BlogDocsLog inGet started
Tessl Logo

ax-refine

Use this skill when writing or reviewing Ax bestOfN/refine code, reward functions, thresholds, native sample selection, serial attempts, generated advice, and attempt diagnostics.

75

Quality

93%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide

SecuritybySnyk

Passed

No findings from the security scan

SKILL.md
Quality
Evals
Security

Quality

Content

87%

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

The body is lean, actionable, and well-structured with executable code and specific API surface, and it largely avoids teaching concepts Claude already knows. The main gap is the absence of an explicit validation/feedback-loop checkpoint for the retry-and-refine workflow it describes.

Suggestions

Add an explicit feedback-loop checkpoint for refine rounds, e.g. 'After each round, check the attempt's reward against threshold; if below, inspect generated advice and re-run — stop early once threshold is met.'

Show how to inspect a failed attempt's diagnostics (reward, errors, adviceApplied) from getAttempts() to drive the fix→retry loop, since the skill emphasizes feedback that changes the next attempt.

Note the threshold/early-stop validation explicitly as the gate that terminates serial attempts, making the validation checkpoint concrete rather than implied.

DimensionReasoningScore

Conciseness

Lean and efficient throughout — it assumes Claude's competence (e.g. 'Use bestOfN(...) when you can score complete outputs independently') and avoids explaining what a reward function or streaming is; every token earns its place.

3 / 3

Actionability

Provides fully executable, copy-paste-ready TypeScript for both bestOfN and refine with concrete option names (n, threshold, rounds, samplesPerRound, rewardDescription) and a runnable rewardFn example, plus specific API method names.

3 / 3

Workflow Clarity

The distinction between bestOfN and refine and the strategy/auto/native-samples/serial guidance is sequenced, but there is no explicit validate→fix→retry feedback-loop checkpoint for the retry rounds it describes, which the rubric flags as a gap for batch/retry operations.

2 / 3

Progressive Disclosure

Well-organized into clear one-level sections (Validation And Assertions, APIs, Reward Functions, Strategies, Refine Advice, Streaming) with no nested references and no bundle files to split, fitting the simple-skill allowance for a 3.

3 / 3

Total

11

/

12

Passed

Description

100%

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

The description is concise, specific, and uses third-person voice with an explicit 'Use when' trigger. It cleanly covers what the skill does and when to invoke it within a distinct, conflict-resistant niche.

DimensionReasoningScore

Specificity

Lists multiple concrete actions — 'writing or reviewing Ax bestOfN/refine code, reward functions, thresholds, native sample selection, serial attempts, generated advice, and attempt diagnostics' — each naming a distinct capability rather than vague language.

3 / 3

Completeness

Explicitly answers both 'what' (the listed Ax capabilities) and 'when' via the 'Use this skill when writing or reviewing...' clause, satisfying the explicit-trigger requirement.

3 / 3

Trigger Term Quality

Uses natural terms a user would say when needing this skill ('bestOfN', 'refine', 'reward functions', 'thresholds') with good coverage of the domain's common vocabulary.

3 / 3

Distinctiveness Conflict Risk

The Ax-specific, bestOfN/refine niche with distinct triggers is unlikely to fire for unrelated skills, giving it a clear non-overlapping scope.

3 / 3

Total

12

/

12

Passed

Validation

93%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation15 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

frontmatter_unknown_keys

Unknown frontmatter key(s) found; consider removing or moving to metadata

Warning

Total

15

/

16

Passed

Repository
ax-llm/ax
Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.