CtrlK
BlogDocsLog inGet started
Tessl Logo

writing-hookify-rules

This skill should be used when the user asks to "create a hookify rule", "write a hook rule", "configure hookify", "add a hookify rule", or needs guidance on hookify rule syntax and patterns.

84

2.38x
Quality

76%

Does it follow best practices?

Impact

100%

2.38x

Average score across 3 eval scenarios

SecuritybySnyk

Passed

No findings from the security scan

Fix and improve this skill with Tessl

tessl review fix ./plugins/hookify/skills/writing-rules/SKILL.md

The canonical home for this skill is Writing Hookify Rules in anthropics/claude-code

SKILL.md
Quality
Evals
Security

Quality

Content

75%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 thorough, highly actionable reference for writing hookify rules with concrete templates and a sensible workflow. Its main weakness is token efficiency — a regex primer and a duplicated quick-reference section re-explain material Claude already knows or that is already covered upstream.

Suggestions

Remove or drastically shrink the "Regex Basics" section — Claude already knows standard regex metacharacters; keep only hookify-specific escaping guidance (YAML quoted vs. unquoted).

Trim the "Quick Reference" to only the minimal-viable template and a pointer, since event types, fields, and operators are already detailed above; avoid restating them.

Tighten the Creating-a-Rule workflow into an explicit validate→fix→retry loop (write rule → test pattern with the python3 one-liner → adjust → retest) to lift workflow clarity.

DimensionReasoningScore

Conciseness

Most of the guide is efficiently specific to hookify, but the "Regex Basics" section explains metacharacters (\s, \d, +, *, ?, |) Claude already knows, and the "Quick Reference" duplicates event types, fields, and operators already covered — several padded sections that could be trimmed.

3 / 5

Actionability

It provides copy-paste-ready rule templates with complete frontmatter, concrete field/operator definitions, specific naming conventions, and a runnable test command (`python3 -c "import re; ..."`), with examples covering the common cases (dangerous rm, console.log, .env edits, completion checklists).

5 / 5

Workflow Clarity

The Workflow section sequences Creating/Refining/Disabling a rule with a "Test immediately — rules are read dynamically on next tool use" checkpoint and a refining feedback loop, but validation is mentioned as a final step rather than a tight validate→fix→retry loop within the steps.

4 / 5

Progressive Disclosure

The body is well-organized with clear section headers and one clearly signaled one-level-deep reference (`${CLAUDE_PLUGIN_ROOT}/examples/`); no bundle files exist, and most content is appropriately inline, though the full operator/field reference and regex tutorial could arguably live in separate files.

4 / 5

Total

16

/

20

Passed

Description

78%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 trigger-focused description with strong, natural trigger phrases and a clear distinctive niche. Its main weakness is framing everything as "when" with the "what" only implied through the quoted verbs rather than stated as an explicit capability.

Suggestions

Lead with an explicit third-person capability statement (e.g., "Creates, configures, and refines hookify rules...") before the trigger clause so the "what" is stated, not just implied.

Add the file extension users would reference (e.g., ".local.md" hookify rule files) to broaden trigger-term coverage.

Rephrase to third-person voice ("Creates hookify rules... Use when the user asks to...") to avoid the passive "This skill should be used" framing.

DimensionReasoningScore

Specificity

The description embeds several concrete actions via the quoted trigger phrases — "create a hookify rule", "write a hook rule", "configure hookify", "add a hookify rule" — plus "guidance on hookify rule syntax and patterns", listing multiple specific actions with only minor coverage gaps.

4 / 5

Completeness

The "when" is explicitly and thoroughly stated ("should be used when the user asks to... or needs guidance on..."), and the "what" is clearly recoverable from the embedded action verbs, though no standalone capability statement like "Creates hookify rules" is given.

4 / 5

Trigger Term Quality

It quotes natural phrases a user would actually say (create/write/configure/add a hookify rule) with good synonym coverage, but lacks file extensions and the terms are near-synonyms rather than diverse keywords, so it stops short of comprehensive.

4 / 5

Distinctiveness Conflict Risk

The term "hookify" is highly specific and all triggers are scoped to hookify rules, giving it a clear niche with minimal overlap risk against other skills.

5 / 5

Total

17

/

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.

Validation15 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

frontmatter_unknown_keys

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

Warning

Total

15

/

16

Passed

Repository
anthropics/claude-plugins-official
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.