fix-nethtest
Skill by NethermindEth
Diagnoses and fixes failing Ethereum Foundation state and blockchain tests run with Nethermind.Test.Runner. It runs the test, reads the EVM trace, finds the root cause and proposes or applies a fix. It is aimed at developers working on the Nethermind client.
Install fix-nethtest
Built from the published package, never by AI.
git clone --depth 1 https://github.com/NethermindEth/nethermind /tmp/nethermind && mkdir -p ~/.claude/skills && cp -r /tmp/nethermind/.agents/skills/fix-nethtest ~/.claude/skills/fix-nethtestRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/NethermindEth/nethermind /tmp/nethermind && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/nethermind/.agents/skills/fix-nethtest ~/.gemini/antigravity-cli/skills/fix-nethtestAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The fix-nethtest skill helps debug Ethereum Foundation tests that fail when run with Nethermind.Test.Runner, also called nethtest. It accepts one or more test file paths as arguments. It detects whether each file is a state test or a blockchain test from its JSON structure, then builds and runs the test with the runner.
When a test fails, the skill reads the trace output and classifies the failure, for example BadInstruction, OutOfGas, or a state root mismatch. It then looks for the likely cause in the EVM, spec and test harness code. The skill applies a minimal fix, re-runs the test, and reports the root cause and result. It is written for developers working on the Nethermind codebase, and it asks for a regression test with each Nethermind bug fix.
Written from the project's SKILL.md and checked against it.
What it can do
- Run state and blockchain testsBuilds and runs a test file with Nethermind.Test.Runner, detecting the test type from the JSON.
- Analyze EVM tracesReads per-opcode trace lines and execution results to find where a test fails.
- Classify failuresMaps trace errors such as BadInstruction or OutOfGas to likely cause areas.
- Find root causesChecks opcode registration, fork spec flags and test harness header defaults in the source.
- Propose and apply fixesMakes a minimal change in the source, then re-runs the test to verify it.
- Add regression testsExtends an existing test file or creates a new one when a Nethermind bug is fixed.
What you need
- dotnet SDK, since the commands use dotnet build and dotnet run
- A Nethermind repository checkout with the src/Nethermind layout
- Ethereum Foundation test JSON files to run
Try asking
- Debug this failing state test: src/tests/Cancun/example.json
- Run this blockchain test and explain the BadInstruction error
- Find the root cause of the state root mismatch in this test file
Good to know
- Tests with all-zero expected hashes are placeholders, so the skill reports them instead of treating them as code bugs.
- File paths assume the Nethermind src/Nethermind layout and are relative to that folder.
- The skill edits source files, so changes should be reviewed before they are committed.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .agents/skills/fix-nethtest/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to fix-nethtest
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
fix-nethtest: common questions
What kind of tests does fix-nethtest run?
It runs Ethereum Foundation state tests and blockchain tests using Nethermind.Test.Runner against the Nethermind EVM. The test type is inferred from the JSON keys.
What happens when a test passes?
If the pass field is true, the skill reports success and stops. It only moves on to root cause analysis when a test fails.
Does the skill write regression tests?
Yes, when the root cause is a Nethermind bug. The source says AGENTS.md requires a regression test for every bug fix, and the skill extends an existing test file where possible.
How do I install fix-nethtest?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is fix-nethtest free?
The code is published under the GPL-3.0 licence. The service it connects to may have its own pricing.
Is fix-nethtest safe to use?
It scores 76 of 100. Grades: maintenance A, licence C, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to fix-nethtest?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
