zsh

star 5

Apply Zsh shell scripting conventions for error safety and logging. Use when authoring, modifying, or reviewing Zsh scripts, including mise file tasks and bootstrap scripts.

minusfive By minusfive schedule Updated 6/9/2026

name: zsh description: Apply Zsh shell scripting conventions for error safety and logging. Use when authoring, modifying, or reviewing Zsh scripts, including mise file tasks and bootstrap scripts.

Zsh Scripting Conventions

Error Safety

  • Use set -euo pipefail at the top of every Zsh script to fail fast on errors, undefined variables, and broken pipes.

Logging

  • Use consistent logging functions across scripts in the same project; detect and reuse existing helpers before introducing new ones.

File Naming

  • Use .zsh for Zsh scripts, including Zsh-based mise file tasks.

Cross-references

  • For broader script-authoring guidance (project pattern detection, environment configuration, testing, integration) see the scripts skill.
  • For mise-specific task authoring (file tasks, TOML tasks, usage directives) see the mise-tasks skill.
Install via CLI
npx skills add https://github.com/minusfive/dot --skill zsh
Repository Details
star Stars 5
call_split Forks 0
navigation Branch main
article Path SKILL.md
More from Creator