Skip to content

init-project

Creates a new project directory with the full file structure, dependencies, git repo, and configuration based on the plan from plan-app.

ParameterTypeRequiredDescription
namestringYesProject name (used for directory and URLs)
planobjectYesThe structured plan from plan-app
pathstringNoTarget directory path (default: ./<name>)
  • Project directory with template files
  • package.json with 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 template field.
  • Dependencies are installed automatically via npm install.