CtrlK
BlogDocsLog inGet started
Tessl Logo

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.

65

Quality

77%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide

SecuritybySnyk

Passed

No findings from the security scan

Fix and improve this skill with Tessl

tessl review fix ./plugins/toolkit/skills/shell-script-development/SKILL.md
SKILL.md
Quality
Evals
Security

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

ElementConvention
Shebang#!/usr/bin/env bash
Safetyset -e -o pipefail
Local variablesLowercase (model, dir, count)
Environment variablesUppercase (PATH, HOME, USER)
Color variablesLowercase (green, red, nc)
Status wordsLowercase (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.

Repository
dwmkerr/claude-toolkit
Last updated
First committed

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.