cmp-new-projectlisted
Install: claude install-skill whinstudio/skills
# cmp-new-project
Generate a Compose Multiplatform project with the cmpose generator. It runs on this machine as
the cmpose MCP server (`@cmpose/mcp`, tools `cmp_describe` and `cmp_generate`): no account, no API
key, no upload. **Kept short**: ONLY four fields are asked one at a time (project name, app name,
package, output dir); everything else uses smart defaults / the request and is shown (changeable)
at the confirmation step. Skill directory: `~/.claude/skills/cmp-new-project/`.
Run scripts with `bash ~/.claude/skills/cmp-new-project/scripts/<name>.sh`.
The contract is generated from `@cmpose/core`; at runtime it is compared with `cmp_describe`, so a
stale skill is visible — see *Maintenance*.
## 0. MCP check + contract + preferences (silent)
1. **The cmpose MCP server must be connected.** Its tools are `cmp_describe` and `cmp_generate`
(usually listed as `mcp__cmpose__cmp_describe` / `mcp__cmpose__cmp_generate`). If they are not
available in this session, **stop before asking anything** and tell the user, in their language:
- the generator runs locally as an MCP server; add it once with this command (the same as
`reference/contract.json` → `mcp.install`), then restart Claude Code (`/exit`, then `claude`)
and ask again:
claude mcp add cmpose -- npx -y @cmpose/mcp@3.0.3
- it needs Node.js 20+ and git: run `scripts/doctor.sh` and report `node20` and `git` (if it
cannot run, just say so).
Never generate any other way (no web API, n