CtrlK
BlogDocsLog inGet started
Tessl Logo

liger-autopatch

Adds Liger Kernel support for a new HuggingFace Transformers model, or modifies existing monkey-patching. Generates lce_forward, monkey-patch function, tests, and README entry. Use when adding a new model to Liger Kernel, when a user asks to patch an unsupported model, when extending MODEL_TYPE_TO_APPLY_LIGER_FN, or when modifying/updating/fixing an existing monkey-patch (e.g., adding a new kernel to an already-supported model, fixing instance patching, updating a patch for upstream HF changes).

74

Quality

93%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Low

Low-risk findings worth noting

SKILL.md
Quality
Evals
Security

Quality

Content

85%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-orchestrated, token-efficient pipeline document with excellent workflow sequencing, explicit checkpoints, and copy-paste-ready validation commands. Its main weaknesses are that the core workflow detail lives in referenced files that are absent from the bundle, and actionability therefore depends on files the skill currently does not ship.

Suggestions

Ship the referenced workflow files (model-analyzer.md, code-generator.md, validator.md, decision-matrix.md, examples/llama-profile.md, examples/gemma-profile.md, templates/) in the bundle — none are currently present, so every stage's primary instructions are unreachable.

Inline a minimal fallback for the Validator workflow (the exact test commands already appear in Modify mode) so the pipeline remains executable if reference files are unavailable or truncated.

For actionability, add one short concrete example of a generated artifact (e.g., a skeleton of an apply_liger_kernel_to_{model_type} patch or a pointer to the specific template file per output type) so the Generate stage is actionable even before opening code-generator.md.

DimensionReasoningScore

Conciseness

The body is lean and assumes competence: it never explains what monkey-patching or convergence testing is, delegates detail to referenced workflow files, and keeps each section to its operational essentials (mode detection keywords, a 13-file modification list, exact commands). Nothing is padded, matching the score-5 'every token earns its place' anchor rather than score 4, which expects over-explanation that could be trimmed.

5 / 5

Actionability

Concrete, copy-paste-ready commands are present (pytest invocations with -k "{model_type}" -xvs per test path, `make checkstyle`), and the 13-file list tells the agent exactly what to touch. However, the core Analyze/Generate instructions are delegated to model-analyzer.md, code-generator.md, and validator.md, none of which exist in the bundle, so by itself the body is not fully executable — a minor gap consistent with the score-4 anchor rather than score 5's fully self-contained coverage.

4 / 5

Workflow Clarity

Both pipelines are clearly sequenced (Analyze → Generate → Validate; Change Impact Analysis → Apply Changes → Validate) with explicit human checkpoints at every stage, a validation stage marked "mandatory — do not skip it" with the exact minimum test set, and a retry feedback loop ("Retries up to 3 times on failure"). This matches the score-5 anchor: explicit validation steps, error-recovery loops, and checklists for a complex process.

5 / 5

Progressive Disclosure

The design intent is excellent — a short overview with well-signaled, one-level-deep references (decision-matrix.md, examples/llama-profile.md, examples/gemma-profile.md, templates/, plus per-stage workflow files) — but scored against the actual bundle, none of the referenced files (model-analyzer.md, code-generator.md, validator.md, decision-matrix.md, examples/, templates/) exist, so the navigation chain is broken. This falls between the score-4 anchor (minor organization gaps) and score-2 (unusable structure); the clearly signaled but non-existent references land it at the midpoint rather than 4.

3 / 5

Total

17

/

20

Passed

Description

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

An exemplary description: third-person voice, concrete named artifacts for both create and modify capabilities, and an explicit 'Use when' clause with natural trigger phrases and synonyms. It is dense but not padded — every clause is informational.

DimensionReasoningScore

Specificity

The description lists multiple concrete actions covering both create and modify paths: "Adds Liger Kernel support for a new HuggingFace Transformers model, or modifies existing monkey-patching" and "Generates lce_forward, monkey-patch function, tests, and README entry." Every clause names a specific artifact or operation with no vague filler, matching the comprehensive-coverage anchor rather than the score-4 anchor (which expects minor gaps in coverage).

5 / 5

Completeness

Both questions are answered explicitly: what ("Adds... support", "modifies existing monkey-patching", "Generates lce_forward, monkey-patch function, tests, and README entry") and when (an explicit "Use when..." clause with four concrete trigger scenarios and parenthetical examples). This is a direct match to the score-5 example pattern; score 4 would require the 'when' to be less explicit, which it is not.

5 / 5

Trigger Term Quality

Trigger coverage is comprehensive with natural phrasing and synonyms users would actually say: "adding a new model to Liger Kernel", "patch an unsupported model", "modifying/updating/fixing an existing monkey-patch", plus concrete variants like "adding a new kernel to an already-supported model" and "updating a patch for upstream HF changes." This matches the score-5 anchor (synonyms plus concrete identifiers such as MODEL_TYPE_TO_APPLY_LIGER_FN); the score-4 anchor requires missing natural terms, and none are missing for this domain.

5 / 5

Distinctiveness Conflict Risk

The niche is unmistakable — Liger Kernel monkey-patching for HF Transformers models — with domain-specific identifiers (lce_forward, MODEL_TYPE_TO_APPLY_LIGER_FN) that no other skill would share. Trigger phrases are tightly scoped to this domain, so conflict risk is minimal, matching the score-5 clear-niche anchor.

5 / 5

Total

20

/

20

Passed

Validation

93%

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

Validation — 15 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

relative_links

Relative link issues: 10 missing

Warning

Total

15

/

16

Passed

Repository
linkedin/Liger-Kernel
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.