Command Palette

Search for a command to run...

Назад к скиллам
скилл № 30098

sippy-dev-setup

Set up the Sippy devcontainer (Podman, env, GCP auth)

БесплатноБез исполняемых скриптов
openshiftот openshift★ 36 звёзд на GitHub

Установить sippy-dev-setup в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

Sippy dev: devcontainer setup

Interactive setup for the Sippy devcontainer. Automates what can be detected, prompts for what can't.

Workflow

1. Detect OS

uname -s
  • Darwin = macOS
  • Linux = Linux

2. Check prerequisites

Verify each tool is installed. Report any that are missing and stop.

command -v podman
command -v devcontainer

If devcontainer is missing, tell the user: npm install -g @devcontainers/cli

3. macOS: Podman machine

If macOS, check if podman machine is running:

podman machine info

If not initialized or not running, run:

podman machine init   # only if no machine exists
podman machine start

4. Linux: Podman socket

If Linux, check if the socket is active:

systemctl --user is-active podman.socket

If not active, run:

systemctl --user enable --now podman.socket

Also check for podman-docker:

command -v docker

If missing, suggest installing podman-docker (dnf or apt depending on /etc/os-release).

5. Environment file

Check if .devcontainer/.env exists:

test -f .devcontainer/.env

If missing, copy from the example:

cp .devcontainer/.env.example .devcontainer/.env

Only check ANTHROPIC_VERTEX_PROJECT_ID when the user confirms they use Claude Code through Vertex AI. For those users, check whether the key is present and non-empty without reading or printing its value:

grep -Eq '^ANTHROPIC_VERTEX_PROJECT_ID=.+$' .devcontainer/.env

If the check fails, tell them to edit .devcontainer/.env themselves and wait for confirmation. Do not ask for the value directly, read the value, print the value, or write to the file yourself. Do not require or block on this value for other users.

The example file enables CLAUDE_CODE_USE_VERTEX=1, which makes Claude Code use Vertex AI instead of the Anthropic API. For users who do not use Vertex AI, check whether it is still enabled:

grep -Eq '^CLAUDE_CODE_USE_VERTEX=1$' .devcontainer/.env

If it is, tell them to remove that line (or comment it out) in .devcontainer/.env and wait for confirmation.

6. Start the container

Determine the right command based on OS:

  • macOS: devcontainer up --workspace-folder . --docker-path podman
  • Linux (with podman-docker): devcontainer up --workspace-folder .
  • Linux (without podman-docker): devcontainer up --workspace-folder . --docker-path podman

Run it. This triggers init-services.sh (PostgreSQL + Redis) and post-create.sh (Go tools, npm, MCP venv).

7. GCP authentication

GCP credentials are mounted from the host's ~/.config/gcloud directory. If the user hasn't authenticated on the host yet, tell them to run on the host (not inside the container):

gcloud auth application-default login

The credentials will be available inside the container automatically after restart.

8. Summary

Print a summary of what was set up:

  • Container status
  • PostgreSQL: localhost:5432 (databases: postgres for seed data, prodlike for prod-like data)
  • Data mode: SIPPY_DATA_MODE (default: seed; set to prod-like for BigQuery-backed operation)
  • Redis: localhost:6379
  • API server: localhost:8080 (start with /sippy-dev-serve)
  • React dev server: localhost:3000 (start with /sippy-dev-frontend)
  • GCP auth status
Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл sippy-dev-setup?

Set up the Sippy devcontainer (Podman, env, GCP auth)

Как установить скилл sippy-dev-setup?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл sippy-dev-setup запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить sippy-dev-setup с