# 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.

- **Type:** Skill
- **Install:** `agentstack add skill-dwmkerr-claude-toolkit-shell-script-development`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [dwmkerr](https://agentstack.voostack.com/s/dwmkerr)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [dwmkerr](https://github.com/dwmkerr)
- **Source:** https://github.com/dwmkerr/claude-toolkit/tree/main/plugins/toolkit/skills/shell-script-development
- **Website:** https://www.skills.sh/dwmkerr/claude-toolkit

## Install

```sh
agentstack add skill-dwmkerr-claude-toolkit-shell-script-development
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Shell Script Development

Create shell scripts following consistent conventions.

## Template

```bash
#!/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

```bash
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.

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [dwmkerr](https://github.com/dwmkerr)
- **Source:** [dwmkerr/claude-toolkit](https://github.com/dwmkerr/claude-toolkit)
- **License:** MIT
- **Homepage:** https://www.skills.sh/dwmkerr/claude-toolkit

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-dwmkerr-claude-toolkit-shell-script-development
- Seller: https://agentstack.voostack.com/s/dwmkerr
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
