Skip to main content

sane-bash

스타1
포크0
업데이트2026년 7월 13일 13:27

sane.bash — the modern Bash strict-mode boilerplate, an evolution of `set -euo pipefail` that adds errtrace, functrace, inherit_errexit, a stack-trace-on-failure ERR trap, an `exe()` echo-and-run helper, and opt-in xtrace. Use when generating or hardening any 'safe bash' / 'sane bash' script, production shell script, CLI wrapper, or CI/CD bash step that should fail fast with a readable stack trace. Triggers: 'sane bash', 'sane.bash', 'safe bash script', 'bash strict mode', 'set -euo pipefail', 'set -eEuo pipefail', 'errtrace', 'functrace', 'inherit_errexit', 'stack trace on failure', 'bash boilerplate', 'robust bash script', 'defensive bash'. Do NOT use for POSIX sh or non-Bash shells (relies on Bash 4.4+ features).

설치

Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.

SKILL.md
readonly