cadt-testing — chia-blockchain cadt-testing, community, chia-blockchain, ide skills

v1.0.0

About this Skill

Ideal for Blockchain Agents working with Chia blockchain and cadt-testing protocols, needing advanced integration testing capabilities. Run CADT integration tests, live API tests, and test data cleanup. Use when the user asks to run integration tests, run v1 or v2 tests, run live API tests, or delete test data.

# Core Topics

Chia-Network Chia-Network
[39]
[14]
Updated: 3/1/2026

Killer-Skills Review

Decision support comes first. Repository text comes second.

Reference-Only Page Review Score: 7/11

This page remains useful for operators, but Killer-Skills treats it as reference material instead of a primary organic landing page.

Original recommendation layer Concrete use-case guidance Explicit limitations and caution Locale and body language aligned
Review Score
7/11
Quality Score
41
Canonical Locale
en
Detected Body Locale
en

Ideal for Blockchain Agents working with Chia blockchain and cadt-testing protocols, needing advanced integration testing capabilities. Run CADT integration tests, live API tests, and test data cleanup. Use when the user asks to run integration tests, run v1 or v2 tests, run live API tests, or delete test data.

Core Value

Empowers agents to run comprehensive integration tests for Climate Action Data Trust using in-memory SQLite and simulator, leveraging npm scripts and environment variables like CW_PORT and TEST_RUN_ID, to ensure seamless testing of v1 and v2 protocols in parallel.

Ideal Agent Persona

Ideal for Blockchain Agents working with Chia blockchain and cadt-testing protocols, needing advanced integration testing capabilities.

Capabilities Granted for cadt-testing

Running integration tests in simulation mode
Testing cadt-testing protocols with in-memory SQLite
Debugging Chia blockchain integrations using isolated databases

! Prerequisites & Limits

  • Requires npm environment
  • Specific to Climate Action Data Trust and Chia blockchain
  • Uses in-memory SQLite, may not reflect production database performance

Why this page is reference-only

  • - The underlying skill quality score is below the review floor.

Source Boundary

The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.

After The Review

Decide The Next Action Before You Keep Reading Repository Material

Killer-Skills should not stop at opening repository instructions. It should help you decide whether to install this skill, when to cross-check against trusted collections, and when to move into workflow rollout.

Labs Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

FAQ & Installation Steps

These questions and steps mirror the structured data on this page for better search understanding.

? Frequently Asked Questions

What is cadt-testing?

Ideal for Blockchain Agents working with Chia blockchain and cadt-testing protocols, needing advanced integration testing capabilities. Run CADT integration tests, live API tests, and test data cleanup. Use when the user asks to run integration tests, run v1 or v2 tests, run live API tests, or delete test data.

How do I install cadt-testing?

Run the command: npx killer-skills add Chia-Network/cadt. It works with Cursor, Windsurf, VS Code, Claude Code, and 19+ other IDEs.

What are the use cases for cadt-testing?

Key use cases include: Running integration tests in simulation mode, Testing cadt-testing protocols with in-memory SQLite, Debugging Chia blockchain integrations using isolated databases.

Which IDEs are compatible with cadt-testing?

This skill is compatible with Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Use the Killer-Skills CLI for universal one-command installation.

Are there any limitations for cadt-testing?

Requires npm environment. Specific to Climate Action Data Trust and Chia blockchain. Uses in-memory SQLite, may not reflect production database performance.

How To Install

  1. 1. Open your terminal

    Open the terminal or command line in your project directory.

  2. 2. Run the install command

    Run: npx killer-skills add Chia-Network/cadt. The CLI will automatically detect your IDE or AI agent and configure the skill.

  3. 3. Start using the skill

    The skill is now active. Your AI agent can use cadt-testing immediately in the current project.

! Reference-Only Mode

This page remains useful for installation and reference, but Killer-Skills no longer treats it as a primary indexable landing page. Read the review above before relying on the upstream repository instructions.

Upstream Repository Material

The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.

Upstream Source

cadt-testing

Install cadt-testing, an AI agent skill for AI agent workflows and automation. Review the use cases, limitations, and setup path before rollout.

SKILL.md
Readonly
Upstream Repository Material
The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.
Supporting Evidence

CADT Testing

Prefix all commands with fnm use && per the node-environment rule.

Integration Tests (Simulation Mode)

In-memory SQLite with simulator. No CADT server, Chia, or datalayer required.

"Run the integration tests" = run both v1 and v2 in parallel

bash
1npm run test:v1 & 2npm run test:v2 & 3wait

V1 and V2 use different ports (31310 and 31311 via CW_PORT env var) and isolated databases (via TEST_RUN_ID), so they run safely in parallel. Do not use the combined npm test script — it runs all specs in one process, causing v1/v2 interference.

CommandPortTest files
npm run test:v131310tests/integration/**/*.spec.js, tests/resources/**/*.spec.js
npm run test:v231311tests/v2/integration/**/*.spec.js

How they work

  • run-tests.sh generates a unique TEST_RUN_ID, creates isolated SQLite DBs in tests/test-dbs/, cleans up on exit
  • Environment: NODE_ENV=test, USE_SIMULATOR=true, CW_PORT=<port>
  • Port isolation: CW_PORT env var overrides APP.CW_PORT in config-loader.js
  • Timeout: 300s per test

Live API Tests

Run against a real CADT server with actual Chia datalayer.

Prerequisites

  • CADT server running on port 31310
  • Chia node + datalayer running and synced
  • Home organization created
  • Empty database for POST phases (or SKIP_EMPTY_CHECK=true)
  • Config at ~/.chia/mainnet/cadt/config.yaml
  • Optional: MySQL mirror DB for mirror verification

"Run the v2 live API test" = data-short

bash
1npm run test:v2:live:data:short

Runs tests/v2/live-api/data-short.js:

  1. Validate request failures (bad data rejected)
  2. POST all test records, batch commit
  3. Validate child record failures
  4. PUT all records, batch commit
  5. DELETE all records, batch commit

After each commit, verifies records in DB (and optionally MySQL mirror).

All live API commands

CommandPurpose
npm run test:v2:live:data:shortV2 short mode: batch commit per phase
npm run test:v2:live:data:extendedV2 extended mode: commit per endpoint
npm run test:v1:live:data:shortV1 short mode
npm run test:v2:live:organization:createCreate V2 home organization
npm run test:v1:live:organization:createCreate V1 home organization
npm run test:v1:live:organization:upgradeUpgrade V1 org to V2
npm run test:v2:live:organization:deleteDelete V2 organization

Test modes

  • Short (TEST_MODE=short): Batch all POSTs/PUTs/DELETEs with one commit per phase. Faster.
  • Extended (TEST_MODE=extended): Each test file commits individually. More thorough.

Delete Test Data

If user specifies a version, run that version. If unspecified, run both:

bash
1npm run test:v1:delete-test-data 2npm run test:v2:delete-test-data
CommandBehavior
npm run test:v1:delete-test-dataDeletes records with TEST- prefix from V1 projects and units
npm run test:v2:delete-test-dataDeletes all records from 20 V2 data tables (children first)

Both require a running CADT server. Timeout: 600s.

V2 delete flow: clear staging -> GET all -> stage DELETEs -> commit -> wait for staging empty -> verify.

Related Skills

Looking for an alternative to cadt-testing or another community skill for your workflow? Explore these related open-source skills.

View All

openclaw-release-maintainer

Logo of openclaw
openclaw

Your own personal AI assistant. Any OS. Any Platform. The lobster way. 🦞

333.8k
0
AI

widget-generator

Logo of f
f

Generate customizable widget plugins for the prompts.chat feed system

149.6k
0
AI

flags

Logo of vercel
vercel

The React Framework

138.4k
0
Browser

pr-review

Logo of pytorch
pytorch

Tensors and Dynamic neural networks in Python with strong GPU acceleration

98.6k
0
Developer