modernize
Installation
SKILL.md
Modernize (Brownfield Dependency Upgrade)
Runs after Gear 6 for brownfield projects with modernize: true in .stackshift-state.json.
Prerequisites: Gears 1-6 complete, 100% spec coverage established Output: Modern dependency versions, updated tests, synchronized specs, upgrade report Scope: Node.js/TypeScript projects only
Constraints
- Do NOT upgrade to pre-release, beta, or canary versions. Use only stable releases.
- Do NOT delete lockfiles (package-lock.json, yarn.lock, pnpm-lock.yaml).
- Do NOT run
npm audit fix --force. Usenpm audit fixonly. - Do NOT proceed to the next phase until the current phase passes its gate check.
- Execute phases sequentially. No phases run in parallel.
- If
/speckit.analyzeis unavailable, manually compare spec acceptance criteria against test results as a fallback.