CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

refinement-step-generator

Generate systematic refinement steps from high-level specifications to concrete implementations in Isabelle/HOL or Coq, preserving correctness obligations at each step. Use when working with formal verification, program refinement, proof development, or when translating abstract specifications into executable code while maintaining formal guarantees. Supports data refinement (abstract types → concrete structures), algorithmic refinement (specifications → algorithms), and stepwise refinement with proof obligations.

65

Quality

82%

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

67%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-structured, highly actionable skill body with real Isabelle/Coq code covering all three refinement types and a clear stepwise process. Its weaknesses are token efficiency (conceptual overview and basic tactic listings Claude doesn't need, plus duplicated links) and the absence of error-recovery guidance when proof obligations fail.

Suggestions

Trim the Overview's conceptual explanation of what refinement is and the Step 5 lists of basic tactics (`auto`, `simp`, `destruct`, etc.) — this is knowledge Claude already has and it competes with conversation context.

Drop the duplicated "Additional Resources" section (or consolidate it into the earlier link points) so each reference file is linked exactly once from its most relevant section.

Add a brief error-recovery note in the Refinement Process for failed proof obligations (e.g., which tactic or lemma to reach for when a simulation proof stalls), turning the checklist into a genuine feedback loop.

DimensionReasoningScore

Conciseness

The bulk is genuinely skill-specific code patterns, but there is avoidable overhead: the Overview explains what refinement is ("Refinement is the process of transforming abstract specifications into concrete implementations..."), Step 5 lists basic tactics Claude already knows ("`auto`, `simp`, `blast` for automation", "`destruct` for case analysis"), and the "Additional Resources" section repeats reference links already given inline. Mostly efficient, but it could be tightened.

3 / 5

Actionability

Provides concrete, executable Isabelle and Coq code throughout — complete definitions, abstraction relations, and worked proofs (e.g., the structured induction proof for `find_impl_refines`) covering the common cases. Falls short of fully copy-paste ready because some proof obligations are placeholders, e.g., "(* Prove is_sorted and Permutation properties *) Qed."

4 / 5

Workflow Clarity

A clear five-step sequence (Identify Abstraction Gap → Choose Strategy → Define Abstraction Relation → Generate Proof Obligations → Prove Obligations) with an explicit Verification Checklist of checkpoints before finalizing. Minor gap: no feedback-loop guidance for what to do when a proof obligation fails to discharge.

4 / 5

Progressive Disclosure

Three real, one-level-deep reference files, each clearly signaled with "Key features" context and linked from relevant sections. Minor organization gaps: the full worked examples in "Core Refinement Types" duplicate material that also lives in references/refinement_patterns.md, and the "Additional Resources" section repeats links already given earlier.

4 / 5

Total

15

/

20

Passed

Description

88%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 strong description: third-person voice, concrete actions, explicit what-and-when structure, and a well-defined niche. Its only weakness is trigger synonym coverage — "theorem proving" and "proof assistant" are natural phrases in this domain that are absent.

DimensionReasoningScore

Specificity

Lists multiple specific concrete actions — "Generate systematic refinement steps from high-level specifications to concrete implementations", "preserving correctness obligations at each step", and the three supported refinement types (data, algorithmic, stepwise) with parenthetical elaborations — giving comprehensive coverage of what the skill does.

5 / 5

Completeness

Explicitly answers both what ("Generate systematic refinement steps... preserving correctness obligations at each step") and when ("Use when working with formal verification, program refinement, proof development, or when translating abstract specifications into executable code") with concrete trigger phrases.

5 / 5

Trigger Term Quality

Good natural keyword coverage ("formal verification", "program refinement", "proof development", "Isabelle/HOL", "Coq", "translating abstract specifications into executable code"), but common synonyms a user would naturally say such as "theorem proving" or "proof assistant" are missing, which keeps it just below comprehensive.

4 / 5

Distinctiveness Conflict Risk

The Isabelle/HOL + Coq refinement focus is a clear, mostly distinct niche, but the broad triggers "formal verification" and "proof development" could also fire for general proof-assistant work that a closely related sibling skill might own, presenting minor overlap risk.

4 / 5

Total

18

/

20

Passed

Validation

100%

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

Validation — 16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository

ArabelaTso/Skills-4-SE

Path

skills/refinement-step-generator/SKILL.md

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.