stack-install
Use to start a new Polyforms project, or to bring an existing project onto the @moifort/stack package (init, templates, Renovate, CI check, routines).
Files1
View on GitHubSKILL.mdskills/stack-install/SKILL.md
GitHubInstall the stack
New project
mkdir <app> && cd <app> && git init
bunx @moifort/stack init --stacks backend,ios --set APP_TAGLINE="..."
bun install
Stacks: backend, ios, ai, paid, admin, e2e, site. init asks for every
placeholder the chosen stacks use that it cannot derive; derived ones (name, slug, bundle id,
repository) come from the folder name and can be overridden with --set NAME=value.
Then, in order, verifying each:
bun run preflightgreen.bun run ios:buildandbun run ios:testgreen (ios stack).bunx @moifort/stack bootstrap <app>creates GitHub, Sentry, Renovate, GCP, and pushes the first commit; the Deploy workflow does the first deploy. It ends with the list of what needs the person.- Write the deployed function URL into
ios/<App>/Shared/APIClient.swift. - Create or update the scheduled routines from
stack/routines/(rule 16). - Fill
project-context.md.
Existing project
init never overwrites: it writes what is missing and lists what it kept. Then write a
batched plan, one batch per domain (CI, Terraform, Sentry, iOS shell, scripts), comparing each
kept file with its template and bringing the project in line batch by batch, each batch
verified and committed on its own.