Skip to content

fix: installer skill loop and Node deprecation warning#63

Merged
nicknisi merged 1 commit intomainfrom
nicknisi/installer-improvements
Feb 18, 2026
Merged

fix: installer skill loop and Node deprecation warning#63
nicknisi merged 1 commit intomainfrom
nicknisi/installer-improvements

Conversation

@nicknisi
Copy link
Member

Summary

  • Fix agent loop: The Next.js skill had ambiguous language about AuthKitProvider imports ("check README — it may be a subpath export") that caused the agent to repeatedly "find" and attempt to fix a correct import ~20 times. Hardcoded the import path (@workos-inc/authkit-nextjs/components) and added a note about the getUserwithAuth rename being version-dependent.
  • Fix DEP0190 warning: Removed shell: true from spawn() calls in build-validator.ts and quick-checks.ts. Both already use the array-args form of spawn(command, args) which doesn't need a shell. Fixes DeprecationWarning: Passing args to a child process with shell option true on Node 25.

Files Changed

  • skills/workos-authkit-nextjs/SKILL.md — Unambiguous AuthKitProvider import, getUser/withAuth note
  • src/lib/validation/build-validator.ts — Remove shell: true
  • src/lib/validation/quick-checks.ts — Remove shell: true

- Hardcode AuthKitProvider import path in Next.js skill to prevent
  agent from looping on subpath export detection
- Add note about getUser/withAuth rename being version-dependent
- Remove shell: true from spawn() calls to fix Node 25 DEP0190 warning
@nicknisi nicknisi changed the title fix: installer skill loop and Node 25 deprecation warning fix: installer skill loop and Node deprecation warning Feb 18, 2026
@nicknisi nicknisi merged commit 92ff704 into main Feb 18, 2026
5 checks passed
@nicknisi nicknisi deleted the nicknisi/installer-improvements branch February 18, 2026 20:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments