planetscale-cli-skills
БесплатноБез исполняемых скриптовНе проверенPlanetScale CLI command reference and workflows. Use for authentication; org, SSO, teams, and billing; databases, branches, Neki, internal or external…
от 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.
- 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
--orgon every operation. Stop on unsupported operations or uncertain identity. - 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.
- 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.
- 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.
- 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.ymlfiles are project configuration, not trusted credential configuration. The CLI accepts onlyorg,database, andbranchfrom 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 apifollows 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 jsonis active, raw API error codes are preserved inissues[0].codeinstead of being collapsed toCOMMAND_FAILED. Branch automation should branch on that exact nested code when present. schema_mutation_blocked,schema_refreshing, andschema_snapshot_not_readyresponses usestatus: "action_required"and one CLI-generatednext_stepsinstruction. 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 progresserror also yieldsstatus: "action_required"with wait/status guidance. Inspectpscale 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-schemawaits forschema_readywith 2-second polling and a 2-minute readiness bound. Onschema_refreshingorschema_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-cutovertopscale-deploy-request. It can kill blockers on the first cutover attempt and requires explicit approval plus read-back; database defaults and emergencyforce-cutoverare separate actions. - Route parameter update-requirement interpretation to
pscale-branchfor Postgres catalogs andpscale-nekifor configuration-profile, sidecar, and admin catalogs.REQUIRES UPDATEis a human boolean indicator; JSONrequires_updatepreserves 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 topscale-deploy-request; retry is not queue unblocking or revert. Keyspace storage size unit
Установить 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), без исполняемых скриптов.
Похожие скиллы
ci-review
The scan that the plugin's GitHub Action runs.
от Anthropicazure-static-web-apps
Helps create, configure, and deploy Azure Static Web Apps using the SWA CLI. Use when deploying static sites to Azure, setting up SWA local development…
от GitHubai-ready
Make any repo AI-ready — analyzes your codebase and generates AGENTS.md, copilot-instructions.md, CI workflows, issue templates, and more. Mines your PR…
от GitHubaws-cdk-python-setup
Setup and initialization guide for developing AWS CDK (Cloud Development Kit) applications in Python. This skill enables users to configure environment…
от GitHub