Tmux Dev
БесплатноБез исполняемых скриптовНе проверенTmux-based dev.sh script conventions
от ThePrimeagen★ 239 звёзд на GitHubОб этом скилле
Tmux Dev Scripts
Rules
- Assign each long-running process (database, dev server, etc.) a dedicated high-numbered window (e.g. 8, 9) and kill any stale instance with
tmux kill-window -t "$SESSION:$WIN" 2>/dev/null || truebefore creating a new one.
- the highest number should be 9, so if there are 3 processes, 7, 8, and 9 should be the windows
- When a process must be healthy before the next step (e.g. Postgres before migrations), poll in a bounded loop (
for i in $(seq 1 N)) with asleepbetween attempts andexit 1on timeout — never assume instant readiness. - End every
tmux new-windowcommand string with; exec bashso the window stays open for inspection if the process exits.
Example 1: Full dev.sh with database + worker
#!/usr/bin/env bash
set -euo pipefail
DIR="$(cd "$(dirname "$0")" && pwd)"
SESSION="${TMUX_SESSION:-$(tmux display-message -p '#S')}"
PG_WIN="8"
DEV_WIN="9"
LOCAL_DB="postgresql://postgres:postgres@localhost:54321/myapp"
for win in "$PG_WIN" "$DEV_WIN"; do
tmux kill-window -t "$SESSION:$win" 2>/dev/null || true
done
tmux new-window -t "$SESSION:$PG_WIN" -n "postgres" -c "$DIR" "bun run db:local; exec bash"
echo "Waiting for postgres on port 54321..."
for i in $(seq 1 30); do
if DATABASE_URL="$LOCAL_DB" bun run db:migrate 2>/dev/null; then break; fi
if [ "$i" -eq 30 ]; then echo "Timed out waiting for postgres" >&2; exit 1; fi
sleep 1
done
echo "Migrations applied."
tmux new-window -t "$SESSION:$DEV_WIN" -n "dev" -c "$DIR" "bun run dev; exec bash"
Example 2: Adding a third window (e.g. frontend dev server)
UI_WIN="7"
tmux kill-window -t "$SESSION:$UI_WIN" 2>/dev/null || true
tmux new-window -t "$SESSION:$UI_WIN" -n "ui" -c "$DIR" "bun run dev:ui; exec bash"
Установить Tmux Dev в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл Tmux Dev?
Tmux-based dev.sh script conventions
Как установить скилл Tmux Dev?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Tmux Dev запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic