Csharp Testing
affaan-m/ECC
C and .NET testing patterns with xUnit, FluentAssertions, mocking, integration tests, and test organization best practices.
Help users run a local Ethereum dev chain, write integration tests, fork networks, debug transactions, or replace Hardhat/Anvil with Nethereum DevChain (.NET).
$ npx skills add Nethereum/Nethereum --skill devchain -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install Nethereum/Nethereum devchain --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/Nethereum/Nethereum.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/nethereum-skills/skills/devchain .claude/skills/devchain && rm -rf skills-srcUse ~/.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/
Install the "devchain" agent skill from https://github.com/Nethereum/Nethereum/tree/master/plugins/nethereum-skills/skills/devchain into .claude/skills/devchain/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "devchain", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/Nethereum/Nethereum/tree/master/plugins/nethereum-skills/skills/devchainType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add Nethereum/Nethereum --skill devchain -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install Nethereum/Nethereum devchain --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Nethereum/Nethereum.git skills-src && mkdir -p .agents/skills && cp -r skills-src/plugins/nethereum-skills/skills/devchain .agents/skills/devchain && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "devchain" agent skill from https://github.com/Nethereum/Nethereum/tree/master/plugins/nethereum-skills/skills/devchain into .agents/skills/devchain/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "devchain", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add Nethereum/Nethereum --skill devchain -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install Nethereum/Nethereum devchain --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Nethereum/Nethereum.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/plugins/nethereum-skills/skills/devchain .cursor/skills/devchain && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "devchain" agent skill from https://github.com/Nethereum/Nethereum/tree/master/plugins/nethereum-skills/skills/devchain into .cursor/skills/devchain/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "devchain", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/Nethereum/Nethereum.git --path plugins/nethereum-skills/skills/devchain--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add Nethereum/Nethereum --skill devchain -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install Nethereum/Nethereum devchain --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Nethereum/Nethereum.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/plugins/nethereum-skills/skills/devchain .gemini/skills/devchain && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "devchain" agent skill from https://github.com/Nethereum/Nethereum/tree/master/plugins/nethereum-skills/skills/devchain into .gemini/skills/devchain/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "devchain", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install Nethereum/Nethereum devchainInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add Nethereum/Nethereum --skill devchain -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/Nethereum/Nethereum.git skills-src && mkdir -p .github/skills && cp -r skills-src/plugins/nethereum-skills/skills/devchain .github/skills/devchain && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "devchain" agent skill from https://github.com/Nethereum/Nethereum/tree/master/plugins/nethereum-skills/skills/devchain into .github/skills/devchain/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "devchain", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add Nethereum/Nethereum --skill devchain -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install Nethereum/Nethereum devchain --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Nethereum/Nethereum.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/plugins/nethereum-skills/skills/devchain .opencode/skills/devchain && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "devchain" agent skill from https://github.com/Nethereum/Nethereum/tree/master/plugins/nethereum-skills/skills/devchain into .opencode/skills/devchain/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "devchain", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
devchainHelp users run a local Ethereum dev chain, write integration tests, fork networks, debug transactions, or replace Hardhat/Anvil with Nethereum DevChain (.NET).
Devchain is an agent skill from Nethereum/Nethereum. Help users run a local Ethereum dev chain, write integration tests, fork networks, debug transactions, or replace Hardhat/Anvil with Nethereum DevChain (.NET). Use this skill when the user mentions local Ethereum node, dev chain, test chain, Hardhat replacement, Anvil replacement, in-process blockchain, snapshot/revert, debugtraceTransaction, account impersonation, or anything involving a local EVM for development and testing with C or .NET.
Its SKILL.md is about 1.7k 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 Testing & QA, covering Integration testing and Smart contracts. It works with Ethereum, .NET and C#. The repository describes itself as: Ethereum .Net cross platform integration library. The licence is MIT.
Read from SKILL.md and the folder at commit 229f278. It shows what the files ask for, not the result of running them.
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.
Shell commands in SKILL.md call:
dotnetFrom the folder's file list and the shell code blocks in SKILL.md.
Hosts in commands or code, which the agent is likely to contact:
eth.llamarpc.comAlso links to:
docs.nethereum.comFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Devchain loads about 1.7k tokens when it runs. Until then it costs about 114 tokens; SKILL.md has 245 words of instructions outside code blocks.
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.
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.
The full file from Nethereum/Nethereum at commit 229f278, republished under its MIT licence (© Nethereum). 245 words, ~1,706 tokens.
.claude/skills/devchain/SKILL.md (or your agent's skills folder).DevChain is a complete in-process Ethereum node for .NET. It runs the full EVM (up to Prague), mines blocks instantly, and needs no external dependencies — no Docker, no Geth, no Hardhat, no Anvil.
dotnet add package Nethereum.DevChain # Core in-process node
dotnet add package Nethereum.DevChain.Server # HTTP JSON-RPC serverusing Nethereum.DevChain;
using Nethereum.Web3;
using Nethereum.Web3.Accounts;
var account = new Account("0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80");
var devChain = new DevChainNode();
await devChain.StartAsync(account); // Pre-funds with 10,000 ETH
var web3 = devChain.CreateWeb3(account); // In-process, no HTTP
// Standard Nethereum APIs work as-is
var receipt = await web3.Eth.GetEtherTransferService()
.TransferEtherAndWaitForReceiptAsync("0x70997970C51812dc3A010C7d01b50e0d17dc79C8", 1.0m);
devChain.Dispose();| Class | Package | Purpose |
|---|---|---|
DevChainNode | Nethereum.DevChain | Main in-process node |
DevChainConfig | Nethereum.DevChain | Chain configuration (ChainId, AutoMine, BlockGasLimit, etc.) |
DevChainServerConfig | Nethereum.DevChain.Server | HTTP server configuration |
DevAccountManager | Nethereum.DevChain.Server | HD wallet account management |
DevChainHostedService | Nethereum.DevChain.Server | ASP.NET Core hosted service |
var config = new DevChainConfig
{
ChainId = 1337, // Default: 1337 (Hardhat preset: 31337)
BlockGasLimit = 30_000_000,
AutoMine = true, // Mine instantly on each tx
InitialBalance = BigInteger.Parse("10000000000000000000000") // 10,000 ETH
};
var devChain = new DevChainNode(config);Presets: DevChainConfig.Default (1337), DevChainConfig.Hardhat (31337), DevChainConfig.Anvil (31337).
// One-liner
var devChain = await DevChainNode.CreateAndStartAsync(account);
// In-memory (no SQLite)
var devChain = DevChainNode.CreateInMemory();
// Multiple accounts
var devChain = new DevChainNode();
await devChain.StartAsync(alice, bob);
var accounts = await devChain.GenerateAndFundAccountsAsync(10);var snapshot = await devChain.TakeSnapshotAsync();
// ... transactions ...
await devChain.RevertToSnapshotAsync(snapshot); // Undo all changesawait devChain.SetBalanceAsync(address, Web3.Convert.ToWei(1_000_000));
await devChain.SetNonceAsync(address, 100);
await devChain.SetCodeAsync(address, bytecode);
await devChain.SetStorageAtAsync(address, slot, value);Via RPC: hardhat_setBalance, hardhat_setCode, hardhat_setNonce, hardhat_setStorageAt (also anvil_* aliases).
var config = new DevChainConfig
{
ForkUrl = "https://eth.llamarpc.com",
ForkBlockNumber = 19000000
};
var devChain = new DevChainNode(config);
await devChain.StartAsync(account);CLI: nethereum-devchain -f https://eth.llamarpc.com --fork-block 19000000
devChain.DevConfig.AddTimeOffset(3600); // Advance 1 hour
devChain.DevConfig.SetNextBlockTimestamp(1700000000); // Exact timestamp
await devChain.MineBlockAsync();using Nethereum.CoreChain.Tracing;
var traceConfig = new OpcodeTraceConfig
{
DisableMemory = true,
DisableStack = false,
DisableStorage = false
};
var trace = await devChain.TraceTransactionAsync(txHash, traceConfig);nethereum-devchain # Defaults: port 8545, 10 accounts, auto-mine
nethereum-devchain -p 8546 -a 20 # Custom port and accounts
nethereum-devchain -f <url> # Fork mode
nethereum-devchain --persist ./data # Persistent storageusing Nethereum.DevChain.Server.Configuration;
using Nethereum.DevChain.Server.Hosting;
using Nethereum.DevChain.Server.Server;
var config = new DevChainServerConfig { ChainId = 31337, Storage = "memory" };
builder.Services.AddDevChainServer(config);
builder.Services.AddHostedService<DevChainHostedService>();public class DevChainFixture : IAsyncLifetime
{
public DevChainNode Node { get; private set; }
public Account Alice { get; private set; }
public async Task InitializeAsync()
{
Alice = new Account("0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80");
Node = new DevChainNode(new DevChainConfig { ChainId = 31337 });
await Node.StartAsync(Alice);
}
public Task DisposeAsync() { Node?.Dispose(); return Task.CompletedTask; }
}
// In test class: snapshot before each test, revert after
public async Task InitializeAsync() => _snapshot = await _fixture.Node.TakeSnapshotAsync();
public async Task DisposeAsync() => await _fixture.Node.RevertToSnapshotAsync(_snapshot);Standard Ethereum (eth_*, net_*, web3_*), plus:
evm_mine, evm_snapshot, evm_revert, evm_increaseTime, evm_setNextBlockTimestamphardhat_setBalance, hardhat_setCode, hardhat_setNonce, hardhat_setStorageAt, hardhat_impersonateAccount, hardhat_stopImpersonatingAccountanvil_setBalance, anvil_setCode, anvil_setNonce, anvil_setStorageAt, anvil_mine, anvil_snapshot, anvil_revertdebug_traceTransaction, debug_traceCallSame default mnemonic (test test test test test test test test test test test junk), same derivation path (m/44'/60'/0'/0/{index}), same RPC methods, same chain ID (31337 with Hardhat/Anvil presets). Existing test scripts work without changes.
For full documentation, see: https://docs.nethereum.com/docs/devchain/overview
© Nethereum, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in plugins/nethereum-skills/skills/devchain of Nethereum/Nethereum.
Open the folder on GitHubat commit 229f278
Devchain 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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Devchain this skillNethereum/Nethereum | 2.3k | — | ~1.7k | Automated safety check: Pass | MIT | |
| Csharp Testingaffaan-m/ECC | 274k | 1 repos | ~2.2k | Automated safety check: Pass | MIT | |
| Git HooksProrise-cool/Claude-Code-Multi-Agent | 305 | — | ~3.6k | Automated safety check: Notes | None | |
| Find Untested Sourcesdotnet/skills | 5.6k | 1 repos | ~3.3k | Automated safety check: Pass | MIT | |
| Macios CI Failure Inspectordotnet/macios | 2.9k | — | ~2.3k | Automated safety check: Pass | Custom licence | |
| New Event Sourceaws/aws-lambda-dotnet | 1.7k | — | ~3k | Automated safety check: Pass | Apache-2.0 |
affaan-m/ECC
C and .NET testing patterns with xUnit, FluentAssertions, mocking, integration tests, and test organization best practices.
Prorise-cool/Claude-Code-Multi-Agent
Central authority on git hook implementations, modern best practices, and tooling for .NET/C, JavaScript/TypeScript, Python, and polyglot repositories.
dotnet/skills
Statically pairs source files with test files to list code that no test references, using Roslyn for C# or tree-sitter for many languages, with no build.
dotnet/macios
Investigate and triage CI failures for dotnet/macios from Azure DevOps build URLs.
aws/aws-lambda-dotnet
Add a new AWS event source attribute (e.g., Kinesis, Kafka, MQ) to the Lambda .NET Annotations framework, including the attribute class, source generator integration, CloudFormation writer, unit…
ScottPlot/ScottPlot
Run or add ScottPlot 5 tests. Use for unit-test and cookbook-test work; unless explicitly asked otherwise, restrict manual test execution to the Unit Tests…
Nethereum/Nethereum
Help users batch multiple calls into a single UserOperation and sponsor gas with paymasters using Nethereum Account Abstraction.
Nethereum/Nethereum
Help users run an ERC-4337 bundler using Nethereum — set up in-process or standalone bundlers with mempool, validation, reputation, and JSON-RPC server.
Nethereum/Nethereum
Encode and decode Ethereum ABI data with Nethereum. An agent skill from Nethereum/Nethereum.
Nethereum/Nethereum
Fetch contract ABIs from Sourcify, Etherscan, and 4Byte Directory using the composite ABIInfoStorage pattern (.NET/C).
Nethereum/Nethereum
Help users implement ERC-4337 Account Abstraction with Nethereum — send UserOperations, use smart accounts, route contract calls through a bundler, enable gasless transactions, or work with AA in…
Nethereum/Nethereum
Validate and format Ethereum addresses with Nethereum. An agent skill from Nethereum/Nethereum.
Categories
Help users run a local Ethereum dev chain, write integration tests, fork networks, debug transactions, or replace Hardhat/Anvil with Nethereum DevChain (.NET). Devchain is an agent skill from Nethereum/Nethereum.NET).
Devchain fits situations like: the user mentions local Ethereum node; hardhat replacement; anvil replacement; in-process blockchain.
Run `npx skills add Nethereum/Nethereum --skill devchain -a claude-code`. Or copy the skill folder (plugins/nethereum-skills/skills/devchain in Nethereum/Nethereum) into .claude/skills/devchain in your project. Claude Code loads it when a task matches its description.
Run `npx skills add Nethereum/Nethereum --skill devchain -a codex`. Or copy the skill folder (plugins/nethereum-skills/skills/devchain in Nethereum/Nethereum) into .agents/skills/devchain in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Nethereum/Nethereum --skill devchain -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/devchain, .gemini/skills/devchain, .github/skills/devchain and .opencode/skills/devchain in your project.
Going by SKILL.md and its folder, Devchain needs the command-line tools its instructions call (dotnet). Our summary lists: Docker.
SKILL.md names 2 domains. In commands or code: eth.llamarpc.com; the agent is likely to contact it when it follows the instructions. As links in the text: docs.nethereum.com. This is read from the text; nothing was executed.
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.
Devchain is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.7k tokens (SKILL.md is roughly 6.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Devchain: Csharp Testing (affaan-m/ECC, 274k stars), Git Hooks (Prorise-cool/Claude-Code-Multi-Agent, 305 stars), Find Untested Sources (dotnet/skills, 5.6k stars) and Macios CI Failure Inspector (dotnet/macios, 2.9k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
Nethereum (a GitHub organization) maintains it in Nethereum/Nethereum, which has 2,260 GitHub stars. The repository holds 71 skills in this directory. The repository was last updated on October 5, 2026.
Source: Nethereum/Nethereum on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.