clarity-test-scaffold

Generate vitest configs, test stubs, Clarunit files, and Rendezvous fuzz tests for Clarinet projects.

9|43|Updated Feb 19, 2026
One-click install
npx skills add https://github.com/aibtcdev/skills --skill clarity-test-scaffold-aibtcdev
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: clarity-test-scaffold
Source: https://github.com/aibtcdev/skills/tree/main/clarity-test-scaffold
Command: npx skills add https://github.com/aibtcdev/skills --skill clarity-test-scaffold-aibtcdev

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Generates test infrastructure for Clarinet projects, enabling rapid setup of tests and scaffolding of vitest configs, test stubs, Clarunit files, and Rendezvous fuzz tests.

Core Features & Use Cases

  • Creates vitest config, package.json dependencies, tsconfig, and test stubs for all contracts
  • Adds Rendezvous fuzz test scaffolding and Clarunit templates
  • Scaffolds test infrastructure for new or existing Clarinet projects
  • Reads Clarinet.toml to discover contracts and generate appropriate test stubs
  • Analyzes contract public functions to generate test method signatures
  • Does not overwrite existing test files — only creates missing ones

Quick Start

Run the scaffold subcommand with your Clarinet project directory to generate full test infrastructure.

Frequently Asked Questions about clarity-test-scaffold

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

FAQPage Schema
How do I scaffold test infrastructure for a Clarinet project?

To scaffold Clarinet test infrastructure, run the scaffold subcommand with your project directory to generate vitest configs, package.json dependencies, tsconfig, and test stubs for all discovered contracts.

Does Clarinet test scaffolding overwrite existing vitest files?

Clarinet test scaffolding does not overwrite existing test files. The tool only creates missing artifacts, preserving your current vitest configs, Clarunit files, and Rendezvous fuzz tests.

How does test stub generation work for Clarinet contracts?

Test stub generation works by reading Clarinet.toml to discover contracts and analyzing public functions to automatically generate matching test method signatures and stubs.

Can I use vitest and Clarunit for Rendezvous fuzz tests in Clarinet?

Yes, you can use vitest and Clarunit for Rendezvous fuzz tests in Clarinet. The scaffolding process generates all necessary configs and templates to support fuzz testing out of the box.

What do I need to set up before scaffolding vitest configs for Clarinet?

Before scaffolding vitest configs, you need a Clarinet project containing a Clarinet.toml file, a contracts directory, and a supported runtime for executing scaffold commands.

Why use an automated test scaffold instead of manual vitest setup for Clarinet?

Automated test scaffolding eliminates manual vitest setup by reading your Clarinet project structure and instantly generating test stubs, dependencies, and fuzz test templates, accelerating deployment.