
Security News
Deno Goes the Way of the Dinosaur
Cloudflare is acquiring Deno’s team, which will provide another year of bug fixes and security updates before ending support for the runtime.
create-cmp-cli
Advanced tools
The AI delivery harness for Kotlin/Compose Multiplatform — a deterministic, non-interactive project generator that scaffolds a green-building app (Android + iOS) in minutes, then holds AI-driven changes to a machine-enforced verify lane with a committed e
The AI delivery harness for Kotlin/Compose Multiplatform.
Scaffold a green-building Android + iOS app in minutes — then let AI extend it, held to a machine-enforced definition of done.
npx create-cmp-cli@latest my-app --name Acme --package com.acme.app --yes --verify
Deterministic (stamps a frozen, CI-verified template), fully non-interactive with flags, and
exits non-zero on failure. Every generated project ships its own verify lane — node qa/verify.mjs,
8 gates, evidence receipts — with nothing installed. Agent-readable: llms.txt ·
options.schema.json.
Day one, it's a scaffolder. One command gives you a working Compose Multiplatform app — Android and iOS, navigation and insets solved, Clean Architecture wired, tests passing, build green. It stamps a frozen, CI-verified template; it never asks an AI to freehand your project, so every scaffold is identical and every scaffold builds.
Every day after, it's a harness. AI writes code fast, and confidently — including confidently wrong. The scarce thing is no longer code; it's a machine-checkable definition of "correct". Every project this tool generates carries that definition inside it: behavior specs, an executable verify lane, generators that extend the app the right way by construction, and enforcement that refuses "done" without evidence. An AI session working in your repo doesn't promise the feature works — it has to prove it, and it gets blocked when it can't.
See it live: create-cmp-showcase is a public repo built entirely by this tool — every commit carries its evidence receipt, and PR #1 shows the harness refusing a bad change and naming the exact rule it broke.
spec clause → generate from exemplar → verify lane (8 gates) → evidence receipt
↑ │
└────────────── enforcement: Stop hook + CI refuse "done" without it ──┘
Behavior starts as a written spec clause. Code is cloned from a proven exemplar. The verify lane checks everything — spec coverage, build, tests, architecture, UI structure, design tokens, accessibility, on-device E2E — and writes a receipt bound to a content hash of the code it verified. The Stop hook and CI both check that receipt. You cannot hand-forge it, and a stale one doesn't pass.
npx create-cmp-cli@latest
…or non-interactively:
npx create-cmp-cli@latest my-app --name Acme --package com.acme.app --yes --verify
It interviews you (or takes flags), checks your toolchain, stamps the template, and builds the app to prove it's green before reporting success.
Name note: the npm package is
create-cmp-cli(the barecreate-cmpname was already squatted); the installed command is stillcreate-cmp.
Three surfaces: the CLI, the Claude Code plugin, and — most importantly — what every generated project carries inside it.
Everything except create works on any KMP project, not just ones this tool made.
| Command | Plain-speech: what it does |
|---|---|
create-cmp [dir] | Makes a new app. Asks questions (or takes flags), stamps the template, renames everything to your package, removes features you turned off, builds it, tells you GREEN or FAIL. |
create-cmp doctor [--fix] | Checks your machine (JDK, Android SDK, emulator, Xcode, CocoaPods, XcodeGen, Node) and your project (do Kotlin and KSP versions agree? is the version catalog drifting? is ~/.konan eating your disk?). --fix applies safe repairs — always asking first. |
create-cmp upgrade [--dry-run] | Moves your libs.versions.toml to the next proven-green version set. Shows a diff first, edits surgically with backups, guards the Kotlin↔KSP lockstep, and can re-verify the build after. |
create-cmp clean | Reclaims disk: stale Kotlin/Native toolchains, build/ dirs. Shows sizes, asks before deleting. |
create-cmp verify | Runs the green-build gate against an existing project. Exit 0 = green. Useful in scripts and CI. |
Hit a KMP build error? Common CMP/KMP build errors and fixes — kotlin↔KSP
mismatch, the KSP2/iOS catch-22, SDK location not found, No space left on device, version drift.
/plugin marketplace add kvdm-co-pilot/create-cmp
/plugin install create-cmp
Same engine as the CLI, conversational front door. Each skill is a guided flow, not a wrapper:
| Skill | Plain-speech: what it does |
|---|---|
cmp-new | "Make me an app." Interviews you in chat, scaffolds via the engine, generates your bottom-nav tab screens from the exemplar pattern, proves the build green. |
cmp-doctor | "Why won't my KMP project build?" Runs the doctor, explains the findings, applies consented fixes. |
cmp-upgrade | "Bump my dependencies safely." Diff → apply → verify, with the lockstep guardrails. |
cmp-inspect | "What did the UI actually render?" Reads a running app as structured JSON — hierarchy, geometry, resolved design tokens, navigation state. Never screenshots. Can assert tokens, find drift against your design system, audit accessibility, diff before/after. |
cmp-dev-client | "Let me iterate fast." Runs your shared UI in a phone-sized desktop window with hot reload — save a file, see it change. No emulator needed. Firebase stays off on desktop (offline fakes). |
cmp-firebase-connect | "Wire up my real Firebase." Drives the Firebase CLI: create/reuse a project, register the app, drop the real google-services.json over the placeholder, prove it with a green build. Every cloud action asks first. |
cmp-test | "Write tests for my app." Observes the running app's semantics tree — what's actually on screen, what's tappable, where navigation goes — and derives the regression suite from that. Tests come from rendered reality, not guesses. |
cmp-qa-prep | "Get my test environment up." Emulator + app install + E2E smoke run, with the gotchas handled. |
Plus the cmp-inspector MCP server (14 tools) — the machine-readable window into a running
Compose UI that cmp-inspect, cmp-test, and the verified dev loop are built on. One tree
contract, three sources: render a screen headlessly, connect to the live app, or read a device
via UIAutomator.
This is the product. Delete the plugin, uninstall the CLI — your generated repo keeps all of it.
specs/*.spec.md — plain Given/When/Then clauses with stable ids (HOME-01, ARCH-05). New
behavior starts as a clause; durable tests cite their clause (// SPEC: HOME-02). The home
feature ships as the fully-cited example.
node qa/verify.mjs runs everything and writes a typed PASS/FAIL/SKIP receipt:
| Gate | Plain-speech: what it catches |
|---|---|
specCoverage | Behavior nobody tests, and test citations pointing at nothing. Every clause needs a test; every citation needs a clause. |
build | The app doesn't compile. |
unitTests | A behavior broke. ViewModels/UseCases/Repositories, tested with hand-written fakes. |
conformance | Architecture violations, named by rule: UI importing the data layer, hardcoded colors outside the theme, a screen without a ViewModel test. |
goldenTrees | A screen's structure changed when you didn't mean it to. Compares the rendered semantics tree against a committed baseline — no pixels, no flake. |
tokenDrift | The running app's design tokens drifting from the declared catalog — queried live from the debug inspector. Hardcode a color and it shows up here too. |
a11y | Missing content descriptions, undersized touch targets. |
e2eSmoke | The app doesn't actually boot and navigate on a device. Real Maestro run, hardened for slow emulators. |
No device attached? Device-dependent gates record an honest SKIP — never a fake green.
The lane writes qa/evidence/latest.json: verdict, per-gate results, durations, and an
inputs.hash — a content hash of every file that could affect the verdict. You commit the
receipt with your change; git history becomes the audit ledger. Because validity is a content
hash (not a commit SHA), rebases and merges don't invalidate honest receipts — but editing the
verdict by hand, or reusing a stale receipt, fails immediately. The lane also forces test
execution (--rerun), so a receipt can never launder a cached result from a different tree.
.claude/settings.json): when an AI session tries to end, it re-hashes the
verified surface and compares against the committed receipt. Changed code without a fresh PASS
receipt → the session is blocked, with the reason. Costs milliseconds (hashing only). Doc-only
edits never trigger it — enforcement is transparent, not hostile..github/workflows/verify.yml): every push re-checks that the committed
receipt attests HEAD, then independently re-runs the whole lane.node qa/refusal-demo.mjs): four staged violations — hardcoded color,
illegal layer import, deleted spec test, structural regression — each caught and named by
clause, 4/4. Run it to watch the harness say no.Three skills ship inside the generated repo (.claude/skills/), backed by a deterministic
stamper (qa/scaffold-feature.mjs):
add-feature — a full vertical slice cloned from the home exemplar: Screen → ViewModel →
UseCase → Repository → DI → nav route, with tests at every layer and a golden baseline slot.add-screen — presentation only, for an entity whose data layer already exists.add-repository — data/domain only: model, repository interface + impl, use case, fake.Any plain Claude Code session — no create-cmp plugin installed — finds these and extends the app correctly by construction.
Every debug build serves 127.0.0.1:9500 (loopback-only, structurally absent from release): the
UI tree as JSON, the design-token catalog, a screenshot route, a tap route, and a live device
view for humans (/inspect/remote — watch the real device in a browser, click to tap). Agents
read structure; humans see pixels.
CLAUDE.md — the AI delivery contract itself, stating everything above as rules any AI
session in the repo must follow.New app → green. cmp-new (or npx create-cmp-cli) → interview → stamp → green build proven
→ tab screens generated. Then cmp-firebase-connect to wire your real backend.
The daily UI loop. ./gradlew :composeApp:hotRunDesktop --auto → edit Compose → save → see
it. No emulator, no Firebase, sub-second feedback.
The verified dev loop (the flagship). For any UI change: snapshot the live tree → make the
edit → reload → prove_change compares before/after structure, token drift, and a11y, and returns
a verdict. The agent doesn't say "I centered the title" — it shows "title bounds moved, tokens
unchanged, no a11y regressions: proven clean."
Add a feature with AI (no plugin). Ask any Claude Code session for a feature → it reads
CLAUDE.md → proposes the spec clause first → runs add-feature → runs the lane → commits code
Tests that write themselves. cmp-test reads the running app's semantics tree and emits the
regression suite — existence, interaction, navigation, golden trees — in the shipped harness style.
Maintenance, for the life of the repo. doctor when anything misbehaves, upgrade when you
want newer versions without the version-matrix gamble, clean when disk fills, verify as the
standalone gate. All of it works on any KMP project.
CLAUDE.md), the
generators, the lane, and the hook are all local files — the session follows the loop above
with nothing installed.cmp-orchestrator agent (ships with the plugin) splits bigger jobs: it delegates
generation and mechanical work to sub-agents with self-contained briefs, then gates every
hand-off through the verify lane before accepting it. Nothing is reported done on prose —
only on a receipt.inspect_tree, get_node, assert_token,
layout_gaps, diff_against_design_system, find_drift, snapshot_save, snapshot_diff,
audit_a11y, connect_live, navigate_and_inspect, render_tree, render_screen,
prove_change. Structure in, structure out — never pixels in model context.specs/, not in a diff.home feature is the architecture guide — a running,
tested pattern that generators clone and humans copy. Patterns you can execute don't rot.| Option | Choices | Default |
|---|---|---|
| Platforms | Android (always) + iOS | iOS on |
| App name / package / iOS bundle id | — | required / derived |
| Firebase (GitLive KMP) | on / off | on |
| Auth | email / phone / both / none | both |
| Firebase region + services | any region · Firestore/Storage/Functions/FCM | us-central1 · all on |
| Room local cache | on / off | on |
| E2E flows (Maestro) | on / off (--e2e / --no-e2e; --appium is a deprecated alias) | on |
| Live inspector | on / off | on |
| Desktop dev-client | on / off | on |
| Bottom-nav tabs | label + icon, any count | Home, Profile |
Web/PWA is intentionally out of scope — Android + iOS only.
doctor detects and —
with consent — installs. Maestro installs with curl -fsSL https://get.maestro.mobile.dev | bash.
Xcode itself is the one manual App Store step.The only place CMP loses to RN on a new app is time-to-first-green-build — a tooling problem, not
a merits problem. With one language, real native UI, no bridge, and a reproducible frozen
template, CMP's npx-and-go is now competitive. If create-next-app made React the web default
by deleting setup friction, the goal here is the same for multiplatform mobile.
docs/USAGE.md — the complete usage guide (every command, skill, MCP tool,
workflow) · docs/ARCHITECTURE.md — engine design ·
docs/HARNESS-PLAN.md — the harness, layer by layer ·
docs/adr/ — decision records · docs/ROADMAP.md — what's next.
Issues and PRs welcome — see CONTRIBUTING.md and the Code of Conduct. The golden template is CI-gated: an upstream version bump must fail our CI, not your generated project.
MIT © Karel van der Merwe and create-cmp contributors.
FAQs
Create production mobile apps (Android + iOS, one Kotlin codebase) with AI — the delivery harness for Compose Multiplatform, the current generation of cross-platform (Google-backed KMP, iOS stable since May 2025). A deterministic, non-interactive generato
The npm package create-cmp-cli receives a total of 0 weekly downloads. As such, create-cmp-cli popularity was classified as not popular.
We found that create-cmp-cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Security News
Cloudflare is acquiring Deno’s team, which will provide another year of bug fixes and security updates before ending support for the runtime.

Security News
Anthropic’s free OSS Scanner uses Mythos and other Claude models to find open source vulnerabilities and send maintainers reports with proposed fixes.

Security News
On Front Lines’ Early Adopters: CISO podcast, Andrew Becherer shares lessons from Datadog, weighs the long-term costs of AI-built tools, and explains how founders can actually gain a CISO’s trust.