/harlan-agent-kit:nuxt-module-migrationfrom harlan-agent-kit
Migrates Nuxt modules to Nuxt 4.6+ and prepares major releases for Nuxt 5. Removes Nuxt 3 support, adopts portable server APIs, reduces dependencies, audits native Node replacements, and separates DevTools packages.
Ships in harlan-agent-kit. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Use for a Nuxt module whose next major requires Nuxt 4.6 or newer. Use for one module or a coordinated collection, including shared packages and the meta module. Research the exact target release before editing. Nuxt 5 remains a moving target.
Read repository instructions, manifests, workspace catalogs, public exports, build configuration, fixtures, and workflow commands.
Read GLOSSARY.md before names or documentation. Read COPY.md before user-visible strings when present.
Evaluate installed Skills. Load the relevant ones before changing code.
Use the pr Skill for repository edits and delivery. Acquire a task-owned Worktree before mutation.
Record the minimum Nuxt release, Node range, supported server builders, deployment targets, and next major for each package. Record producer and consumer relationships. Include shared runtime packages and optional UI packages. Separate a research request from authorization to migrate or publish packages. Preserve published package versions during migration. Bump versions only when the user explicitly authorizes release preparation.
For the Nuxt 4.6.0 baseline:
| Surface | Contract |
|---|---|
| Nuxt peer and module metadata | `^4.6.0 |
| Build-time Kit dependency | @nuxt/kit@^4.6.0, declared in dependencies |
| Node engine | `^22.22.3 |
| Runtime Unhead | Audit against v3; Nuxt 4.6.0 installs @unhead/vue@^3.4.2 |
| Runtime Vue and router | Audit against Vue ^3.5.43 and Vue Router ^5.3.1 |
These are release-specific inputs, not permission to add every peer to every package.
Raise existing peers when the package imports or exposes that API.
Nuxt 5 prereleases need deliberate fixture resolution; ^5.0.0 does not accept them through normal semver matching.
Do not widen the supported range to all future majors.
Sources: published Nuxt manifest, release notes, module compatibility.
Capture the production dependency graph and packed artifact for each module. Measure direct dependencies, unique resolved package identities, compressed tarball bytes, and unpacked bytes separately. Use a clean consumer to measure installed dependencies. A maintainer workspace includes development tools and peer resolutions. Never add per-module totals together and call that a collection total.
Classify each dependency as build-time, portable runtime, Node runtime, optional integration, or DevTools.
For this migration, prefer native APIs where verified equivalent, even if pkg-conform recommends an UnJS dependency.
Trace imports from every public export. A subpath export or dynamic import still installs declared dependencies.
Record concrete removals and shared transitive dependencies that remain reachable.
Do not promise a reduction before comparing clean installations.
Read these references before their corresponding changes:
nuxt/server imports and RequestEvent types.Load ts-design-patterns for non-trivial API changes.
Load unit-tests before new regression tests. Reproduce bugs with a failing behavior test first.
Use Ripast for mechanical changes spanning files.
Keep expected errors explicit. Avoid casts that hide event or server-builder incompatibility.
Delete compatibility scaffolding only when the remaining imports and behavior prove it unnecessary.
Keep existing tests and workflow structure. Follow the verification reference for version aliases and targeted checks. Preserve existing CI configuration, including its LTS selector. Change workflows only to fix verified migration blockers. Exercise meaningful module output, including supported deployment targets affected by the change. Measure dependency changes in equivalent clean consumers. Show each removal, retained dependency reason, artifact delta, and remaining untested path. Open the required pull requests. Keep shared changes ordered before their consumers. When publication is authorized, use the repository's release workflow and verify registry artifacts. Do not publish from a research-only request.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub harlan-zw/harlan-agent-kit --plugin harlan-agent-kit35 skills in this plugin
/adversarial-reviewReview one pull request adversarially, hand permitted defects to Repair, verify the remote head, and publish the Harlan Agent Kit bot status. Use for rigorous pre-merge PR review./agent-feedbackImprove one Agent skill from explicit Review feedback. Use only for the agent-feedback Routine./agent-retroWeekly retro of Harlan GitHub Agent sessions. Group transcripts by goal, find repeated and wasted work, and rank fixes to the controller, prompts, skills, or model. Use for agent retro, session review, agent efficiency, or self-improvement runs.Other plugins' skills for the same job