1. Habit
  2. Skills
  3. PlanetScale Postgres Safety Review skill
planetscale · 2K installs

PlanetScale Postgres Safety Review skill
Runs by itself, monthly safety review.

Postgres safety gaps found, nothing changed.

Install the PlanetScale Postgres Safety Review skill and make it a habit: follow https://gethabit.dev/skills/planetscale/planetscale-postgres-safety-review.md

  1. 1Copy
  2. 2Paste into Claude Code, Codex or Cursor
  3. 3It runs by itself

2K installs135 starsMIT licenceSource on GitHub ↗

PlanetScale Postgres Safety Review

by planetscale · 2K installs

The skill

Planetscale postgres safety review is a skill for database owners that reviews PlanetScale Postgres roles, pg_strict, Traffic Control, query tags, backups and PITR, network posture and webhooks, without applying changes.

Only when you ask.

The habit

Postgres safety gaps found, nothing changed.

↻ Runs by itselfmonthly safety review

How the habit works.
You don't have to.

Three questionsWhen does it start? How does it check its work? What does it remember?

One run, step by step.
Then it stops.

Stop ruleStops after one database per run; no changes applied.

  1. 01

    Check branches

    Check for a test branch, tested migrations and a documented rollback path.

  2. 02

    Check roles

    Flag use of the default role and check pg_strict on application roles.

  3. 03

    Review Insights

    Review slow, high-CPU, erroring queries, anomalies and the effective raw query setting.

  4. 04

    Check tags and budgets

    Check SQLCommenter tags and recommend Traffic Control budgets in warn mode.

  5. 05

    Check recovery and network

    Check backups, PITR, restore drills, pooling, private connectivity and IP restrictions.

  6. 06

    Check extensions and webhooks

    Review safety extensions and recommend webhooks such as branch.anomaly.

  7. 07

    Report

    List proposed changes needing approval and end with the no-changes line.

What it may do.
Nothing more.

Safe by defaultIt writes only in its own folder and asks you before anything goes out.

Is it for you?
Use it when it fits.

Quick checkRead both lists. If the left one sounds like you, the PlanetScale Postgres Safety Review skill helps.

Use it when

  • ✓ You audit a PlanetScale Postgres database
  • ✓ Agents query your production database
  • ✓ You plan backups and restore drills

Skip it when

  • – You use PlanetScale Vitess
  • – You want changes applied directly

Questions

PlanetScale Postgres Safety Review skill, answered.

Will it enable pg_strict?

No. The skill says it can block queries, so it needs approval first.

Does private connectivity block public access?

No. The skill says IP restrictions are still needed.

How do I install the PlanetScale Postgres Safety Review skill?

Copy the prompt at the top into your agent. It installs the skill from planetscale/skills and sets up the habit. Or run npx skills add planetscale/skills --skill planetscale-postgres-safety-review.

Is the PlanetScale Postgres Safety Review skill free?

Yes. It is published under MIT. Habit is free too.

PlanetScale Postgres Safety Review. Now as a habit.

Install the PlanetScale Postgres Safety Review skill and make it a habit: follow https://gethabit.dev/skills/planetscale/planetscale-postgres-safety-review.md

  • Free
  • No account
  • Undo in one line

All planetscale skills →More ops skills →

Works in

  • Claude Code
  • Codex
  • Cursor
  • ChatGPT
  • Claude app

Made by planetscale, published under MIT. Habit links to the original and never changes it. Is this your skill?

Copying didn't work here. Select the line and copy it by hand.