| name | hack-init |
| description | Stand up or adopt hack in a project (agent-assisted onboarding). Trigger when asked to set a repo up with hack, migrate a project onto hack, or finish/repair a partial hack setup.
|
hack init (agent-assisted onboarding)
The full onboarding prompt is generated by the hack CLI — do not improvise the steps.
- Fetch the canonical onboarding prompt:
- With shell access: run
hack agent onboard (works for new and existing projects).
- Without shell access: fetch the
hack-init MCP prompt from the hack MCP server.
- Follow the printed prompt phase by phase (inventory, setup, platform nuances, running things, verification).
- Finish only when
hack doctor is clean and every routable service responds.