CtrlK
BlogDocsLog inGet started
Tessl Logo

cs-refactor

Refactor 主入口。触发:优化/重构/拆分/性能/代码太长,且不改变行为、不新增需求。不要用于新增功能(cs-feat)、修复 bug(cs-issue)、对外文档(cs-docs)、大需求拆解(cs-epic)。

75

Quality

95%

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

100%

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

A well-engineered meta-skill that expresses a multi-stage refactor state machine as a formal spec with explicit checkpoints, progressive reference loading, and precise exit conditions; it is lean, actionable for its routing purpose, and correctly splits detail into one-level-deep bundle files.

DimensionReasoningScore

Conciseness

A dense, information-rich spec expressed via Haskell type signatures and tables rather than prose; it assumes Claude can read the formal model and adds no concept explanations, so every token earns its place.

3 / 3

Actionability

As a routing/state-machine skill it gives concrete, specific guidance — exact file paths, per-stage mode conditions, explicit checkpoint triggers, and precise exit predicates — and the formal Spec is the appropriate actionable artifact; the instruction-only carve-out applies since the guidance is complete, not missing key details.

3 / 3

Workflow Clarity

The scan → select → design → confirm → apply → review sequence is clearly ordered with explicit validation checkpoints (HumanCheckpoint per stage), resume/recovery feedback loops, and concrete exit conditions (testsPassed, reviewPassed, finalValidationSettled).

3 / 3

Progressive Disclosure

References are one level deep and clearly signaled (references/standard/protocol.md, references/fastforward/protocol.md, and a stageSupport mapping listing exact library files per stage); all referenced paths exist in the bundle, and progressive loading is explicit.

3 / 3

Total

12

/

12

Passed

Description

90%

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 tightly written Chinese description with explicit triggers, strong negative boundaries against sibling skills, and natural user phrasings; its only weakness is that it states one action verb plus trigger situations rather than enumerating multiple concrete capabilities.

DimensionReasoningScore

Specificity

Names the refactor domain and a single action ('Refactor 主入口') plus trigger situations ('优化/重构/拆分/性能/代码太长'), but does not list multiple distinct concrete sub-actions like the score-3 anchor; it enumerates triggers rather than executable capabilities.

2 / 3

Completeness

Explicitly answers both what ('Refactor 主入口') and when (an explicit '触发:' trigger clause plus negative guidance '不要用于新增功能/修复 bug/对外文档/大需求拆解').

3 / 3

Trigger Term Quality

Natural terms a user would actually say — '优化', '重构', '拆分', '性能', '代码太长' — are explicitly listed after '触发:', giving good coverage of real phrasings.

3 / 3

Distinctiveness Conflict Risk

Explicitly distinguishes from sibling skills (cs-feat, cs-issue, cs-docs, cs-epic) via the '不要用于...' clause, carving a clear niche unlikely to trigger for the wrong skill.

3 / 3

Total

11

/

12

Passed

Validation

87%

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

Validation14 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

frontmatter_unknown_keys

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

Warning

referenced_paths_exist

Referenced path issues: 9 deeper-than-1-level

Warning

Total

14

/

16

Passed

Repository
codestable/CodeStable
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.