create-hile
Scaffold Hile applications and monorepos from maintained templates.Choose This Package When
Use When
Usecreate-hile when starting a new Hile application or workspace.
Do Not Use When
- Do not use generated templates as the final architecture for complex apps without introducing models, services, and context boundaries.
- Do not trust stale template README files if they mention unrelated application domains; regenerate or rewrite them from current template files.
Install
Usually no install is needed:Imports
The CLI entrypoint exports acreate command. Application code does not import create-hile.
Copy-Paste Example
Create a project:More Examples
Template choices:Runtime And Lifecycle Notes
- Templates use
_env,_env.prod, and_gitignore; creation renames them to dotfiles. - The CLI prompts for a template and optional dependency installation.
- The package manager preference is
pnpm, thenyarn, thennpm.
Anti-Patterns
- Leaving template package versions stale after publishing new Hile packages.
- Shipping template READMEs copied from unrelated projects.
- Starting production without running the build command required by the selected template.
Verification Checklist
- New project has
"type": "module". - Dev script runs
hile start --dev. - Production script runs
hile startafter build. - Boot files default-export
defineService(...).
Related Recipes
New Project Scaffold
Complete Example
Package-Local AI Guide
This package also shipsAI.md in npm so agents can read accurate examples after installation.