eitri-typescript-migrate
How to migrate a pre-existing Eitri-App workspace — a single app or a multi-app bundle (e.g. an Eitri Shopping storefront: home/pdp/cart/checkout/account plus a shared library) — from JavaScript to TypeScript, file by file, following Eitri-specific typing conventions (Luminus/Bifrost prop shapes, VTEX/Wake/Shopify payload types, file-based routing props). ALWAYS invoke this skill whenever the user asks to migrate, convert, or port an Eitri-App workspace from JS to TS; whenever a workspace has .js/.jsx source with no tsconfig.json; or whenever the user wants to add TypeScript to an existing Eitri project. Also invoke when interpreting a tsc --noEmit result in an Eitri workspace that consumes a published shared Eitri-App library, or when reviewing a TypeScript-migration PR for an Eitri workspace.
Pinned to revision 6dc85a347229, so it is the text this page describes rather than whatever the author pushed since.
Pre-approved tools experimental
Experimental field. Support varies between clients, so this list is what the author declared, not what your client will enforce.
- Read
- Grep
- Glob
- Write
- Edit
- Bash
- WebFetch
- Agent
Files
Every link opens the file at its source, pinned to the revision this page describes.