mock-eliminator

Replace mock data with production API integrations in a Next.js TypeScript trading terminal.

4|1|Updated Feb 12, 2026
One-click install
npx skills add https://github.com/0xjc65eth/CYPHER-V3 --skill mock-eliminator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mock-eliminator
Source: https://github.com/0xjc65eth/CYPHER-V3/tree/main/skills/mock-eliminator
Command: npx skills add https://github.com/0xjc65eth/CYPHER-V3 --skill mock-eliminator

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill eliminates pervasive mock data in the CYPHER V3 codebase and replaces it with deterministic, production-grade API integrations so the terminal surfaces real-time, auditable market, ordinals, runes, and BRC-20 data.

Core Features & Use Cases

  • Automated discovery: Grep-based scan patterns and heuristics to find mock flags, hardcoded arrays, random-based placeholders, and temporary comments across TypeScript and React files.
  • Integration mappings: Concrete substitution templates and examples for Hiro, UniSat, Ordiscan, CoinGecko, and OKX, with guidance on environment keys, rate limits, and pagination.
  • Operational hardening: Patterns for adding Redis caching, error handling, fallbacks, and CI verification including build and type checks to ensure production readiness.
  • Use Case: Convert mockOrdinalCollections, mockRunes, and fakePrices into async service calls that fetch live data, cache responses, and surface consistent UI values in a Next.js/TypeScript trading terminal.

Quick Start

Use the mock-eliminator to scan the repository for mock data and produce a prioritized migration plan with concrete code replacement snippets and verification steps.

Frequently Asked Questions about mock-eliminator

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

FAQPage Schema
How do I replace mock data with live production APIs in a Next.js TypeScript project?

To replace mock data with live production APIs in a Next.js TypeScript project, you can scan the codebase for mock flags and hardcoded arrays, then substitute them with async service calls fetching real-time data. This process includes mapping integrations for specific providers and adding Redis caching.

What is the best way to integrate Hiro and UniSat APIs for ordinals and runes data?

The best way to integrate Hiro and UniSat APIs for ordinals and runes data is to replace mock arrays with concrete substitution templates. These templates guide environment key configuration, handle rate limits and pagination, and fetch live market feeds to surface consistent UI values.

How do I find and remove hardcoded mock arrays and random placeholders in a crypto trading terminal codebase?

Finding and removing hardcoded mock arrays in a crypto trading terminal requires grep-based scan patterns and heuristics. This automated discovery targets TypeScript and React files to identify temporary comments, mock flags, and random-based placeholders for prioritized migration.

Can I use Redis caching and error handling when migrating BRC-20 and rare sats mock data to live feeds?

Yes, you can use Redis caching and error handling when migrating BRC-20 and rare sats mock data to live feeds. Operational hardening patterns include adding Redis caching, fallbacks, and CI verification to ensure production readiness and surface auditable market data.

How do I verify a successful mock data elimination and API integration migration in a Next.js build?

To verify successful mock data elimination and API integration in a Next.js build, you run CI verification steps including build and type checks. Passing these checks ensures the codebase maintains production readiness after replacing fake prices and mock collections with live data.