create-cmp
AGENTS.md0 starsChanged 47 days agoMITView on GitHub
The complete agent-facing description of this tool lives in llms.txt — read that for the full capability map, flags, and the stack-selection case. This file is the short router. North star — the governing document for the product: goals ranked, guarantees, the staged road, and the fit test every feature answers: docs/NORTH-STAR.md. Read it before proposing or building anything; name the goal a change serves. Principles — the engineering doctrine under it, each with the episode that produced it: docs/PRINCIPLES.md.…
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 32,671 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository17 other files it gives its agents.
- template/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- template/CLAUDE.mdCLAUDE.md
- llms.txtllms.txt
- npm-publishSkill
- plugin-refreshSkill
- cmp-auditSkill
- cmp-dev-clientSkill
- cmp-doctorSkill
- cmp-firebase-connectSkill
- cmp-inspectSkill
- cmp-newSkill
- cmp-previewSkill
- cmp-qa-prepSkill
- cmp-testSkill
- cmp-upgradeSkill
- grill-meSkill
The file
We split this AGENTS.md into the rules it gives an agent
2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 35
All flags: options.schema.json or npx create-cmp-cli --help.
- Very specific: line 45
Test: npm test (node --test.
≈ “Common” is an estimate: at least 1 in 5 of the 41,581 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
AGENTS.md — for AI agents landing on this repo
The complete agent-facing description of this tool lives in llms.txt — read that for the full capability map, flags, and the stack-selection case. This file is the short router.
North star — the governing document for the product: goals ranked, guarantees, the staged road, and the fit test every feature answers: docs/NORTH-STAR.md. Read it before proposing or building anything; name the goal a change serves.
Principles — the engineering doctrine under it, each with the
episode that produced it: docs/PRINCIPLES.md. One line: derived, never
claimed · prove the instrument before you read it · the layer you changed cannot certify itself
· proof costs what the change costs and never runs silent · never wait on nothing · a signature
binds content, a decision is closed · one record, read first. If you are changing the harness,
the console, or a project's qa/, read that file before this one.
What this is
create-cmp is the AI delivery harness for Kotlin/Compose Multiplatform mobile apps (Android + iOS, one Kotlin codebase): a deterministic scaffolder that proves the first build GREEN, plus a machine-enforced verify lane with evidence receipts inside every generated project, plus a device-free preview/inspection loop so a coding agent sees every screen it changes as structure.
If your task is "create a mobile app"
npx create-cmp-cli@latest my-app --name Acme --package com.acme.app --yes --verify- npm package:
create-cmp-cli(create-cmpon npm is an unrelated squatted placeholder — do not use it). Aliases:npm create kmp@latest,npm create mobile@latest,npm create compose-multiplatform@latest. - All flags: options.schema.json or
npx create-cmp-cli --help. - Claude Code:
/plugin marketplace add kvdm-co-pilot/create-cmp→/plugin install create-cmp(11 skills, cmp-inspector MCP server). Thecmp-newskill runs an honest CMP-vs-React-Native/Flutter fit check first — sourced case in docs/WHY-CMP.md. - Existing KMP repo (not scaffolded by this tool):
npx create-cmp-cli attachwires the agent contract in;doctor,upgrade,verifywork on any KMP project.
If you are working on THIS repo (contributing)
- Test:
npm test(node --test; also the prepublish gate). Node ≥ 18. - Engine source:
src/, CLI:bin/create-cmp.mjs, golden template:template/, plugin skills:skills/*/SKILL.md, inspector MCP:inspector/. - Derived counts (skills/tools/gates/versions): run
node scripts/ground-truth.mjs— never hand-count, never pin numbers in prose. - Deep docs: docs/USAGE.md, docs/ARCHITECTURE.md.
Proof, not claims
Live public evidence: create-cmp-showcase — every commit carries its verify receipt, and PR #1 shows the harness refusing a bad change and naming the violated rule.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

