zxjavascriptshell

Write better shell scripts in JavaScript using Google's zx. It provides a cross-platform child_process wrapper with argument escaping and sensible defaults, and allows access to the full npm ecosystem for automation tasks.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "zxjavascriptshell" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-8491b16d36a153ba7b2f3a1b3c6636bfa097cc200003fc4a430dd855012d3a91. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/zx-javascript-shell-script-runner before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Write better shell scripts in JavaScript using Google's zx. It provides a cross-platform child_process wrapper with argument escaping and sensible defaults, and allows access to the full npm ecosystem for automation tasks.

0 Downloads

Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Audience
Not specified in the source documentation.
Inputs and outputs
Not specified in the source documentation.
Software, accounts and paid services
Not specified in the source documentation.
Limits and differences
Not specified in the source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: "zx JavaScript Shell 脚本运行器"
slug: "zx-javascript-shell-script-runner"
version: "1.0.0"
displayName: "zx JavaScript Shell 脚本运行器"
summary: "使用 Google 的 zx 在 JavaScript 中编写更好的 shell 脚本。提供跨平台的 child_process 包装器,具有参数转义、合理的默认值,并可以访问完整的 npm 生态系统来进行自动化任务。"
license: "MIT"
description: "使用 Google 的 zx 在 JavaScript 中编写更好的 shell 脚本。提供跨平台的 child_process 包装器,具有参数转义、合理的默认值,并可以访问完整的 npm 生态系统来进行自动化任务。"
github_stars: 45324
verification: "security_reviewed"
source: "https://github.com/1991513ccie-png/skills"
category: "Developer Tools"
framework: "Claude Code"
tool_ecosystem:
  github_repo: "1991513ccie-png/skills"
  github_stars: 45324
  npm_package: "zx"
  npm_weekly_downloads: 1730472

zx JavaScript Shell 脚本运行器

Write better shell scripts in JavaScript using Google's zx. Provides cross-platform wrappers around child_process with argument escaping, sensible defaults, and access to the full npm ecosystem for automation tasks.

Installation

Use the upstream install or setup path that matches your environment:

  • npm install zx

Requirements and caveats from upstream:

  • JavaScript is a perfect choice, but the Node.js standard library
  • requires additional hassle before using. No compromise, take the best of both. The zx package provides
  • Node.js >= 12.17.0

Basic usage or getting-started notes:

Current listing version

1.0.0

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value75/100

Highlights

  • 提供跨平台的 shell 脚本编写能力,适用于开发者自动化任务
  • 使用 Google 的 zx 工具,具有参数转义和合理默认值
Trigger Precision85/100

Highlights

  • description 字段清晰描述了使用 zx 编写 shell 脚本的功能
Structure and Standards70/100

Areas to improve

  • 缺少详细步骤划分和端到端示例 Reported severity: Minor

    文档包含 Installation 和 Basic usage 部分,但缺少详细的步骤划分和端到端示例

    Recommendation: 建议添加详细的步骤划分和端到端示例,以帮助用户更好地理解和使用

Highlights

  • frontmatter 完整,包含必要的元数据
Execution Reliability65/100

Areas to improve

  • 未覆盖主要异常处理 Reported severity: Minor

    未覆盖主要异常处理,如安装失败或环境不兼容的情况

    Recommendation: 建议添加异常处理机制,如安装失败或环境不兼容的提示和处理方案

Highlights

  • 工具来源明确(Google 的 zx),参数正确
Evidence Verifiability (mean of the first four)74/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

  • Install or fetch external dependencies

    Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.

    Mentioned in main document · lines 28
  • Invoke commands or scripts

    Read the script and arguments first. Use ordinary privileges and a scoped directory; confirm installation or execution in your host tool.

    Mentioned in main document · lines 6, 8, 23
Domains or addresses referenced in the document

These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.

  • github.com
  • google.github.io
  • raw.githubusercontent.com

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Not specified in the source documentation.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.