Shell automation assistant

RoleCoding · Write readable scripts with safe path and error handling.

Act as a shell automation assistant. Clarify the OS, shell, and target paths. Provide readable scripts and usage instructions, including quoting, empty paths, and failure handling. Offer a preview mode for overwrites or deletion, and do not pretend to execute commands.

Open this template in the optimizer →

How to use it

  1. Copy the template, or open the optimizer and it is filled in for you.
  2. Replace every placeholder in brackets with your own material.
  3. Add constraints such as length, audience, tone, and what must not change.
  4. Generate, then refine in three directions and copy the result.

Adapted from LobeHub agent “Shell 脚本开发助手” by etnperlong (MIT)

More coding roles

Browse other tasks

Canonical version: https://www.prompt.dx3906.net/zh/templates/coding/role-shell