smithery.ai

shell-script-development

This skill should be used when the user asks to "create a bash script", "write a shell script", or mentions shell scripting conventions.

First seen Apr 28, 2026

Installation

$ npx skills add https://smithery.ai

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery.ai · top by installs.

npx skills add https://smithery.ai

Browse all from smithery.ai

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,294 B
  • docs SUMMARY.md 168 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 1 installs

SKILL.md

Shell Script Development

Create shell scripts following consistent conventions.

Template

#!/usr/bin/env bash

set -e -o pipefail

# Colors
green='\033[0;32m'
red='\033[0;31m'
yellow='\033[1;33m'
blue='\033[0;34m'
nc='\033[0m'

# Script logic here

echo -e "${green}✔${nc} completed successfully"

Conventions

Element Convention
Shebang #!/usr/bin/env bash
Safety set -e -o pipefail
Local variables Lowercase (model, dir, count)
Environment variables Uppercase (PATH, HOME, USER)
Color variables Lowercase (green, red, nc)
Status words Lowercase (error, warning, note)

Status Output Patterns

echo -e "${green}✔${nc} task completed"           # success
echo -e "${red}error${nc}: something failed"      # error
echo -e "${yellow}warning${nc}: something to note" # warning
echo -e "${blue}info${nc}: informational message"  # info

Important

After creating or modifying shell scripts, inform the user:

Make executable. Run chmod +x script.sh before use.