Create a mini app
minikit create expense_tracker
cd expense_tracker
minikit run
create writes, from the toolkit's template:
| Where | What |
|---|---|
lib/main.dart, lib/src/app.dart |
MiniAppSdk.connect() with the LocalHost fallback, a home screen with a bridge call |
test/app_test.dart |
a widget test over LocalHost (the real dispatcher with fakes) |
web/ |
Flutter's web files and miniapp.json, the app's identity and permissions |
minikit.yaml |
how the toolkit runs, builds and packages this project (a stable dev-server port is chosen) |
packages/mini_app_core, packages/mini_app_sdk |
the SDK, vendored: plain Flutter, offline and CI all work; minikit upgrade --project replaces it |
.vscode/launch.json, .idea/runConfigurations/ |
launch into the simulator from VS Code and Android Studio |
.minikit/ (git-ignored) |
the project's launcher script, the manifest schema for your editor, run state |
.agents/skills/, .claude/skills/ |
the toolkit's AI skills for Claude Code, Cursor, Codex, Antigravity, GitHub Copilot and Gemini CLI |
Then it runs flutter pub get (offline first) and makes a first git commit.
Options: --id (default: the name with dashes), --name, -p auth,storage,files,share,
--no-offline (declares SSO sign-in), --no-pub, --no-git, --no-ide, --no-skills,
--agent cursor,codex (skills for these agents only), --force.
The project name follows Dart's package rules (expense_tracker); the id follows the host's
(lower case, ., _, -, up to 64 characters) and is permanent once shipped.