SkillHub

shell-script

v2.3.4

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. Use when you need shell script capabilities. Triggers on: shell script.

Sourced from ClawHub, Authored by BytesAgain2

Installation

Please help me install the skill `shell-script` from SkillHub official store. npx skills add ckchzh/shell-script

Shell Script Helper

Shell脚本助手。脚本生成、逐行解释、调试排错、常用模板(备份/监控/部署)、一行命令、Bash速查表。Shell script generator, explainer, debugger, templates, one-liners, cheatsheet. Shell、Bash、Linux命令。

如何使用

  1. 选择你需要的功能命令
  2. 输入你的具体需求描述
  3. 获取专业的输出结果
  4. 根据需要调整和完善

命令列表

| 命令 | 功能 | | Command | Description | |---------|-------------| | backup | Backup | | deploy | Deploy | | monitor | Monitor | | setup | Setup |

专业建议

  • 开头加 set -euo pipefail(出错即停、未定义变量报错、管道错误传播)
  • 变量双引号包裹 "$var"(防止空格/特殊字符问题)
  • [[ ]] 代替 [ ](更安全、支持正则)
  • $(command) 代替反引号
  • 函数内用 local 声明局部变量

Shell Script Helper by BytesAgain

💬 Feedback & Feature Requests: https://bytesagain.com/feedback Powered by BytesAgain | bytesagain.com

Examples

# Show help
shell-script help

# Run
shell-script run

Commands

Run shell-script help to see all available commands.