init-project
What it does
Section titled “What it does”Creates a new project directory with the full file structure, dependencies, git repo, and configuration based on the plan from plan-app.
| Parameter | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Project name (used for directory and URLs) |
plan | object | Yes | The structured plan from plan-app |
path | string | No | Target directory path (default: ./<name>) |
What it creates
Section titled “What it creates”- Project directory with template files
package.jsonwith dependencies- TailwindCSS + Vite configuration
- TypeScript configuration
.mistflow/state.json— local project state- Git repo initialized with first commit
- If the target directory already exists, the tool returns an error suggesting a different name.
- The template is selected from the plan’s
templatefield. - Dependencies are installed automatically via
npm install.