CtrlK
BlogDocsLog inGet started
Tessl Logo

migrate-to-shoehorn

将测试文件从 `as` 类型断言迁移到 @total-typescript/shoehorn。适用于用户提到 shoehorn、想替换测试中的 `as`,或需要局部测试数据时。

68

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

82%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.

The body is actionable and well-structured with executable examples and a validation checkpoint, scoring high on actionability and conciseness. Workflow clarity and progressive disclosure sit just below the top anchor due to a missing explicit error-recovery loop and the absence of split-out reference material.

Suggestions

Add an explicit feedback loop after the type-check step, e.g. "If type errors remain, fix the affected `as` replacements and re-run the type check until it passes."

Trim the "Why shoehorn?" bullets to one or two lines so the rationale earns its tokens without restating what Claude already knows about `as`.

Consider moving the "When to use each" comparison table and extended pattern variants into a references/ file, leaving SKILL.md as a tighter overview with one-level-deep links.

DimensionReasoningScore

Conciseness

Mostly lean with brief before/after examples and a compact workflow; the "Why shoehorn?" rationale and bullets on `as` problems add minor over-explanation that could be trimmed.

4 / 5

Actionability

Provides copy-paste ready install command, grep command, concrete before/after code for each pattern, a comparison table, and a checklist covering the common migration cases.

5 / 5

Workflow Clarity

Clear sequenced checklist ending in a validation step ("运行 type check 验证"), but lacks an explicit feedback loop (fix-and-rerun) for the batch file-migration operation.

4 / 5

Progressive Disclosure

Well-organized into distinct sections (Why, Install, Patterns, When, Workflow) with no nested or buried references; over 50 lines so not eligible for the simple-skill 5, and no content clearly belongs in a separate file.

4 / 5

Total

17

/

20

Passed

Description

82%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.

The description is third-person, concise, and clearly states both what the skill does and when to invoke it with concrete trigger terms. It is slightly light on enumerating multiple distinct actions, which keeps specificity at the midpoint.

DimensionReasoningScore

Specificity

Names the domain and one concrete action ("迁移测试文件从 `as` 类型断言到 @total-typescript/shoehorn") but lists only a single action rather than several specific ones, matching the 1-2 concrete actions anchor.

3 / 5

Completeness

Explicitly answers both what (migrate `as` assertions to shoehorn) and when ("适用于用户提到 shoehorn、想替换测试中的 `as`,或需要局部测试数据时") with concrete trigger phrases.

5 / 5

Trigger Term Quality

Includes natural terms users would say ("shoehorn", "替换测试中的 `as`", "局部测试数据") with good coverage; a few synonyms or extension terms are missing.

4 / 5

Distinctiveness Conflict Risk

Targets a clear niche (@total-typescript/shoehorn test migration) with distinct triggers and minimal overlap with other skills.

5 / 5

Total

17

/

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.

Validation16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository
vinvcn/mattpocock-skills-zh-CN
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.