CtrlK
BlogDocsLog inGet started
Tessl Logo

testing-best-practices

Laravel test design and review. Use when selecting coverage, naming or structuring tests, choosing assertions or test data, isolating dependencies, testing HTTP or security boundaries, improving suite performance, or reviewing test value. Use framework guidance or search-docs for Pest and PHPUnit syntax.

67

Quality

84%

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

The canonical home for this skill is testing-best-practices in yaojingang/GEOFlow

SKILL.md
Quality
Evals
Security

Quality

Content

71%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-organized, lean instruction body with a clear workflow and concrete guidance, undermined by a missing rules/ bundle: all nine referenced rule files do not exist, breaking the progressive-disclosure structure it depends on.

Suggestions

Ship the referenced rules/ bundle (finding-features.md, naming.md, assertions.md, endpoint-tests.md, test-data.md, isolation.md, security.md, performance.md, review.md) so the Rule Index links resolve.

Add a brief fix-and-retry loop to 'How to Apply' (e.g., if tests fail, fix the code or test and re-run the minimal set until green) to strengthen the validation checkpoint.

Tighten the Consistency First section, which restates the convention-precedence rule three times, to recover a few tokens.

DimensionReasoningScore

Conciseness

Mostly efficient and free of basic-concept padding, but the Consistency First section restates the convention-precedence idea three ways and a few sentences could be tightened.

4 / 5

Actionability

Concrete, specific guidance ('Write a feature test first. Write a unit test only for logic that does not use the framework.'; 'Run the smallest set of tests that covers the change.') with only minor gaps — e.g., no example test command or assertion snippet inline.

4 / 5

Workflow Clarity

The 5-step 'How to Apply' sequence has explicit checkpoints (tests must pass; resolve every mismatch before completion) and a final checklist, but lacks a structured fix-and-retry loop when tests fail.

4 / 5

Progressive Disclosure

The SKILL.md is a lean overview with a well-signaled one-level-deep Rule Index table — good structure — but every referenced rules/*.md file is absent from the bundle, so navigation leads nowhere.

3 / 5

Total

15

/

20

Passed

Description

92%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 strong, specific description that clearly answers both what the skill does and when to invoke it, with concrete Laravel-test trigger phrases. The only minor gap is a few natural synonyms (mocking, factories, fixtures) that could broaden trigger matching.

DimensionReasoningScore

Specificity

Lists multiple concrete actions — 'selecting coverage, naming or structuring tests, choosing assertions or test data, isolating dependencies, testing HTTP or security boundaries, improving suite performance, or reviewing test value' — giving comprehensive coverage of the testing-design domain.

5 / 5

Completeness

Explicitly states what ('Laravel test design and review') and when ('Use when selecting coverage, naming or structuring tests...') with concrete trigger phrases, satisfying both halves.

5 / 5

Trigger Term Quality

Strong natural terms a developer would say (coverage, test naming, assertions, isolating dependencies, suite performance) plus framework names (Pest, PHPUnit), but a few common synonyms like 'mocking/stubbing', 'factories', or 'fixtures' are absent.

4 / 5

Distinctiveness Conflict Risk

The Laravel + Pest/PHPUnit framing carves a clear niche with distinct triggers, minimizing overlap with generic testing or other-framework skills.

5 / 5

Total

19

/

20

Passed

Validation

87%

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

Validation — 14 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

metadata_version

'metadata.version' is missing

Warning

relative_links

Relative link issues: 9 missing

Warning

Total

14

/

16

Passed

Repository
yaojingang/GEOFlow
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.