CtrlK
BlogDocsLog inGet started
Tessl Logo

setup-pre-commit

Set up Husky pre-commit hooks with lint-staged (Prettier), type checking, and tests in the current repo. Use when user wants to add pre-commit hooks, set up Husky, configure lint-staged, or add commit-time formatting/typechecking/testing.

100

1.33x
Quality

100%

Does it follow best practices?

Impact

100%

1.33x

Average score across 3 eval scenarios

SecuritybySnyk

Passed

No findings from the security scan

The canonical home for this skill is setup-pre-commit in mattpocock/skills

SKILL.md
Quality
Evals
Security

Quality

Content

100%Scale 1-3

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

This is a well-crafted skill that provides clear, actionable, step-by-step instructions for setting up Husky pre-commit hooks. It's concise without sacrificing completeness, includes proper verification steps, and handles edge cases (missing scripts, missing Prettier config, different package managers) explicitly. The content respects Claude's intelligence while providing all the specific configuration details needed.

DimensionReasoningScore

Conciseness

The content is lean and efficient. It doesn't explain what Husky, lint-staged, or Prettier are beyond their role. Every section serves a clear purpose with no padding or unnecessary context.

3 / 3

Actionability

Each step provides concrete, executable commands and file contents that are copy-paste ready. The adaptation notes (e.g., detecting package manager, omitting missing scripts) give specific conditional guidance rather than vague direction.

3 / 3

Workflow Clarity

Steps are clearly sequenced from detection through installation, configuration, verification, and commit. Step 7 provides an explicit verification checklist, and Step 8 serves as a smoke test feedback loop. The 'Adapt' callout handles edge cases explicitly.

3 / 3

Progressive Disclosure

For a single-purpose skill under 100 lines with no need for external references, the content is well-organized with clear section headers and logical grouping. No bundle files are needed and none are referenced unnecessarily.

3 / 3

Total

12

/

12

Passed

Description

100%Scale 1-3

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

This is an excellent skill description that clearly communicates what the skill does and when to use it. It names specific tools (Husky, lint-staged, Prettier), concrete actions (set up hooks, configure formatting/typechecking/testing), and provides an explicit 'Use when' clause with natural trigger terms. It uses proper third-person voice and is concise without being vague.

DimensionReasoningScore

Specificity

Lists multiple specific concrete actions: setting up Husky pre-commit hooks, configuring lint-staged with Prettier, type checking, and tests. These are all concrete, well-defined tasks.

3 / 3

Completeness

Clearly answers both 'what' (set up Husky pre-commit hooks with lint-staged, Prettier, type checking, and tests) and 'when' (explicit 'Use when' clause listing multiple trigger scenarios).

3 / 3

Trigger Term Quality

Excellent coverage of natural trigger terms: 'pre-commit hooks', 'Husky', 'lint-staged', 'Prettier', 'commit-time formatting', 'typechecking', 'testing'. These are terms users would naturally use when requesting this setup.

3 / 3

Distinctiveness Conflict Risk

Highly distinctive with a clear niche: Husky + lint-staged + pre-commit hooks is a very specific toolchain combination. Unlikely to conflict with general linting, testing, or formatting skills due to the commit-hook specificity.

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.

Validation11 / 11 Passed

Validation for skill structure

No warnings or errors.

Repository
SnowingFox/ai-skills
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.