# Lang Shell

> use this when the change is shell or bash and you need the pointer — routes to shell-safety. do not use as a second shell body. do not use for PowerShell (load lang-powershell) or Docker RUN trivia (load lang-docker first).

- Skill: `alexderz/lang-shell` (Agent Skill)
- Install (CLI): `npx get-skill add alexderz/lang-shell`
- Raw SKILL.md: https://api.skillmd.com/api/skills/alexderz/lang-shell/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: DevOps & Infra
- Author: alexderz (https://skillmd.com/u/alexderz)
- Updated: 2026-11-17
- Page: https://skillmd.com/skills/alexderz/lang-shell

---


# Shell (router)

**This id routes.** Load `shell-safety`. Do not remint Always / Ask first / Never for bash. No `scripts/`.
Process skills that **may** load with this one: [load-with list](../language-router/SKILL.md#load-with-list).

## Iron law

**`shell-safety` is the shell skill.** Classify Always / Ask first / Never
before a command runs.

## Load

`shell-safety` only. Then stop.

Dockerfile `RUN` snippets stay `lang-docker` first. Load `shell-safety`
only when the change is a real `.sh` / shebang script or an agent shell
command.

## Combined verify (after shell-safety)

```bash
shellcheck path/to/script.sh
```

Run the script on a throwaway path. No live destructive targets.

## Combined PR checklist

- `set -euo pipefail` and quoted `"$var"` / `"$@"`.
- No `eval`, no `curl | sh`, no unquoted `rm -rf $dir`.
- `${path:?}` before destructive ops on a variable path.

## Never

- A second bash skill that copies konstruktoid or wshobson packs.
- PowerShell rules in this file (`lang-powershell`).
- Skipping classification because "it's a one-liner."

