project_init
Creates or refreshes a Flisk project in an existing directory, writes .flisk/project.json, generates files, or clones a starter template into a new directory.
Instructions
Create a Flisk project with flisk project --yes: in projectPath (an existing directory; default the server's directory) write .flisk/project.json and generate its files, or, with template, clone a starter project into a new directory there (then call project_init again with projectPath set to the clone to configure it). Inside an existing project it refreshes that project's generated files instead and never overwrites its project.json. Returns the command's text output.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Template only: directory to clone into, relative to projectPath or absolute (default: the template's repository name) | |
| template | No | Clone this starter project instead of creating a blank one | |
| agentSkills | No | Blank project only: write the Flisk agent skills and AGENTS.md (default true) | |
| projectPath | No | Absolute path to an existing directory to create the project in (or to clone the template from) |