# Skill Node Portability

> Audit and modernize Node.js scripts inside portable skills with explicit dependencies, committed lockfiles, local npm commands, compiled runnable JavaScript, and no global-tool assumptions. Use when a skill contains JavaScript or TypeScript, relies on global npm installs, lacks deterministic setup, or fails when copied to another machine.

- **Type:** Skill
- **Install:** `agentstack add skill-batteryshark-skill-tap-skill-node-portability`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [batteryshark](https://agentstack.voostack.com/s/batteryshark)
- **Installs:** 0
- **Category:** [Developer Tools](https://agentstack.voostack.com/c/developer-tools)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [batteryshark](https://github.com/batteryshark)
- **Source:** https://github.com/batteryshark/skill-tap/tree/main/skills/development/skill-development/skill-node-portability

## Install

```sh
agentstack add skill-batteryshark-skill-tap-skill-node-portability
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Improve Node Skill Portability

1. Run `bin/skill-node-portability SKILL_PATH` to inventory runnable files, import specifiers, package metadata, lockfiles, and TypeScript siblings.
2. Read [references/node-portability.md](references/node-portability.md).
3. Present ambiguous imports and runtime choices before editing.
4. Prefer Node built-ins; declare unavoidable third-party packages and commit `package-lock.json`.
5. Keep runnable JavaScript as `.mjs`; if TypeScript remains, commit the corresponding `.mjs` output.
6. Use local `npm --prefix ... ci` and `npm --prefix ... run ...` commands—never global installs.
7. Test from outside the skill directory and run the tap validator.

Use [agents/node-portability-reviewer.md](agents/node-portability-reviewer.md) for an independent supply-chain and invocation review.

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [batteryshark](https://github.com/batteryshark)
- **Source:** [batteryshark/skill-tap](https://github.com/batteryshark/skill-tap)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-batteryshark-skill-tap-skill-node-portability
- Seller: https://agentstack.voostack.com/s/batteryshark
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
