utels-project-bootstrap

Installation
SKILL.md

utels project bootstrap

Register production/staging utels.dev projects and send each returned ingest token to pnpm exec cf workers secrets update UTELS_INGEST_TOKEN --worker <name> --body @/dev/stdin. The JSON body travels through stdin on macOS/Linux; the token is not placed in argv, a temporary file or command logs.

Helper

Copy setup-utels.ts to the Worker's scripts/ directory. Use Node.js 24+ with a project-local cf dependency. The checked implementation targets cf beta.5; verify cf schema workers secrets update and the installed implementation when upgrading.

Inputs:

Input Purpose
UTELS_BOOTSTRAP_TOKEN Required registration credential, normally decrypted by dotenvx
APP_WORKER_PROD / APP_WORKER_STAGING Required Worker names for each selected target; cf resource commands do not use old --env selection
APP_SERVER_DIR Worker project directory; defaults to the parent of the copied script directory
APP_UTELS_PROJECT_PROD / APP_UTELS_PROJECT_STAGING Project slugs; replace the example defaults
UTELS_ENDPOINT / --endpoint=<url> Registration host, default https://utels.dev
--only=production / --only=staging Register just one environment, including retries after a partial failure
DRY_RUN=1 Skip registration and secret writes
Installs
42
Repository
mizchi/skills
GitHub Stars
416
First Seen
May 26, 2026