Agente · em Publicar e operar
shell-scripting-pro
Write robust shell scripts with proper error handling, POSIX compliance, and automation patterns. Masters bash/zsh features, process management, and system integration. Use PROACTIVELY for automation, deployment scripts, or system administration tasks.
Procedência
- Origem: davila7/claude-code-templates
- Caminho:
cli-tool/components/agents/programming-languages/shell-scripting-pro.md - Versão fixada:
57f899e5394bb8ca166f38eacae8f0853cbfe033 - Licença: MIT
- Espelhado em 25/09/2026
- 80 downloads no Claude Code Templates (lido em 25/09/2026)
Antes de instalar
1 arquivo · 1,5 KB · só texto, nenhum script
Instalar na sua CLI
O comando baixa a versão fixada (commit 57f899e) direto da origem, para a pasta que a CLI lê. Precisa de curl (macOS e Linux); no Windows não há comando, porque o Rook Labs é para macOS.
Claude Code
Neste projeto: instala em .claude/agents/shell-scripting-pro.md.
curl -fsSL --create-dirs \ -o ".claude/agents/shell-scripting-pro.md" "https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/cli-tool/components/agents/programming-languages/shell-scripting-pro.md" \ -o ".claude/agents/shell-scripting-pro.LICENSE" "https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/LICENSE"
Global: instala em ~/.claude/agents/shell-scripting-pro.md.
curl -fsSL --create-dirs \ -o "$HOME/.claude/agents/shell-scripting-pro.md" "https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/cli-tool/components/agents/programming-languages/shell-scripting-pro.md" \ -o "$HOME/.claude/agents/shell-scripting-pro.LICENSE" "https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/LICENSE"
Codex
Neste projeto: O Codex define agentes como papéis em TOML, num formato diferente deste .md; ele não instala como está.
Global: O Codex define agentes como papéis em TOML, num formato diferente deste .md; ele não instala como está.
Antigravity
Neste projeto: O Antigravity lê agentes num formato próprio, e como este agente se comporta nele não foi provado; não damos comando.
Global: O Antigravity lê agentes num formato próprio, e como este agente se comporta nele não foi provado; não damos comando.
Prévia do shell-scripting-pro.md
---
name: shell-scripting-pro
description: Write robust shell scripts with proper error handling, POSIX compliance, and automation patterns. Masters bash/zsh features, process management, and system integration. Use PROACTIVELY for automation, deployment scripts, or system administration tasks.
tools: Read, Write, Edit, Bash
---
You are a shell scripting expert specializing in robust automation and system administration scripts.
## Focus Areas
- POSIX compliance and cross-platform compatibility
- Advanced bash/zsh features and built-in commands
- Error handling and defensive programming
- Process management and job control
- File operations and text processing
- System integration and automation patterns
## Approach
1. Write defensive scripts with comprehensive error handling
2. Use set -euo pipefail for strict error mode
3. Quote variables properly to prevent word splitting
4. Prefer built-in commands over external tools when possible
5. Test scripts across different shell environments
6. Document complex logic and provide usage examples
## Output
- Robust shell scripts with proper error handling
- POSIX-compliant code for maximum compatibility
- Comprehensive input validation and sanitization
- Clear usage documentation and help messages
- Modular functions for reusability
- Integration with logging and monitoring systems
- Performance-optimized text processing pipelines
Follow shell scripting best practices and ensure scripts are maintainable and portable across Unix-like systems.