CtrlK
BlogDocsLog inGet started
Tessl Logo

web3-testing

Master comprehensive testing strategies for smart contracts using Hardhat, Foundry, and advanced testing patterns.

39

Quality

38%

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 ./plugins/AI-Agents-Safe-Coding-Skills/skills/web3-testing/SKILL.md

The canonical home for this skill is web3-testing in administrakt0r/AI-Agents-Safe-Coding-Skills

SKILL.md
Quality
Evals
Security

Quality

Content

39%Scale 1-5

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

This skill is a large dump of code examples covering Hardhat and Foundry testing patterns, but lacks a coherent workflow, validation steps, and efficient organization. The content is mostly actionable with real code, but it's far too verbose for a SKILL.md—most code blocks should live in the referenced resource files. The Instructions section is generic and unhelpful, providing no smart-contract-testing-specific guidance.

Suggestions

Move the large code blocks (full config, test suites, CI YAML) into the referenced resource files and keep only minimal illustrative snippets in SKILL.md, reducing it to an overview with clear pointers.

Add a clear sequential workflow: 1) Set up project → 2) Write tests → 3) Run tests → 4) Check coverage (validate ≥90%) → 5) Fix gaps → 6) Re-run → 7) Deploy/verify, with explicit validation checkpoints.

Replace the generic Instructions section ('Apply relevant best practices') with specific, actionable guidance unique to smart contract testing, such as 'Always test reentrancy by calling back into the contract from a malicious receiver' or 'Run fuzzing with at least 1000 iterations'.

Remove the 'Do not use this skill when' section and trim explanatory text that Claude already knows (e.g., what coverage reports look like, what CI/CD is).

DimensionReasoningScore

Conciseness

The skill is significantly verbose, inlining ~300+ lines of code examples that largely demonstrate patterns Claude already knows (basic Hardhat/Foundry test structure, CI/CD YAML, etherscan verification). The config file, full test suites, and CI workflow could be in referenced files. The 'Do not use this skill when' section adds no value.

2 / 5

Actionability

The code examples are mostly executable and copy-paste ready (Hardhat config, unit tests, Foundry tests, coverage commands, verification). Minor gaps exist—some tests reference undefined variables (addr1 in gas optimization test without destructuring), and the Foundry fork test uses a placeholder URL—but overall the guidance is concrete and specific.

4 / 5

Workflow Clarity

There is no clear sequenced workflow tying the pieces together. The skill presents isolated code blocks for different testing concerns but never defines a step-by-step process (e.g., setup → write tests → run → validate coverage → fix → verify). The Instructions section is extremely vague ('Apply relevant best practices and validate outcomes'). No validation checkpoints or feedback loops are present for what could be destructive deployment/verification operations.

2 / 5

Progressive Disclosure

The skill references a 'resources/implementation-playbook.md' and lists 9 resource files in the Resources section, but no bundle files are provided, making these references unverifiable dead links. Meanwhile, massive amounts of code that should be in those referenced files are inlined, defeating the purpose of progressive disclosure. The structure is flat with no clear hierarchy.

2 / 5

Total

10

/

20

Passed

Description

36%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 relies heavily on vague buzzwords ('comprehensive', 'advanced', 'master') without specifying concrete actions or providing trigger guidance. While it names specific tools (Hardhat, Foundry) which helps with distinctiveness, it fails to articulate what specific testing capabilities it covers and when Claude should select it. The imperative 'Master' voice is also unusual for a skill description.

Suggestions

Replace vague phrases like 'comprehensive testing strategies' and 'advanced testing patterns' with concrete actions such as 'write unit tests, fuzz tests, integration tests, mock contracts, measure code coverage'.

Add an explicit 'Use when...' clause with trigger terms like 'Use when writing or debugging Solidity tests, running forge test or hardhat test, or when the user asks about smart contract testing, fuzzing, or test coverage'.

Include additional natural keywords and synonyms users would mention: 'Solidity', 'EVM', 'unit tests', 'fuzz testing', 'forge', '.sol files', 'test coverage'.

DimensionReasoningScore

Specificity

Names the domain (smart contract testing) and mentions tools (Hardhat, Foundry), but 'comprehensive testing strategies' and 'advanced testing patterns' are vague buzzwords without concrete actions like 'write unit tests', 'fuzz test', 'mock contracts', or 'measure coverage'.

2 / 5

Completeness

Provides a vague 'what' (testing strategies for smart contracts) but has no 'when' clause at all. The lack of any explicit trigger guidance ('Use when...') caps this dimension. The 'what' itself is also not clearly articulated beyond buzzwords.

2 / 5

Trigger Term Quality

Includes relevant keywords like 'smart contracts', 'Hardhat', 'Foundry', and 'testing', which users might naturally mention. However, it misses common synonyms and related terms like 'Solidity', 'unit tests', 'fuzz testing', 'test coverage', 'forge test', 'npx hardhat test', or 'EVM'.

3 / 5

Distinctiveness Conflict Risk

The mention of Hardhat and Foundry narrows the scope to smart contract testing specifically, which provides some distinctiveness. However, it could overlap with general smart contract development skills or general testing skills due to the vague framing.

3 / 5

Total

10

/

20

Passed

Validation

90%

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

Validation10 / 11 Passed

Validation for skill structure

CriteriaDescriptionResult

frontmatter_unknown_keys

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

Warning

Total

10

/

11

Passed

Repository
administrakt0r/AI-Agents-Safe-Coding-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.