What problem does it solve?
The skill removes friction for developers building command-line tools that interact with Midnight Compact smart contracts by providing a production-ready Oclif CLI template, integrated wallet management, provider wiring, deployment and devnet controls, and robust error handling so teams can ship developer tooling faster and more reliably.
Core Features & Use Cases
- Project scaffolding: A complete CLI template with BaseCommand, command topics, and a templates/cli scaffold to jumpstart new Oclif projects for Compact contracts.
- Wallet & provider integration: HD seed derivation, WalletFacade construction, 6-provider factory, and wallet persistence for common wallet, dust, and shielded workflows.
- Contract lifecycle and devnet controls: Helpers for loading compiled contracts, deploy/join flows, address persistence, devnet compose discovery, and service health checks.
- Developer ergonomics: JSON-mode support, spinner helpers, classified error messages with actionable remediation, unit tests, and CI configuration.
- Use Case: Rapidly generate a CLI that can create and fund local devnet wallets, deploy a compiled Compact contract, invoke circuits, and query public state during integration testing.
Quick Start
Use the compact-cli-dev:core skill to scaffold a new Oclif CLI with wallet management, deploy, call, query, and devnet commands for your Compact contract.