com um clique
dev-link
Swap between local n-dx development build and published npm version
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Menu
Swap between local n-dx development build and published npm version
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Baseado na classificação ocupacional SOC
Capture a requirement, feature idea, or task from conversation context
View or change n-dx configuration with guided assistance
Analyze the codebase and propose PRD updates
Restructure the PRD hierarchy — regroup epics, change levels, merge overlaps, create new containers
Pick up a task from the PRD and begin working on it
Prevent plan-mode stalls in autonomous hench agent runs
| name | dev-link |
| description | Swap between local n-dx development build and published npm version |
| argument-hint | [local|npm] |
Swap between using the local development build of n-dx and the published npm version.
/dev-link local — Link the local packages/core build globally so ndx uses your dev code/dev-link npm — Unlink local and install @n-dx/core from the npm registry/dev-link (no argument) — Show which version is currently active and where it resolves frompnpm build --filter @n-dx/corepnpm remove -g @n-dx/corecd packages/core && pnpm link --globalpnpm ls -g --depth=0 should show @n-dx/core link:...packages/corewhich ndx should resolve to the pnpm global bin, ndx --version should match localpnpm remove -g @n-dx/corepnpm add -g @n-dx/corepnpm ls -g --depth=0 should show @n-dx/core X.Y.Z (a version number, not a link)ndx --version should match the published versionpnpm ls -g --depth=0 and check @n-dx/core entrylink:... — local dev build is activewhich ndx and ndx --version to confirm binary resolution/dev-link npm"/dev-link local"The pnpm commands above are cross-platform and identical on Windows. Only two things differ: the binary-resolution check (which → Get-Command/where) and command chaining (&& is not valid in cmd or Windows PowerShell 5.1). Run the cd as its own step.
Switch to local dev build:
pnpm build --filter @n-dx/core
pnpm remove -g @n-dx/core # ignore error if not installed
cd packages\core
pnpm link --global
cd ..\..
pnpm ls -g --depth=0 # expect: @n-dx/core link:...\packages\core
Get-Command ndx # PowerShell — resolves to the pnpm global bin
ndx --version # should match local
Switch to npm registry version:
pnpm remove -g @n-dx/core
pnpm add -g @n-dx/core
pnpm ls -g --depth=0 # expect: @n-dx/core X.Y.Z (a version, not a link)
ndx --version # should match published version
Notes for Windows:
Get-Command ndx in PowerShell, or where.exe ndx in cmd (the which equivalent).&&; cmd accepts &&; Windows PowerShell 5.1 does not — use ; or separate lines.packages\core (or packages/core — pnpm accepts both).PATH. Run pnpm setup once if ndx is not found after linking, then restart the shell.pnpm (not npm) for global link/install — this repo uses pnpm and binaries resolve through pnpm's global bin directory@n-dx/core (from packages/core/package.json) — never link from the monorepo root (which has name n-dx and no bin entries)pnpm build after code changes for them to take effect via the global linkndx, n-dx, rex, hench, sourcevision, sv