Use Mercur CLI commands correctly for project setup, block discovery, block installation, and starter maintenance. Use when working with `create`, `init`, `add`, `search`, `view`, or `diff`.
Use this skill when:
blocks.jsoncreate — create a new Mercur project from a templateinit — create blocks.json in an existing projectsearch — search block names and descriptionsview — inspect a block before adding itadd — install one or more blocks into a projectdiff — compare installed block files with the registry versionblocks.json lives.npm.npx @mercurjs/cli@canary create my-mercur --template basic
npx @mercurjs/cli@canary init
npx @mercurjs/cli@canary search --query review
npx @mercurjs/cli@canary view reviews
npx @mercurjs/cli@canary add reviews
npx @mercurjs/cli@canary diff reviews
addAlways inspect what changed:
blocks.json aliasesmedusa-config.ts needs a module or config updatesearch or viewadd outside the project rootWhen using the CLI in a task summary: