Skip to content
Kitbay
Skill

convert-internal-package-to-typescript

MITUpdated on Nov 11, 202655,770GitHub stars

A contributor skill in the Ghost repository for moving one of Ghost's private internal workspace packages from JavaScript and CommonJS to the repository's standard TypeScript and ES module layout while keeping git history and runtime behaviour.

What the skill teaches

A contributor skill in the Ghost repository for moving one of Ghost's private internal workspace packages from JavaScript and CommonJS to the repository's standard TypeScript and ES module layout while keeping git history and runtime behaviour. The agent first checks the package qualifies, stopping if it is released separately or supported for outside users, then lists imports, exports, runtime assets and consumers and records a test baseline. The work goes in three commits: moving lib to src, renaming files to .ts, then converting code and package settings to ESM. It bans shortcuts that silence the compiler and ends with build, test, packed-package and history checks.

Capabilities

Not stated in its documentation