Skip to main content
在 Manus 中运行任何 Skill
一键导入

bash-scripting

星标3
分支0
更新时间2026年6月27日 21:20

Expert guidance for writing, hardening, debugging, and reviewing Bash and POSIX shell scripts. Use whenever the user writes, edits, refactors, or pastes a .sh / .bash file or shell snippet; asks for a script, automation, wrapper, installer, backup, deploy, cron, CI/CD, or system-admin script; mentions shebang, set -euo pipefail, strict mode, ShellCheck (SC2086 etc.), shfmt, Bats, trap, getopts, IFS, here-doc, subshell, command substitution, exit codes, quoting, globbing, arrays, or parameter expansion; reports a shell script that fails, hangs, mis-parses arguments, breaks on spaces/special characters, or behaves differently on macOS vs Linux; or asks "why does my bash script…" or "is this shell script safe/portable". Trigger even when the user does not say the word "bash" but is clearly authoring or fixing shell code. Prefer this over generic answers for any non-trivial shell work.

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

文件资源管理器
13 个文件
SKILL.md
readonly