Smart contract testing with Foundry — unit tests, fuzz testing, fork testing, invariant testing.

No licenceAuto-check passedBackend & APIs

Install Testing

skills CLI
$ npx skills add austintgriffith/ethskills --skill testing -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install austintgriffith/ethskills testing --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/austintgriffith/ethskills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/testing .claude/skills/testing && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
testing
GitHub stars
294
Token cost
~3.1k tokens
SKILL.md length
569 words
Files
1
Skills in repo
22
Repo updated
First seen
Licence
None found

At a glance

Smart contract testing with Foundry — unit tests, fuzz testing, fork testing, invariant testing.

  • Writing tests for a smart contract
  • SKILL.md covers What You Probably Got Wrong, Unit Testing with Foundry, Fuzz Testing and Fork Testing, plus 3 more sections
  • Reaches eth-mainnet.g.alchemy.com
  • Tasks that involve Smart contracts

What it does

Testing is an agent skill from austintgriffith/ethskills. Smart contract testing with Foundry — unit tests, fuzz testing, fork testing, invariant testing. Use when writing tests for a smart contract.

Its SKILL.md is about 3.1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Backend & APIs, covering Smart contracts, Unit testing and Fuzzing. The repository describes itself as: The missing knowledge between AI agents and production Ethereum.

When your agent uses it

  • Writing tests for a smart contract
  • Tasks that involve Smart contracts
  • Tasks that involve Unit testing

Example prompts

  • “/testing”

Requirements

  • A credential in YOUR_KEY

What it can do on your machine

Read from SKILL.md and the folder at commit 06ea4ef. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are solidity and bash).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • eth-mainnet.g.alchemy.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Testing loads about 3.1k tokens when it runs. Until then it costs about 37 tokens; SKILL.md has 569 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~37
When it runs · the whole SKILL.md, loaded when a task matches
~3.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 569 words (~3,081 tokens).

“You test getters and trivial functions. Testing that name() returns the name is worthless. Test edge cases, failure modes, and economic invariants — the things that lose money when they break.”

— opening of SKILL.md by austintgriffith
name
testing

Read the full SKILL.md on GitHub

Files

Just SKILL.md in testing of austintgriffith/ethskills.

Open the folder on GitHubat commit 06ea4ef

Compare with similar skills

Testing next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Testing compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Testing this skillaustintgriffith/ethskills294—~3.1kAutomated safety check: PassNone
Smart Contract Reportaviggiano/security144—~2.4kAutomated safety check: PassMIT
Fizz Convertpashov/skills1.2k2 repos~3.7kAutomated safety check: PassMIT
Web3 Testingwshobson/agents40k12 repos~2kAutomated safety check: PassMIT
Fuzz Generatoralt-research2/SolidityGuard104—~763Automated safety check: NotesCustom licence
Property Based Testingtrailofbits/skills7.4k—~1.1kAutomated safety check: PassCC-BY-SA-4.0

Similar skills

  • Smart Contract Report

    aviggiano/security

    Turn smart-contract audit findings and source evidence into a submission-ready Markdown report with an issue index, ordered finding IDs, actor-based scenarios, self-contained unit-test proofs of…

    144 GitHub stars~2.4k tokensUpdated 22 days ago
    Backend & APIsAuto-check passed
  • Fizz Convert

    pashov/skills

    Convert English-language properties in PROPERTIES.md (produced by the Fizz skill) into Solidity assertions inside the existing fuzz harness, then flip their checkboxes.

    1.2k GitHub starsUsed in 2 repos~3.7k tokens
    Backend & APIsAuto-check passed
  • Web3 Testing

    wshobson/agents

    Test smart contracts comprehensively using Hardhat and Foundry with unit tests, integration tests, and mainnet forking.

    40k GitHub starsUsed in 12 repos~2k tokens
    Testing & QAAuto-check passed
  • Fuzz Generator

    alt-research2/SolidityGuard

    Generates Foundry invariant tests and Echidna property-based fuzz tests for Solidity contracts.

    104 GitHub stars~763 tokensUpdated 3 mo ago
    Backend & APIsAuto-check: notes
  • Property Based Testing

    trailofbits/skills

    Official

    Writes, reviews, and debugs property-based tests — Hypothesis, fast-check, proptest, jqwik, rapid, and Echidna or Medusa for Solidity invariants.

    7.4k GitHub stars~1.1k tokensUpdated today
    SecurityAuto-check passed
  • Foundry Fuzz Mirrors

    aviggiano/security

    Create Foundry fuzz tests from deterministic unit tests. An agent skill from aviggiano/security.

    144 GitHub stars~584 tokensUpdated 22 days ago
    Testing & QAAuto-check passed

