CtrlK
BlogDocsLog inGet started
Tessl Logo

optimize-approach

Reviews whether a change takes the most optimal approach for its stated intent and, when it does not, researches the code, validates a concretely better approach via holistic analysis, and either proposes it (report mode) or applies it behind a confidence gate (apply mode). Judges four axes — codebase-fit, simplicity, performance, robustness — at the approach level, deferring line-level and failure-mode findings to code-quality, critical, and holistic-review. Stays silent when the approach is already optimal (quiet early-exit). A `plan` mode reviews a drafted plan's approach at plan time (aw-planner Phase 1) — the cheapest moment to switch. Called by the pr-reviewer agent, the polish skill, and aw-planner as a default-on lens; also runnable standalone, where `--deep` also judges every `critical deep` lens's alternative (end-of-feature check). Triggers on "is this the best approach", "better way to do this", "is this optimal", "optimize this approach", "rethink the approach", "/optimize-approach".

67

Quality

84%

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

73%Weight 40%Scale 1-5

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

A well-architected thin-index skill body: the phase workflow, gates, and checklists are explicit and the progressive-disclosure design is textbook. The main defects are that the referenced detail files (rules/*.md, templates/*.md) are missing from the delivered bundle — so the central optimality rubric and proposal format are unreachable — and noticeable internal repetition of gate and silence rules.

Suggestions

Include the referenced bundle files (rules/optimality-rubric.md, rules/report-mode.md, rules/apply-mode.md, rules/plan-mode.md, rules/deep-mode.md, rules/self-improvement-loop.md, templates/proposal.template.md) with the skill — none are present, so the core judgment criteria and proposal format are currently unreachable.

Inline a brief summary of the four-axis judgment criteria (2–3 bullets per axis, or the anti-overlap/materiality bars) in the O2 section so the central verdict does not depend entirely on an external file.

State each confidence gate and the silence contract once (e.g., in the Workflow table) and reference it elsewhere instead of repeating 'confidence(code) ≥ 90 %' and the quiet-exit rule across the Flags table, O3/O4/O5, Core Principles, and the Definition of Done.

DimensionReasoningScore

Conciseness

The body is a genuinely thin index with dense operational tables and no explanations of concepts Claude already knows, but key values are restated repeatedly — the 'confidence(code) ≥ 90 %' gate appears in the Flags table, O4, O5, Core Principles, and the Definition of Done, and the silence-is-default contract appears in O3, Core Principles, and the anti-patterns — so a few sections could be trimmed. Not score 3 because there is no padding or over-explanation, only cross-referential emphasis; not 5 because the repetition is avoidable.

4 / 5

Actionability

The body gives concrete, executable process guidance — 'Parse the first non-flag token of $ARGUMENTS', 'Invoke Skill("holistic-analysis", "refactor")', explicit thresholds ('confidence(code) ≥ 90 %', 'seen_count >= 3') — but the core judgment procedure ('Score each approach unit against the four axes in rules/optimality-rubric.md') and the proposal format (templates/proposal.template.md) are delegated to files that are not present in the bundle, leaving key details missing from what is actually delivered. Not score 4 because the missing rubric criteria are the skill's central mechanism, more than a minor gap; not score 2 because everything stated in the body is concrete and directly executable.

3 / 5

Workflow Clarity

The O0–O5 workflow is clearly sequenced with a per-phase gate column, explicit validation checkpoints (confidence gates at 85 %/90 %, materiality bar, scoped check), an error-recovery mechanism (revert-on-failure), a quiet early-exit rule, and a Definition of Done checklist — matching the anchor-5 pattern of clear sequence, explicit validation, feedback loops, and checklists.

5 / 5

Progressive Disclosure

The thin-index design is exemplary on paper — every reference is a clearly signaled one-level-deep markdown link organized in a 'Required Reading by Phase' table — but no rules/ or templates/ files exist in the bundle, so the split cannot be verified, and some references point outside the skill directory (../../../agents/shared/rules/optimality-review.md). Not score 5 because well-signaled references to absent files do not amount to easy navigation in the delivered bundle; not score 3 because the structure and signaling in SKILL.md itself are strong.

4 / 5

Total

16

/

20

Passed

Description

91%Weight 40%Scale 1-5

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

A highly specific, well-triggered description with explicit what/when coverage and explicit boundary-drawing against sibling review skills. Its only weakness is verbosity: mode semantics, calling agents, and flag behavior pad the description well past what trigger selection needs.

DimensionReasoningScore

Specificity

Multiple concrete actions are named — 'Reviews whether a change takes the most optimal approach', 'researches the code, validates a concretely better approach via holistic analysis', 'proposes it (report mode) or applies it behind a confidence gate', and 'Judges four axes — codebase-fit, simplicity, performance, robustness' — giving comprehensive, third-person coverage of capabilities.

5 / 5

Completeness

Both 'what' and 'when' are explicitly answered (capabilities up front, concrete 'Triggers on' phrases at the end), exceeding anchor 4's explicitness; however the ~250-word description buries the trigger guidance under mode, caller, and flag detail, and the rubric's guideline is that concise and clear beats long and padded — so it falls short of the crisp anchor-5 exemplar.

4 / 5

Trigger Term Quality

The explicit trigger list — 'is this the best approach', 'better way to do this', 'is this optimal', 'optimize this approach', 'rethink the approach', '/optimize-approach' — covers natural phrasings, synonyms, and the slash command a user would actually say.

5 / 5

Distinctiveness Conflict Risk

It carves out a clear niche (approach-level optimality) and explicitly de-scopes siblings — 'deferring line-level and failure-mode findings to code-quality, critical, and holistic-review' — with distinct trigger phrases, giving minimal conflict risk.

5 / 5

Total

19

/

20

Passed

Validation

81%

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

Validation — 13 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

metadata_field

'metadata' should map string keys to string values

Warning

frontmatter_unknown_keys

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

Warning

relative_links

Relative link issues: 26 missing, 2 suspicious

Warning

Total

13

/

16

Passed

Repository
mthines/agent-skills
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.