CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

cheat-migrate

把老用户的 .cheat-state.json 升级到当前 schema_version。读 migrations/registry.md 算迁移链,按顺序应用每一步迁移文件。幂等:跑两次结果一样。失败停在中间版本不前进。触发词:"迁移"/"升级 state"/"migrate"/"我的 state 是老版本"/"schema 版本不对"。

Quality

89%

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

81%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-engineered operational spec: unambiguous phased workflow, explicit validation and failure-recovery semantics, and honest refusal/integration boundaries. The main costs are redundancy (backup and dry-run rules repeated across sections) and placeholder-laden example outputs, plus a monolithic single-file layout for a fairly long body.

Suggestions

State the backup/dry-run/idempotency rules once (Key Rules) and reference them from the phases instead of restating them in Constants, Phase 2, and the Phase 5 report template.

Make Phase 4 validation concrete: give an explicit parse/field check (e.g., a jq or python one-liner against the state file) instead of '读 → 解析 → 应能成功', and replace '[...]' / 'X 字段' placeholders in the example outputs with real field names.

Move Examples and Refusals into a reference file (e.g., references/examples.md) so SKILL.md stays a lean overview, and confirm migrations/ and shared-references/ paths resolve from the shipped skill bundle.

DimensionReasoningScore

Conciseness

The body is dense and operational — phase workflow, constants table, exact file paths — with essentially no explanation of concepts Claude already knows, matching the score-4 anchor (efficient, minor instances that could be trimmed). It does not reach 5 because the backup rule and dry-run behavior are each restated three to four times (Constants, Phase 2, Key Rules 1/4/5, Phase 5 report) and the three Examples partially replay the workflow already specified.

4 / 5

Actionability

Guidance is mostly executable: the concrete backup command `cp .cheat-state.json .cheat-state.json.backup-$(date +%s)`, the atomic-write pattern (write .tmp → rename), the exact registry line format `LATEST_SCHEMA = "X.Y"`, and a fully scripted dry-run and final report template. It stops short of score 5 because Phase 4 validation is directional ("读 → 解析 → 应能成功") with no concrete check command, and Example dry-run outputs contain unfilled placeholders ("新增字段:[...]", "state 文件现在含 X 字段").

4 / 5

Workflow Clarity

Phases 0–5 are clearly sequenced with an explicit validation checkpoint (Phase 4 re-parse + schema_version == target + required-field check), an explicit failure feedback loop (stop at last successful version, tell the user where it stopped and that re-running resumes from there), forced pre-write backup, and idempotent re-entry via current_version == target. This matches the score-5 anchor (clear sequence, explicit validation, feedback loops for error recovery), well above score 4 where checkpoints would have gaps.

5 / 5

Progressive Disclosure

Structure is good: a compact overview diagram, Constants, Inputs table, phased workflow, and clearly signaled one-level-deep references (migrations/registry.md, migrations/<from>-to-<to>.md, ../../shared-references/state-management.md) — matching the score-4 anchor. It is not 5 because the skill ships as a single ~230-line file with no bundle files, and sections that could live separately (Refusals, Integration, Examples) are inlined; the referenced migrations/ and shared-references/ paths also cannot be verified from the skill bundle itself.

4 / 5

Total

17

/

20

Passed

Description

96%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: concrete actions, explicit behavioral guarantees (idempotent, stop-on-failure), and a bilingual explicit trigger list. The only weakness is that the single-word triggers "migrate"/"迁移" are generic enough to risk firing on unrelated migration requests.

DimensionReasoningScore

Specificity

Multiple concrete actions are listed: "把老用户的 .cheat-state.json 升级到当前 schema_version", "读 migrations/registry.md 算迁移链", "按顺序应用每一步迁移文件", plus explicit behavioral contracts ("幂等:跑两次结果一样", "失败停在中间版本不前进"). This matches the score-5 anchor (multiple specific concrete actions, comprehensive coverage) and exceeds score 4 because coverage of both what is done and how failures behave is complete, with no generic filler.

5 / 5

Completeness

Both halves are explicit: the 'what' is the first three sentences (upgrade, compute chain from registry, apply steps in order), and the 'when' is an explicit trigger list introduced by "触发词:". This matches the score-5 anchor (clearly and explicitly answers what AND when with concrete trigger phrases) rather than score 4, where the 'when' would only be implicit or less specific.

5 / 5

Trigger Term Quality

Trigger terms span both natural languages users would speak: "迁移", "升级 state", "migrate", "我的 state 是老版本", "schema 版本不对" — including the file name (.cheat-state.json) and Chinese/English synonyms. This matches the score-5 anchor (comprehensive coverage including synonyms); it is above score 4 because no common phrasing a user would naturally say for this need is obviously missing.

5 / 5

Distinctiveness Conflict Risk

The niche is clear (schema-version migration of one specific state file), and triggers like "我的 state 是老版本" / "schema 版本不对" are distinct. However the bare trigger "migrate" / "迁移" is a word users also say for code, database, or config migrations, creating minor overlap risk with unrelated migration skills — matching the score-4 anchor (mostly distinct, minor overlap risk) rather than score 5 (minimal conflict risk).

4 / 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

allowed_tools_field

'allowed-tools' contains unusual tool name(s)

Warning

frontmatter_unknown_keys

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

Warning

relative_links

Relative link issues: 1 suspicious

Warning

Total

13

/

16

Passed

Repository

XBuilderLAB/cheat-on-content

Path

skills/cheat-migrate/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.