coder/skills/nodejs/SKILL.md
Node.js and npm via system packages (RPM/DEB) with global npm prefix. Use when working with Node.js, npm, or JavaScript/TypeScript tooling.
npx skillsauth add overthinkos/overthink-plugins nodejsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
| Property | Value |
|----------|-------|
| Install files | charly.yml, task: |
| Variable | Value |
|----------|-------|
| NPM_CONFIG_PREFIX | ~/.npm-global |
| npm_config_cache | ~/.cache/npm |
PATH additions: ~/.npm-global/bin
RPM: nodejs, npm
DEB: nodejs, npm
PAC: nodejs, npm
The candy installs the pnpm standalone binary (self-contained — it bundles
its own node) to /usr/local/bin/pnpm via a task: download. It is deliberately
NOT a package.json dependency: a package.json would trigger the npm
multi-stage builder on this candy, and the builder images that COMPOSE nodejs
(arch-builder / fedora-builder) cannot self-provide the npm builder. The
binary on /usr/local/bin is on the default system PATH for every user (incl.
root — Immich runs its pnpm build as root). Immich and other pnpm consumers use
this pnpm to drive their build.
# charly.yml
my-image:
candy:
- nodejs
/charly-distros:fedora-builder/charly-distros:arch-builderopenclaw, claude-code, pre-commit, and other candies/charly-coder:claude-code -- depends on nodejs/charly-coder:pre-commit -- depends on nodejs/charly-immich:immich-layer -- uses the candy's pnpm to build ImmichUse when the user asks about:
nodejs candy or npm configuration/charly-image:layer — candy authoring reference (charly.yml schema, task verbs, service declarations)/charly-check:check — declarative testing (check: block, charly check box, charly check live)tools
Use when authoring or modifying a charly PLUGIN — a candy with a `plugin:` block that contributes Providers (verbs/kinds/deploy-targets/steps/builders/commands), its own CUE schema, builtin (compiled-in) or external (out-of-tree git repo). Covers the unified Provider model, the per-plugin CUE-schema contract (single source → Go params for dev + schema-over-Describe RPC for runtime), the SDK, and the loader.
tools
The CUE data-validation / configuration CLI (cue), pinned to v0.16.1. Use when working with the cue candy, installing the cue binary into a box or onto a target:local dev host, or running the offline schema-vendoring pipeline that feeds charly's egress validation.
tools
CUE EGRESS validation — validating (and, where it adds value, generating) the config files charly WRITES to a system BEFORE the bytes hit disk. MUST be invoked before working on charly/egress.go, the vendored schemas under candy/plugin-egress/egress-schemas/vendor/, the ValidateEgress / registerVendoredEgressKind path, the offline `task cue:vendor` pipeline, or adding an egress schema for any written artifact (cloud-init, k8s manifests, traefik routes, runtime config, install ledger, systemd/quadlet units, ssh_config, libvirt XML).
tools
Kubernetes cluster-probe declarative check verb — the `kube:` check verb (nodes, pods, ingress, storage class, addon health, apply/delete, and arbitrary resource GETs) served out-of-process by the candy/plugin-kube plugin (vendored client-go; no external kubectl required).