CtrlK
BlogDocsLog inGet started
Tessl Logo

web3-testing

Test smart contracts comprehensively using Hardhat and Foundry with unit tests, integration tests, and mainnet forking. Use when testing Solidity contracts, setting up blockchain test suites, or validating DeFi protocols.

Install with Tessl CLI

npx tessl i github:wshobson/agents --skill web3-testing
What are skills?

Overall
score

86%

Does it follow best practices?

Evaluation94%

1.24x

Agent success when using this skill

Validation for skill structure

SKILL.md
Review
Evals

Evaluation results

100%

36%

Vesting Token Test Suite

Hardhat unit tests with fixtures

Criteria
Without context
With context

loadFixture import

0%

100%

time import

100%

100%

Fixture function pattern

0%

100%

loadFixture usage

0%

100%

ethers from hardhat

100%

100%

chai expect

100%

100%

changeTokenBalances matcher

0%

100%

revertedWith usage

100%

100%

Event emit with args

100%

100%

time.increase usage

100%

100%

Access control test

100%

100%

Edge case coverage

100%

100%

Without context: $0.4024 · 1m 40s · 10 turns · 59 in / 8,419 out tokens

With context: $0.5183 · 2m 12s · 15 turns · 62 in / 9,584 out tokens

100%

28%

DeFi Protocol Development Environment Setup

Hardhat project config and CI/CD

Criteria
Without context
With context

hardhat-toolbox plugin

100%

100%

hardhat-etherscan plugin

0%

100%

hardhat-gas-reporter plugin

100%

100%

solidity-coverage plugin

100%

100%

Solidity version 0.8.19

0%

100%

Optimizer enabled, runs 200

100%

100%

Gas reporter USD currency

100%

100%

Gas reporter API key env var

100%

100%

Etherscan API key env var

100%

100%

Mainnet fork block number

0%

100%

Mainnet RPC env var

100%

100%

CI/CD test steps

100%

100%

Codecov upload

100%

100%

Without context: $0.2966 · 58s · 14 turns · 15 in / 3,621 out tokens

With context: $0.4052 · 1m 8s · 22 turns · 67 in / 3,758 out tokens

83%

-9%

Staking Contract Security Test Suite (Foundry)

Foundry fuzz and cheatcode tests

Criteria
Without context
With context

forge-std Test import

100%

100%

Extends Test contract

100%

100%

setUp function

100%

100%

vm.prank usage

100%

100%

vm.warp or time advance

100%

100%

vm.assume in fuzz test

100%

100%

testFuzz function

100%

100%

assertEq assertions

100%

100%

vm.expectRevert usage

100%

100%

testFail function

0%

0%

Edge address cases

100%

0%

Named address variables

100%

80%

Without context: $0.8033 · 4m 25s · 12 turns · 11 in / 19,956 out tokens

With context: $0.9628 · 3m 44s · 28 turns · 268 in / 16,778 out tokens

Evaluated
Agent
Claude Code

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.