From clarity-plugin
Use the clarinet CLI to create and manage Clarity smart contract projects on Stacks.
How this skill is triggered — by the user, by Claude, or both
Slash command
/clarity-plugin:clarinet-cliThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
You have access to the `clarinet` CLI — the primary tool for building, testing, and deploying Clarity smart contracts on the Stacks blockchain.
You have access to the clarinet CLI — the primary tool for building, testing, and deploying Clarity smart contracts on the Stacks blockchain.
clarinet new <project-name> — Create a new Clarinet project with the standard directory structureclarinet contracts new <contract-name> — Create a new contract within an existing project (generates the .clar file and test file)clarinet requirements add <contract-address> — Add a contract dependency (e.g. a trait or deployed contract your project depends on)package-lock.json, pnpm-lock.yaml, yarn.lock, bun.lockb), defaulting to npm if none is presentclarinet --help to see all available commandsclarinet <command> --help to see detailed usage for any specific commandClarinet.toml)Clarinet.toml to add contracts or requirements — always use clarinet contracts new and clarinet requirements add instead, which handle all necessary scaffoldingclarinet new, cd into the new directory before running further commandsnpx claudepluginhub stx-labs/claude-marketplace --plugin clarity-pluginDevelops secure smart contracts by integrating OpenZeppelin libraries for ERC tokens, access control, pausability, governance, and accounts. Supports Solidity, Cairo, Stylus, Stellar.
This skill should be used when the user asks about scaffolding, extending, or debugging an Oclif CLI for Midnight Compact contracts -- including CLI scaffold, Oclif CLI template, wallet commands, contract deployment CLI, devnet CLI, CLI development, add CLI commands, Midnight CLI patterns, CLI error handling, CLI spinner and progress patterns, building a command-line interface for Compact contracts, scaffolding a new CLI project, or extending the generated CLI with new commands
Guides writing production-grade Solidity smart contracts with defensive patterns, custom errors, fuzz testing, and structured code layout.