More from austintgriffith/ethskills

All 22 skills in this repo
  • Audit

    austintgriffith/ethskills

    Deep EVM smart contract security audit system. An agent skill from austintgriffith/ethskills.

    294 GitHub stars~829 tokensUpdated 1 mo ago
    Auto-check passed
  • Building Blocks

    austintgriffith/ethskills

    DeFi legos and protocol composability on Ethereum and L2s. An agent skill from austintgriffith/ethskills.

    294 GitHub stars~2.9k tokensUpdated 1 mo ago
    Auto-check passed
  • Concepts

    austintgriffith/ethskills

    The essential mental models for building onchain — focused on what LLMs get wrong and what humans need explained.

    294 GitHub stars~3.1k tokensUpdated 1 mo ago
    Auto-check passed
  • Ethskills

    austintgriffith/ethskills

    Ethereum development knowledge for AI agents — from idea to deployed dApp.

    294 GitHub stars~1.4k tokensUpdated 1 mo ago
    Auto-check passed
  • Frontend Playbook

    austintgriffith/ethskills

    The complete build-to-production pipeline for Ethereum dApps.

    294 GitHub stars~3.4k tokensUpdated 1 mo ago
    Auto-check: notes
  • Frontend UX

    austintgriffith/ethskills

    Frontend UX rules for Ethereum dApps that prevent the most common AI agent UI bugs.

    294 GitHub stars~1.5k tokensUpdated 1 mo ago
    Auto-check passed

Questions about Testing

What does Testing do?

Smart contract testing with Foundry — unit tests, fuzz testing, fork testing, invariant testing. Testing is an agent skill from austintgriffith/ethskills. Smart contract testing with Foundry — unit tests, fuzz testing, fork testing, invariant testing.

When should I use Testing?

Testing fits situations like: writing tests for a smart contract; tasks that involve Smart contracts; tasks that involve Unit testing.

How do I install Testing in Claude Code?

Run `npx skills add austintgriffith/ethskills --skill testing -a claude-code`. Or copy the skill folder (testing in austintgriffith/ethskills) into .claude/skills/testing in your project. Claude Code loads it when a task matches its description.

How do I install Testing in Codex?

Run `npx skills add austintgriffith/ethskills --skill testing -a codex`. Or copy the skill folder (testing in austintgriffith/ethskills) into .agents/skills/testing in your project. Codex loads it when a task matches its description.

Can I use Testing in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add austintgriffith/ethskills --skill testing -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/testing, .gemini/skills/testing, .github/skills/testing and .opencode/skills/testing in your project.

What does Testing need to run?

SKILL.md names no scripts, command-line tools or credentials: Testing is instructions for the agent only. Our summary lists: A credential in YOUR_KEY.

Does Testing access the network?

SKILL.md names 1 domain. In commands or code: eth-mainnet.g.alchemy.com; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is Testing safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Testing use?

No licence was found for Testing or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Testing use?

About 3.1k tokens (SKILL.md is roughly 12k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Testing?

Skills that share tags, products or a category with Testing: Smart Contract Report (aviggiano/security, 144 stars), Fizz Convert (pashov/skills, 1.2k stars), Web3 Testing (wshobson/agents, 40k stars) and Fuzz Generator (alt-research2/SolidityGuard, 104 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Testing?

austintgriffith (a GitHub user) maintains it in austintgriffith/ethskills, which has 294 GitHub stars. The repository holds 22 skills in this directory. The repository was last updated on August 20, 2026.

Source: austintgriffith/ethskills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.