test-consistency

Validate Moon outputs against Redis across data types and configurations.

2|Updated Mar 26, 2026
One-click install
npx skills add https://github.com/pilotspace/moon --skill test-consistency-pilotspace
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test-consistency
Source: https://github.com/pilotspace/moon/tree/main/.claude/skills/test-consistency
Command: npx skills add https://github.com/pilotspace/moon --skill test-consistency-pilotspace

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Moon consistency tests validate Moon's outputs against Redis as ground truth, reducing drift and ensuring parity across data types.

Core Features & Use Cases

  • Validate Moon outputs across strings, hashes, lists, sets, zsets, graphs, and MVCC features against Redis.
  • Integrate these tests into CI to catch regressions before release.
  • Use with multiple shards and custom ports to mirror production configurations.

Quick Start

Run the consistency tests using the provided script and optional flags.

Frequently Asked Questions about test-consistency

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I validate Moon database output against Redis for consistency?

To validate Moon output against Redis for consistency, you can run automated tests using a provided shell script that checks data parity across strings, hashes, lists, sets, zsets, graphs, and MVCC features.

Do I need redis-server installed to run Moon consistency tests?

Yes, you need redis-server available on your system PATH to run Moon consistency tests, as Redis serves as the ground truth database for validating all data types and configurations.

Can I test Moon consistency with multiple shards and custom ports?

Yes, Moon consistency tests support multiple shards and custom port mappings, allowing you to mirror production configurations using command line options like --shards and --port-rust.

What is the best way to automate Moon and Redis consistency checks in CI?

The best way to automate Moon and Redis consistency checks in CI is by executing the test script with the --skip-build flag, catching data drift and regressions before release across all supported data types.

Why does Moon consistency testing compare outputs against Redis?

Moon consistency testing compares outputs against Redis to reduce data drift and ensure behavioral parity, using Redis as a reliable ground truth across complex data structures like graphs and MVCC features.

Are there limitations when testing Moon consistency with Redis?

Testing Moon consistency is limited to the data types and configurations supported by both systems, requiring redis-server on PATH and relying on specific script flags to manage sharding and build steps.