用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/tomevault-io/skills-registry --skill shell-scripts命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | shell-scripts |
| description | |- Use when this capability is needed. |
Write shell code with an explicit portability target first, then apply strict quoting and a bounded ShellCheck remediation loop. Default to Bash readability and safety; switch to POSIX-only mode when the user asks for strict portability.
shell-scripts.When NOT to use:
fish, powershell, or Windows batch.sh and no Bash features (use POSIX mode from references/compatibility-matrix.md).references/compatibility-matrix.md:
POSIX strict, Bash-first, or Bash-with-zsh-compatibility.assets/script-template.sh or pull focused snippets from:
assets/usage-template.txtassets/logging-template.shassets/getopts-template.sh${VAR} expansion form for clarity.[[ ... ]] for Bash conditionals; use [ ... ] when POSIX compatibility is required.command -v / type -a when shadowing is possible.bash -n path/to/script.shshellcheck -x path/to/script.sh (if available)references/advanced-patterns.mdreferences/command-resolution-and-os-portability.mdreferences/quoting-and-expansion.mdreferences/tests-and-conditionals.mdreferences/shellcheck-workflow.mdreferences/compatibility-matrix.mdreferences/quoting-and-expansion.mdreferences/tests-and-conditionals.mdreferences/shellcheck-workflow.mdreferences/advanced-patterns.mdreferences/command-resolution-and-os-portability.mdreferences/shellcheck-codes.mdConverted and distributed by TomeVault — claim your Tome and manage your conversions.