Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Converts a legacy internal Ghost workspace package from JavaScript or CommonJS to TypeScript and ESM, preserving file history.
13% 61%+48 ptsof test cases passed
Passed 14 of 23 test cases with the skill, and 3 of 23 without it.
3 of 3 safety checks passed
Not used yet
The admin-api-schema conversion used three deliberately separate commits:
688807ca052 Moved Admin API schema sources from lib to srcbe31b36ffab Changed Admin API schema file extensions to TypeScriptb825dafdc19 Converted Admin API schemas to TypeScriptThis ordering lets Git and reviewers distinguish relocation, mechanical renaming and semantic conversion. It is an example of the shape, not a reason to copy package-specific implementation.
Use git mv for every move or extension change. After each mechanical commit,
inspect the summary and a representative file:
git diff --summary HEAD^
git log --follow -- packages/<name>/src/<representative-file>.ts
Git records snapshots rather than an explicit rename operation, so rename detection depends on similarity. A file that is both moved and substantially rewritten in one commit can appear as a deletion and addition. Separate those operations so history remains intelligible.
A small CommonJS forwarding file may legitimately appear as deleted when the new ESM entry point replaces it; verify the implementation's lineage rather than forcing a misleading rename.
Inspect actual consumers before choosing output formats. For the normal
internal-package contract, first verify from the worktree that a consumer using
the source condition resolves and loads raw TypeScript in development/tests.
Then build and pack the package. Verify against the packed artifact that:
Next to this one in the catalogue, plus more from the same author.