CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

api-test-suite-builder

Use when the user asks to generate API tests, create integration test suites, test REST endpoints, or build contract tests.

55

Quality

69%

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 ./engineering/skills/api-test-suite-builder/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Content

61%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.

The body is a well-structured, highly actionable skill: executable detection commands, concrete coverage matrices, a sequenced generation process, and a real one-level-deep reference file. Its weaknesses are generic best-practice content Claude already knows and a generation workflow with no validation step confirming the emitted tests actually run.

Suggestions

Trim "Common Pitfalls" and "Best Practices" to only non-obvious items (rate-limit test ordering, token expiry vs. invalid, Content-Type rejection), removing generic testing guidance Claude already has.

Add a validation step to the generation workflow (e.g., "7. Run the generated suite and fix failures before finishing") to introduce a feedback loop for this batch operation.

Replace fragile detection commands (Django's grep -A 50 pipeline, the Express sed upcasing) with tested, robust alternatives, or note they are starting points requiring adjustment.

DimensionReasoningScore

Conciseness

The body is dense with executable commands and matrices with no concept-explanation padding, but roughly 30 lines of "Common Pitfalls" and "Best Practices" (e.g., "test what the API returns, not how it does it", "off-by-one errors are extremely common") restate generic testing knowledge Claude already has, and "Core Capabilities" duplicates the Overview. More than minor trimming is possible, so it sits at anchor 3 rather than 4.

3 / 5

Actionability

Copy-paste-ready route-detection commands for four frameworks, concrete test-case-to-expected-status matrices, a sequenced six-step generation procedure, and real example test files one level deep. Minor gaps keep it below anchor 5: some commands are fragile (the Django "grep urlpatterns -A 50" pipeline and the Express sed upcasing) and the matrices leave framework-dependent outcomes ambiguous ("400 or 422").

4 / 5

Workflow Clarity

"Generating Tests From Route Scan" gives a clear numbered sequence (scan routes, read handlers, generate files, name descriptively, use factories, assert shape) but includes no validation checkpoint — nothing verifies the generated tests compile, are discovered, or run. Because generating a full test suite is a batch operation, the rubric's cap limits workflow clarity to 3.

3 / 5

Progressive Disclosure

Sections are well-organized, the single bundle reference (references/example-test-files.md, which exists and is substantive) is clearly signaled and exactly one level deep ("→ See references/example-test-files.md for details"), and bulk example code is properly offloaded. The 55-line four-framework route-detection command catalog inlined in SKILL.md is a minor placement gap versus anchor 5's fully clean split.

4 / 5

Total

14

/

20

Passed

Description

61%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.

The description is a strong, explicit trigger clause with natural user phrasing and a clear niche, but it is entirely 'when' with no stated 'what' — the skill's concrete capabilities (scanning route definitions across frameworks, generating coverage matrices, producing Vitest/Pytest files) are absent. Adding a capability statement before the "Use when" clause would raise completeness and specificity substantially.

Suggestions

Lead with a capability statement in third person (e.g., "Scans API route definitions across Next.js, Express, FastAPI, and Django REST and generates test suites covering auth, validation, error codes, and rate limiting.") before the "Use when..." trigger clause.

Include what the skill outputs (ready-to-run Vitest+Supertest or Pytest+httpx files) so the 'what' is explicit rather than inferred from trigger verbs.

Add a few natural trigger synonyms such as "endpoint tests" or "test coverage" to broaden keyword coverage toward anchor 5.

DimensionReasoningScore

Specificity

Concrete action phrases like "generate API tests" and "build contract tests" are present, but they are four framings of a single capability, and the skill's actual behavior (route scanning across frameworks, test-suite generation, output tooling) is never stated. It exceeds anchor 2's minimal/generic actions but does not reach anchor 4's several distinct specific actions with only minor gaps.

3 / 5

Completeness

The 'when' is fully explicit ("Use when the user asks to generate API tests, create integration test suites, test REST endpoints, or build contract tests"), but only the 'when' is present — the 'what' is never stated as a capability, only implied through the trigger verbs. This is materially stronger than anchor 2's generic "Use when working with documents" but lacks anchor 4's explicit statement of both what and when.

3 / 5

Trigger Term Quality

"API tests", "integration test suites", "REST endpoints", and "contract tests" are phrases users would naturally say when needing this skill. It falls short of anchor 5 because common variations like "endpoint tests", "test coverage", or "smoke tests" are missing.

4 / 5

Distinctiveness Conflict Risk

API/integration/contract test generation is a well-defined niche with distinct triggers. Minor overlap risk remains with general unit-testing skills (via "integration test suites") and API-specification skills (via "contract tests"), keeping it below anchor 5's minimal-conflict clarity.

4 / 5

Total

14

/

20

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.

Validation — 16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository

alirezarezvani/claude-skills

Path

engineering/skills/api-test-suite-builder/SKILL.md

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.