CtrlK
BlogDocsLog inGet started
Tessl Logo

phpunit-test-naming

Enforces grammatically correct, intention-revealing PHPUnit test method names

64

Quality

77%

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

Fix and improve this skill with Tessl

tessl review fix ./.claude/skills/phpunit-test-naming/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Content

87%

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

The content is concise, concrete, and well-organized with executable examples and an audit command, scoring high on conciseness, actionability, and progressive disclosure. The main gap is workflow clarity: the audit command lacks an explicit verify-and-fix loop to confirm the naming audit passes after renames.

Suggestions

Add an explicit verification step after the audit command, e.g. "Run the grep, fix each non-conforming name, then re-run until the command returns no output."

Clarify that the audit command returning empty output is the success signal for a complete rename pass.

Optionally note that `it_authorized_user_can_delete_task` is acceptable because it reads as a sentence, to avoid confusion with the discouraged it_user_* pattern.

DimensionReasoningScore

Conciseness

The body is lean: rule, correct/wrong tables, the it_user_* smell, attribute guidance, return type, a checklist, and an audit command — every section earns its place and assumes Claude already knows PHPUnit and PHP syntax.

3 / 3

Actionability

It provides copy-paste-ready correct/wrong examples with concrete fixes, a `#[Test]` attribute pattern, and an executable grep audit command, so the guidance is fully actionable.

3 / 3

Workflow Clarity

The checklist sequences the writing process (start with it_, read aloud, meaningful verb, scenario, void return), but there is no validation/verification checkpoint to confirm an audit pass or that a rename is complete after running the audit command.

2 / 3

Progressive Disclosure

For a short single-purpose skill with no external bundle files, the well-organized sections (Rule, Correct, Wrong, Smell, Attribute, Checklist, Audit) are appropriately self-contained; no nested references are needed.

3 / 3

Total

11

/

12

Passed

Description

67%

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 specific and occupies a clearly distinctive niche, but it states the "what" without an explicit "Use when..." clause and keeps most natural trigger terms in the triggers list rather than the description. Folding a short "Use when..." phrase into the description would lift completeness and trigger coverage.

Suggestions

Add an explicit "Use when..." clause to the description (e.g., "Use when writing, reviewing, or renaming PHPUnit test methods, or when names contain test_, it_user_, or a_user_.").

Pull the most common trigger phrasings into the description body so users who search by natural terms match the description directly.

Keep the third-person voice as-is; it is already correct.

DimensionReasoningScore

Specificity

"Enforces grammatically correct, intention-revealing PHPUnit test method names" states concrete actions (enforces naming, intention-revealing) on a specific concrete artifact (PHPUnit test method names).

3 / 3

Completeness

It clearly answers "what" (enforces a naming convention) but the "when" trigger guidance is in the triggers field rather than an explicit "Use when..." clause in the description, so it is only implied within the description itself.

2 / 3

Trigger Term Quality

The frontmatter description itself only mentions "PHPUnit test method names"; the natural trigger terms (test_, it_user_, a_user_) live in the separate triggers list, so the description lacks the breadth of common phrasings a user would say.

2 / 3

Distinctiveness Conflict Risk

The niche is narrow and specific (PHPUnit test method naming) with distinct triggers like test_, it_user_, and a_user_, making it unlikely to fire for unrelated skills.

3 / 3

Total

10

/

12

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
Bottelet/DaybydayCRM
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.