Midnight Test Runner

Run and debug Midnight contract tests using Vitest simulators. Use this skill when testing contracts, debugging test failures, or writing new tests. Triggers on "run tests", "test contract", "debug test", "test fails", or "vitest".

9 stars 2 forksTesting & QA

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add UvRoxx/midnight-agent-skills --skill midnight-test-runner
Manual install
git clone --depth 1 https://github.com/UvRoxx/midnight-agent-skills.git /tmp/midnight-agent-skills
mkdir -p ~/.claude/skills
cp -r /tmp/midnight-agent-skills/skills/midnight-test-runner ~/.claude/skills/midnight-test-runner

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# Midnight Test Runner

Run, debug, and write tests for Midnight smart contracts using Vitest and contract simulators.

## When to Use

Use this skill when:
- Running contract test suites
- Debugging failing tests
- Writing new test cases
- Testing privacy features (selective disclosure)
- Validating ZK circuit behavior

## How It Works

1. Compiles Compact contract
2. Creates contract simulator from compiled artifacts
3. Runs Vitest test suite
4. Reports results with coverage

## Quick Start

```bash
# Navigate to contract directory
cd counter-contract

# Run all tests
npm run test

# Run with watch mode
npm run test:watch

# Run with coverage
npm run test -- --coverage
```

## Test Structure

### Directory Layout

```
counter-contract/
├── src/
│   ├── counter.compact          # Contract source
│   ├── witnesses.ts             # Private state types
│   ├── managed/                 # Compiled artifacts
│   └── test/
│       ├── counter.test.ts      # Test file
│       └── simulators/
│           └── simulator.ts     # Contract simulator
```

### Basic Test File
Read the full skill on GitHub

Details

Skill name
midnight-test-runner
Path
skills/midnight-test-runner/SKILL.md
License
MIT
Repo updated
29 March 2026

FAQ

What does the Midnight Test Runner skill do?

Run and debug Midnight contract tests using Vitest simulators. Use this skill when testing contracts, debugging test failures, or writing new tests. Triggers on "run tests", "test contract", "debug test", "test fails", or "vitest".

How do I install the Midnight Test Runner skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add UvRoxx/midnight-agent-skills --skill midnight-test-runner. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Midnight Test Runner popular?

It lives in UvRoxx/midnight-agent-skills, which has 9 GitHub stars and 2 forks.

Related skills

Midnight Compact Guide

9

UvRoxx/midnight-agent-skills

Comprehensive guide to writing Compact smart contracts for Midnight Network. Use this skill when writing, reviewing, debugging, or learning Compact code. Triggers on "write a contract", "Compact syntax", "Midnight smart contract", "ledger state", "circuit function", or "ZK proof".

Marketing, Sales & Business

Midnight Deploy

9

UvRoxx/midnight-agent-skills

Deploy and manage Midnight smart contracts to local or preview network. Use this skill when deploying contracts, starting local infrastructure, or connecting to testnet. Triggers on "deploy contract", "start local node", "setup standalone", "deploy to preview", or "midnight infrastructure".

DevOps & Cloud

Midnight Infra Setup

9

UvRoxx/midnight-agent-skills

Set up and run Midnight infrastructure locally using official dev tools. Use this skill when setting up local development environment, starting node/indexer/proof-server, troubleshooting infrastructure, or syncing components. Triggers on "setup infrastructure", "start local node", "run indexer", "proof server", "midnight-infra-dev-tools", or "local development".

DevOps & Cloud

Scylladb Benchmark

9

scylladb/agent-skills

Run a repeatable load test of a ScyllaDB Cloud cluster on AWS with cassandra-stress, from loader VMs in a peered VPC, and write a report with a fixed results table. The default fast path measures the maximum 50/50 read/write rate at p99 ≤ 10 ms on a pinned X Cloud cluster; a user profile tests the schema and queries of the user's application. Use this skill when a user asks to benchmark, load test, or stress test ScyllaDB Cloud, to measure p50, p90, and p99 latency at a target rate, to find the maximum throughput under a latency SLA, or to check if a cluster size is enough. It does not benchma

Testing & QA

Grilling

9

HelmholtzAI-Consultants-Munich/helmholtz-agent-skills

Stress-tests plans, decisions, and ideas through probing questions and co-creation. Use when the user asks to be grilled or wants to develop and challenge their thinking through an interview.

Testing & QA

Flaky Test Detector

4

sametcelikbicak/flaky-test-detector

Detect, analyze, and fix flaky tests across any test runner. Use when tests intermittently fail in CI, tests pass locally but fail on CI, tests fail non-deterministically, or need to stabilize a flaky test suite. Also for 'flaky test', 'flaky', 'intermittent failure', 'unstable test', 'test flakiness', 'test retry', 'CI flaky', 'non-deterministic test'.

Testing & QAIn 1 list

Browse the most popular Claude skills, all testing & qa skills, or write your own with the skills generator.