一键导入
npm-run-all2-skilld
ALWAYS use when writing code importing "npm-run-all2". Consult for debugging, best practices, or modifying npm-run-all2, npm run all2.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
ALWAYS use when writing code importing "npm-run-all2". Consult for debugging, best practices, or modifying npm-run-all2, npm run all2.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
ALWAYS use when writing code importing "ctx7". Consult for debugging, best practices, or modifying ctx7, context7.
ALWAYS use when writing code importing "daisyui". Consult for debugging, best practices, or modifying daisyui.
ALWAYS use when writing code importing "@storybloq/storybloq". Consult for debugging, best practices, or modifying @storybloq/storybloq, storybloq/storybloq, storybloq storybloq, storybloq.
Use this skill to generate well-branded interfaces and assets for syn.horse — a fictional cyberpunk/glitch-vaporwave shitpost-friendly product. Contains essential design guidelines, colors, type, fonts, assets, and UI kit components for prototyping.
ALWAYS use when writing code importing "@anthropic-ai/claude-code". Consult for debugging, best practices, or modifying @anthropic-ai/claude-code, anthropic-ai/claude-code, anthropic-ai claude-code, anthropic ai claude code, claude-code-2.1.88, claude code 2.1.88.
ALWAYS use when writing code importing "@nuxtjs/seo". Consult for debugging, best practices, or modifying @nuxtjs/seo, nuxtjs/seo, nuxtjs seo, nuxt-seo, nuxt seo.
| name | npm-run-all2-skilld |
| description | ALWAYS use when writing code importing "npm-run-all2". Consult for debugging, best practices, or modifying npm-run-all2, npm run all2. |
| metadata | {"version":"9.0.2","generated_by":"Anthropic · Haiku 4.5","generated_at":"2026-06-13T00:00:00.000Z"} |
npm-run-all2@9.0.2Tags: beta: 8.1.0-beta.0, latest: 9.0.2
References: package.json • README • Docs • Issues • Releases
Use skilld search "query" -p npm-run-all2 instead of grepping .skilld/ directories. Run skilld search --guide -p npm-run-all2 for full syntax, filters, and operators.
This section documents version-specific API changes — prioritise recent major/minor releases.
BREAKING: ESM only — v9.0.0 no longer exports CJS; use import npmRunAll from "npm-run-all2" instead of require() source
BREAKING: Node engine requirements — v9.0.0 requires ^22.22.2 || ^24.15.0 || >=26.0.0 (raised from >=20 in v8.0.0) source
BREAKING: Glob pattern matching — empty glob patterns now succeed silently instead of throwing an error; unmatched patterns no longer cause exit code non-zero source
NEW: --node-run CLI flag / nodeRun option — v9.0.0 added support for node --run mode to bypass the package manager; faster execution but omits pre/post lifecycle hooks and npm environment variables source
NEW: colorMode option — v9.0.0 added colorMode option to override terminal colour palette detection; accepts "auto" (default, detect from stream), "none" (disable), "16" (force 16-colour palette), or "256" (force 256-colour palette) source
Also changed: packageConfig now a proper typed option · maxParallel type enforcement improved · Published types with tsc validation
Use the --node-run flag or set nodeRun: true in package.json to leverage Node's native node --run command — this bypasses the package manager entirely for faster execution (available since v9.0.0 for Node >= 22.3.0) source
Set --max-parallel in CI environments to limit resource consumption, preventing resource exhaustion on systems with constrained CPU or memory — especially useful in CI/CD pipelines where you need explicit parallelism control source
Use --aggregate-output in parallel mode to prevent interleaved log output from multiple concurrent tasks, improving readability when task output matters (though some tools stop coloring when stdout is piped) source
When using glob patterns with run-s, scripts execute in the order they appear in package.json due to ECMAScript specification guarantees; this is predictable only if your build tool doesn't alphabetically reorder the scripts file source
Prefix script names with numbers (e.g., build:1:html, build:2:js) instead of relying on glob patterns when deterministic execution order is critical and your toolchain may rewrite package.json alphabetically source
Use --continue-on-error to allow subsequent tasks to run even when one task exits with a non-zero code — the process still exits with non-zero if any task failed, but you get complete results instead of early termination source
Combine --print-label and --print-name for parallel execution to keep task output clearly identified with source task names, though note that some tools (like chalk-based colorizers) stop applying colour when stdout is piped; use FORCE_COLOR=1 if needed source
Leverage argument placeholders ({1}, {2}, {@}, {*}, {%}) with suffix defaults ({1-=fallback}, {1:=sticky}) to pass dynamic arguments through glob patterns — this is more flexible than explicit script names when building parameterized task pipelines source
Use the race flag with --parallel to terminate all tasks immediately when the first one succeeds with exit code zero — useful for competitive tasks like "watch for changes OR serve dev server" where you want the fastest to win source
Configure nodeRun in package.json under "npm-run-all2": { "nodeRun": true } to enable node --run globally for all commands without requiring the CLI flag on every invocation source
Empty glob patterns now succeed silently instead of throwing errors (breaking change in v9.0.0) — if you depend on error detection for missing scripts, use explicit script names instead of wildcards or implement your own validation source
Pass explicit task lists via the Node API's taskList option to avoid redundant package.json reads when you're building tooling that manages its own script discovery — this optimizes performance for wrapper commands source
Configure colorMode intelligently using "256" for modern terminals and "none" for CI logs to preserve clean output; the default "auto" detection works well but explicit control prevents colour artefacts in piped output source
Use stdin, stdout, and stderr options in the Node API to integrate npm-run-all into larger process pipelines, but configure emitter.setMaxListeners(n) appropriately when streaming to multiple child processes to avoid MaxListenersExceededWarning source