Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

planetscale-cli-skills

БесплатноБез исполняемых скриптовНе проверен

PlanetScale CLI command reference and workflows. Use for authentication; org, SSO, teams, and billing; databases, branches, Neki, internal or external…

vince-winkintelот vince-winkintel4 422 установки в других каталогах

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

PlanetScale CLI Skills

Comprehensive pscale command reference and workflows for managing PlanetScale databases via terminal.

Destructive-operation safety

These gates apply to every destructive example here, including deletion, demotion, protection removal, connection/transaction termination, deploy-request closure/revert, and cleanup. Command examples and CLI confirmation prompts are not authorization.

  1. Inspect fresh state and confirm support for the target engine and installed CLI. Obtain explicit approval for the exact organization and, where applicable, database, branch, and resource ID/name, plus the operation and flags; use an explicit --org on every operation. Stop on unsupported operations or uncertain identity.
  2. Check dependencies and availability: applications, active users, child resources, routing, pending changes, and the maintenance window. Do not infer that a stale, merged, or unused-looking resource is disposable.
  3. Require a verified recovery path that survives the operation: confirm backup/export usability and retention, or tested replacement/recreation instructions, ownership, and recovery time. A backup name alone is not verification; stop if recovery cannot be established.
  4. Execute only the approved action. Force flags, descendant deletion, demotion, and disabling protection require separate explicit approval; never add them to work around a refusal. For a known headless session, obtain approval for the required force flag up front, before attempting the operation; stop if that approval is absent or any attempt is refused.
  5. Perform read-back verification of the exact target and dependent service health. Inspect pending/asynchronous outcomes before claiming completion. Authentication/network errors are not proof of absence; an ambiguous result requires investigation, not an automatic retry.

Overview

The PlanetScale CLI brings database branches, deploy requests, and schema migrations to your fingertips. This skill provides command references, automation scripts, and decision trees for the covered pscale workflows. Confirm installed-command and engine support before acting.

Configuration and credential safety

  • Directory-local .pscale.yml files are project configuration, not trusted credential configuration. The CLI accepts only org, database, and branch from them and warns while ignoring keys such as API endpoints or tokens.
  • Keep API URLs and credentials in the user config, environment/secret manager, or explicit approved flags. Never commit them to a repository-local config.
  • pscale api follows cross-host redirects without forwarding authentication or caller-supplied headers. Even with this protection, pass secret-bearing headers only to an explicitly verified API host and do not expose them in logs.
  • When --format json is active, raw API error codes are preserved in issues[0].code instead of being collapsed to COMMAND_FAILED. Branch automation should branch on that exact nested code when present.
  • schema_mutation_blocked, schema_refreshing, and schema_snapshot_not_ready responses use status: "action_required" and one CLI-generated next_steps instruction. Treat them as retryable waits, not hard failures or permission to retry blindly: wait for the active vtctld mutation or deploy to finish, or for the branch schema snapshot to become ready, then re-read state before retrying.
  • A Postgres resize in progress error also yields status: "action_required" with wait/status guidance. Inspect pscale branch resize status, wait for the existing change to finish, and re-read the intended state before retrying; do not re-authenticate or cancel another operator's change as a shortcut.
  • Route MySQL/Vitess schema snapshot refresh/readiness to pscale-branch: refresh-schema waits for schema_ready with 2-second polling and a 2-minute readiness bound. On schema_refreshing or schema_snapshot_not_ready, read back readiness before retrying the follow-up reader; preserve poll failures rather than treating every error as a snapshot timeout.
  • Route single-request create/update --aggressive-cutover to pscale-deploy-request. It can kill blockers on the first cutover attempt and requires explicit approval plus read-back; database defaults and emergency force-cutover are separate actions.
  • Route parameter update-requirement interpretation to pscale-branch for Postgres catalogs and pscale-neki for configuration-profile, sidecar, and admin catalogs. REQUIRES UPDATE is a human boolean indicator; JSON requires_update preserves a nullable string. Inspect non-null requirements before proposing writes; they do not authorize automatic maintenance or capacity changes.
  • Route Postgres branch extension enable/disable and Vitess VTGate parameter/update/change-rollout work to pscale-branch. Route approved failed deploy-operation retries to pscale-deploy-request; retry is not queue unblocking or revert. Keyspace storage size unit
Полный SKILL.md на ClawHub

Установить planetscale-cli-skills в Claude Code и Claude Desktop

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

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

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

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

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

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

FAQ

Что делает скилл planetscale-cli-skills?

PlanetScale CLI command reference and workflows. Use for authentication; org, SSO, teams, and billing; databases, branches, Neki, internal or external keyspaces, keyspace parameters, logs, maintenance, extensions, metrics, insights, inspect, and SQL; deploy requests, schema migrations, MoveTables, throttlers, rollout concurrency, disk-storage settings, and Traffic Control; PgBouncers, dedicated read replicas, roles, passwords, backups, webhooks, audit logs, service tokens, D1 imports, and automation. Routes to focused pscale sub-skills. Triggers on PlanetScale CLI, pscale, pscale --skill, database, branch, Neki, Neki read-only replicas, --read-only-replicas, keyspace, keyspace parameters, create-external, external keyspace, deploy request, move-tables, vtctl, vtctld, max rollout, disk scaling, max storage, throttler, traffic-control, metrics, insights, inspect, SQL, role, password, pgbouncer, dedicated read replica, read-only replica, backup, webhook, audit-log, billing, org, SSO, service token, import d1.

Как установить скилл planetscale-cli-skills?

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

Скилл planetscale-cli-skills запускает скрипты?

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

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

Сравнить planetscale-cli-skills с