Script is an AI agent skill from the GitHub repository SDiamante13/dotfiles. Apply Steven's Bash script style rules: strict mode, minimal validation, concise logic, executable scripts, and no unnecessary comments or echoes. Use when creating, reviewing, or refactoring shell scripts.
Claude Code: save it as .claude/skills/script/SKILL.md
Cursor: save it as .cursor/rules/script.md
Codex: save it as .agents/skills/script/SKILL.md
ChatGPT, Gemini and other assistants: paste it into custom or project instructions
Skill file
STARTER_CHARACTER = 💻
Use #!/usr/bin/env bash as shebang.
Always use set -euo pipefail for safety and debugging.
Keep scripts minimal: no unnecessary comments or echoes.
Only do minimal input validation; print a usage message to stderr and exit if inputs are missing or invalid.
Do not check for installed commands if failure will be obvious on use.
Make script executable: chmod +x <script>.
Prefer concise, direct logic over verbosity.
Use this skill with your AI agent:Open on Skill Issue to copy, download, or add to your library.
Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.