Help us improve
Share bugs, ideas, or general feedback.
From compact-core
This skill should be used when the user asks to create a new Midnight project, scaffold a Compact smart contract project, use create-mn-app, initialize a DApp, set up a new Midnight application, start a new project, use a project template, set up hello-world or counter template, or set up a Midnight development environment for the first time. Also triggered by "new project", "start a project", "init project", "create-mn-app", or "scaffold".
npx claudepluginhub devrelaicom/midnight-expert --plugin compact-coreHow this skill is triggered — by the user, by Claude, or both
Slash command
/compact-core:compact-init-projectThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
This skill guides you through creating a new Midnight project using `create-mn-app`, the official scaffolding tool. Follow the workflow in `references/create-mn-app-workflow.md` step by step.
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
This skill should be used when the user asks to scaffold a new Midnight DApp frontend, create a Vite + React 19 project for Midnight, initialize a UI and API package for a Compact contract, set up a shadcn + Tailwind v4 frontend, or invokes /midnight-dapp-dev:init. Generates a complete browser DApp scaffold with wallet connection, provider assembly, and contract interaction boilerplate.
This skill should be used when the user asks about the Compact CLI, Compact Dev Tool, Compact Developer CLI, or compact devtools for Midnight Network smart contract development, including setting up the Compact toolchain on a new machine, resolving "compact: command not found" or "No default compiler set" errors, validating that Compact source code compiles correctly, switching between compiler versions, pinning a project to a specific compiler version, understanding why compilation is slow or how to speed it up, figuring out which version of the compiler or language they're running, setting up a project-local toolchain directory, configuring import search paths for multi-file contracts, understanding error messages or exit codes from the compiler or formatter, setting up or uninstalling the Compact toolchain, resolving GitHub API rate limiting when listing or updating versions, or troubleshooting why format or fixup is reporting failures
Share bugs, ideas, or general feedback.
This skill guides you through creating a new Midnight project using create-mn-app, the official scaffolding tool. Follow the workflow in references/create-mn-app-workflow.md step by step.
| Template | Type | Description |
|---|---|---|
| Hello World | Bundled | Simple message storage contract. Best for first-time Midnight developers. |
| Counter | Remote (clone) | Increment/decrement counter with ZK proofs. Demonstrates state management and npm workspaces. |
Follow references/create-mn-app-workflow.md phases in order:
/midnight-tooling:doctor to verify Node 22+, Docker, and Compact CLInpx create-mn-app@latest <name> --template <template>/midnight-tooling:run-proof-server to start Docker proof serverThis skill delegates to midnight-tooling plugin commands:
/midnight-tooling:doctor — prerequisite verification/midnight-tooling:run-proof-server — Docker proof server lifecycle/midnight-tooling:install-cli — Compact compiler installation (if needed)midnight-tooling:troubleshootingcompact-structure, compact-ledger, etc.| Topic | Reference |
|---|---|
| Step-by-step workflow (follow this) | references/create-mn-app-workflow.md |
| Project layouts, SDK versions, network URLs | references/project-structure.md |
| Common init failures and fixes | references/troubleshooting.md |