·shell-scripting
</>

shell-scripting

ancoleman/ai-design-components

编写健壮、可移植的 shell 脚本,并进行适当的错误处理、参数解析和测试。在自动化系统任务、构建 CI/CD 脚本或创建容器入口点时使用。

13安装·0热度·@ancoleman

安装

$npx skills add https://github.com/ancoleman/ai-design-components --skill shell-scripting

SKILL.md

Provides patterns and best practices for writing maintainable shell scripts with error handling, argument parsing, and portability considerations. Covers POSIX sh vs Bash decision-making, parameter expansion, integration with common utilities (jq, yq, awk), and testing with ShellCheck and Bats.

For detailed comparison and testing strategies, see references/portability-guide.md.

Use for production automation, CI/CD scripts, and critical operations.

编写健壮、可移植的 shell 脚本,并进行适当的错误处理、参数解析和测试。在自动化系统任务、构建 CI/CD 脚本或创建容器入口点时使用。 来源:ancoleman/ai-design-components。

查看原文

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/ancoleman/ai-design-components --skill shell-scripting
分类
</>开发工具
认证
收录时间
2026-02-01
更新时间
2026-02-18

快速解答

什么是 shell-scripting?

编写健壮、可移植的 shell 脚本,并进行适当的错误处理、参数解析和测试。在自动化系统任务、构建 CI/CD 脚本或创建容器入口点时使用。 来源:ancoleman/ai-design-components。

如何安装 shell-scripting?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/ancoleman/ai-design-components --skill shell-scripting 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用

这个 Skill 的源码在哪?

https://github.com/ancoleman/ai-design-components