What this agent helps you do
A PlanetScale and GitHub schema change review agent inspects database and application changes together. PlanetScale supplies database branch, schema, deployment, and Insights context, while GitHub supplies the pull request, diff, comments, checks, tests, and linked issues.
When to use this workflow
Use it for schema migrations, high-traffic table changes, database branch reviews, release hardening, or application PRs that depend on database changes.
How PlanetScale and GitHub give the agent context
Connect both plugins and provide the database branch plus the pull request or release branch. PlanetScale should show database risk; GitHub should show how the application will exercise that change. The agent should not deploy or merge without explicit approval.
Example starter prompt
Review this PlanetScale branch against the related GitHub pull request. Prepare a schema risk brief with application impact, test coverage, rollout plan, rollback considerations, and approval-required actions.
Suggested workflow steps
Start with schema differences and branch state in PlanetScale. Have the agent compare those changes with GitHub code paths, tests, feature flags, and review comments, then identify breaking changes and validation gaps.
Expected handoff
Ask for breaking change risks, application impact, query or performance concerns, test coverage, rollout plan, rollback considerations, and approval-required actions.