CtrlK
BlogDocsLog inGet started
Tessl Logo

setup-pre-commit

在当前仓库设置 Husky pre-commit hooks,集成 lint-staged (Prettier)、类型检查和测试。适用于用户想添加 pre-commit hooks、设置 Husky、配置 lint-staged,或在提交时运行格式化、类型检查和测试时。

80

Quality

100%

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.

The body is a tight, executable workflow with concrete commands, complete config blocks, and an explicit verification checklist plus commit smoke-test. It respects Claude's competence and is well-organized without needing external files.

DimensionReasoningScore

Conciseness

Lean body with no explanation of concepts Claude already knows; every line is instructional, and the Notes add only genuinely useful caveats. Not the 2-anchor because there is no padding.

3 / 3

Actionability

Concrete executable commands throughout (`npx husky init`, `npx lint-staged`, `npm run typecheck`) plus complete JSON configs for `.lintstagedrc` and `.prettierrc`; copy-paste ready.

3 / 3

Workflow Clarity

Clear numbered 1–8 sequence with an explicit verification checklist in step 7 and a smoke-test feedback loop in step 8; not the 2-anchor because checkpoints are explicit.

3 / 3

Progressive Disclosure

Single-purpose skill with no need for external references; content is well-organized into clearly signaled sections (What / Steps / Notes), so well-organized inline content earns the top anchor.

3 / 3

Total

12

/

12

Passed

Description

100%

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 concise yet complete: it names concrete capabilities and provides an explicit use-when clause with natural trigger terms. It avoids fluff and is clearly distinct from other skills.

DimensionReasoningScore

Specificity

Lists multiple concrete actions — "设置 Husky pre-commit hooks", "集成 lint-staged (Prettier)", "类型检查和测试" — matching the multi-action anchor; not vague.

3 / 3

Completeness

Answers both what (set up Husky + lint-staged + typecheck + tests) and when via the explicit "适用于...时" trigger clause, satisfying the both-what-and-when anchor.

3 / 3

Trigger Term Quality

Natural trigger phrases users would say are well covered: "pre-commit hooks", "设置 Husky", "配置 lint-staged", "格式化、类型检查和测试".

3 / 3

Distinctiveness Conflict Risk

Niche is clearly scoped to Husky pre-commit hook setup with distinct triggers, unlikely to fire for unrelated skills.

3 / 3

Total

12

/

12

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.