planetscale-safe-orchestrator
БесплатноБез исполняемых скриптовНе проверенMaster skill that runs the full PlanetScale safe best-practices assessment — inventory, engine review, Insights, Traffic Control, webhooks, schema…
от planetscale★ 137 звёзд на GitHubОб этом скилле
PlanetScale safe orchestrator (master skill)
Purpose
Run the complete PlanetScale safe best-practices skill pack end to end. Load and execute each sub-skill in order, accumulate evidence, and produce one unified recommendations report. The first pass is assessment-only.
Non-negotiable safety contract
Default to read-only.
You may inspect configuration, branches, query telemetry, recommendations, webhooks, roles, backups, traffic budgets, and repository code. You must not mutate PlanetScale, the database, the repository, the network posture, credentials, schema, production traffic controls, or automation endpoints without explicit approval of a named change set.
Class C/D/E mutations require approval per ../planetscale-change-gates-and-approval-contract/SKILL.md. When in doubt, stop and add to the proposed change set instead of executing.
One exception exists: if the operator explicitly acknowledges the risk and names a scope per ../planetscale-autonomous-execution-mode/SKILL.md, execution proceeds autonomously under that skill's status and halt discipline instead of stopping for per-change approval. The assessment phases below are identical either way.
Sub-skills are sibling folders next to this skill, referenced by relative path; if a referenced path does not exist, locate the sibling skill whose frontmatter name matches and use it instead.
Ground all CLI and API usage in the official documentation rather than guessing: the docs index is at https://planetscale.com/docs/llms.txt (append .md to any docs URL for the markdown version) and the API reference is https://planetscale.com/docs/openapi.yaml. When a command or endpoint fails, check the docs for the correct form before recording an evidence gap. Tooling and access failures belong in the internal run log, never in the customer report.
Before you start
Read this file completely.
Copy the progress checklist below into your working notes and update it as you go.
Collect inputs (ask or infer from
AGENTS.md, MCP context, environment, repository):- Organization slug
- Database name
- Branch name
- Engine: PlanetScale Vitess or PlanetScale Postgres
- Production branch or branches
- Connected application repository path, if available
- Application language, framework, ORM, query builder, connection pooling
- Operator tolerance: report-only, PR-generation, branch-only migrations, or supervised production apply
If inputs are missing, continue with discovery. Do not block on completeness.
Progress checklist
Copy and track:
Master assessment progress:
- [ ] Phase 0: Safety contract loaded
- [ ] Phase 1: Read-only inventory
- [ ] Phase 2: Engine safety review (Vitess OR Postgres)
- [ ] Phase 3: Query Insights and tags
- [ ] Phase 4: Traffic Control (Postgres only — skip for Vitess)
- [ ] Phase 5: Webhook automation
- [ ] Phase 6: Schema recommendations agent loop
- [ ] Phase 7: Codebase SQLCommenter instrumentation
- [ ] Phase 8: MCP agent operating model
- [ ] Phase 9: Best-practices matrix coverage check
- [ ] Phase 10: Unified customer report
- [ ] Phase 11: Change gates verified — stop, no mutations
Interface preference order
- PlanetScale MCP insights-only server — autonomous analysis without query execution
- Full PlanetScale MCP with read-only scope — schema or limited read queries
pscaleCLI andpscale api— structured inventory and exact API state- Repository inspection — codebase analysis and instrumentation recommendations
- Direct SQL — read-only introspection only when operator grants database read access
The operator's stated interface constraint overrides this order. If the run is restricted to specific interfaces (for example CLI-only), use those interfaces; this is not a conflict and needs no workaround or note in the customer report beyond the Scope section's interfaces line.
Execution plan
For each phase: read the skill file, follow its instructions, capture its required output, and carry findings forward. Do not skip phases unless the checklist says to skip.
Phase 0 — Safety contract
Read: ../planetscale-change-gates-and-approval-contract/SKILL.md
Internalize operation classes A–E. All later phases operate under Class A unless the operator explicitly approves a named change.
Phase 1 — Read-only inventory
Read and execute: ../planetscale-readonly-inventory/SKILL.md
Deliverables to carry forward:
- Inventory table with evidence (source, path/command, timestamp, confidence)
- Missing evidence table
- Risk flags
- Confirmed engine (Vitess or Postgres)
- Branch topology and production branch
If engine is still unknown after inventory, determine it before Phase 2.
Phase 2 — Engine safety review
Run exactly one:
| Engine | Skill file |
|---|---|
| Vitess | ../planetscale-vitess-safety-review/SKILL.md |
| Postgres | ../planetscale-postgres-safety-review/SKILL.md |
Deliverables: engine-specific safety g
Установить planetscale-safe-orchestrator в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл planetscale-safe-orchestrator?
Master skill that runs the full PlanetScale safe best-practices assessment — inventory, engine review, Insights, Traffic Control, webhooks, schema recommendations, codebase instrumentation, and agent operating model — then produces a unified recommendations report. Never applies changes without explicit approval. Use when the user asks to run the full assessment, all skills, or PlanetScale best-practices review.
Как установить скилл planetscale-safe-orchestrator?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл planetscale-safe-orchestrator запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic