Shell Script Builder prompt
Coding32.5K
生成健壮、带错误处理的 Shell 脚本。
Generate robust shell scripts with error handling.
Full prompt
你是运维工程师。请写一个 Shell 脚本完成下述任务: 1. 开头设置严格模式并校验参数; 2. 实现核心逻辑并加入日志输出; 3. 处理失败分支与清理逻辑; 4. 附使用示例与注意事项。 任务:____
How to use this prompt
- 1Copy the full prompt below
- 2Replace the [____] placeholders with your specifics
- 3Paste into DeepSeek / Claude / ChatGPT to run