postgresql-planning
Skill1.4k starsChanged 38 days agoMITView on GitHub
Plan and implement OpenMeld PostgreSQL business persistence, schemas and migrations, transactions, Hyperdrive access, and data cutover. Use for the shared relational database transition or PostgreSQL work; not for unrelated D1 performance fixes or OpenConnector's upstream database.
1 other project uses a version of this.
Trending
More talk lately.about the whole repository
Most recently taken up by
- amplifthq/opentagword for word, first seen Oct 25, 2026
Who's talking about amplifthq/openmeld
- sudosubin/agents.nix“agent-skills.github.amplifthq.openmeld: 0.3.294 → 0.3.295”GitHub · Nov 13, 2026
- sudosubin/agents.nix“agent-skills.github.amplifthq.openmeld: 0.3.293 → 0.3.294”GitHub · Nov 12, 2026
- sudosubin/agents.nix“agent-skills.github.amplifthq.openmeld: 0.3.291 → 0.3.293”GitHub · Nov 11, 2026
- sudosubin/agents.nix“agent-skills.github.amplifthq.openmeld: 0.3.290 → 0.3.291”GitHub · Nov 6, 2026
- sudosubin/agents.nix“agent-skills.github.amplifthq.openmeld: 0.3.288 → 0.3.290”GitHub · Nov 3, 2026
The biggest 5 of 31 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 31
Talked about on GitHub (31 times).
On GitHub · 31
- Nov 13, 2026agent-skills.github.amplifthq.openmeld: 0.3.294 → 0.3.295 — sudosubin/agents.nix0 reactions
- Nov 12, 2026agent-skills.github.amplifthq.openmeld: 0.3.293 → 0.3.294 — sudosubin/agents.nix0 reactions
- Nov 11, 2026agent-skills.github.amplifthq.openmeld: 0.3.291 → 0.3.293 — sudosubin/agents.nix0 reactions
- Nov 6, 2026agent-skills.github.amplifthq.openmeld: 0.3.290 → 0.3.291 — sudosubin/agents.nix0 reactions
- Nov 3, 2026agent-skills.github.amplifthq.openmeld: 0.3.288 → 0.3.290 — sudosubin/agents.nix0 reactions
26 more on GitHub
- Nov 2, 2026agent-skills.github.amplifthq.openmeld: 0.3.284 → 0.3.288 — sudosubin/agents.nix0 reactions
- Nov 1, 2026agent-skills.github.amplifthq.openmeld: 0.3.281 → 0.3.284 — sudosubin/agents.nix0 reactions
- Oct 29, 2026agent-skills.github.amplifthq.openmeld: 0.3.279 → 0.3.281 — sudosubin/agents.nix0 reactions
- Oct 29, 2026agent-skills.github.amplifthq.openmeld: 0.3.278 → 0.3.279 — sudosubin/agents.nix0 reactions
- Oct 28, 2026agent-skills.github.amplifthq.openmeld: 0.3.276 → 0.3.278 — sudosubin/agents.nix0 reactions
- Oct 28, 2026agent-skills.github.amplifthq.openmeld: 0.3.274 → 0.3.276 — sudosubin/agents.nix0 reactions
- Oct 28, 2026agent-skills.github.amplifthq.openmeld: 0.3.273 → 0.3.274 — sudosubin/agents.nix0 reactions
- Oct 26, 2026agent-skills.github.amplifthq.openmeld: 0.3.272 → 0.3.273 — sudosubin/agents.nix0 reactions
- Oct 23, 2026agent-skills.github.amplifthq.openmeld: 0.3.271 → 0.3.272 — sudosubin/agents.nix0 reactions
- Oct 22, 2026agent-skills.github.amplifthq.openmeld: 0.3.270 → 0.3.271 — sudosubin/agents.nix0 reactions
- Oct 22, 2026agent-skills.github.amplifthq.openmeld: 0.3.267 → 0.3.270 — sudosubin/agents.nix0 reactions
- Oct 21, 2026agent-skills.github.amplifthq.openmeld: 0.3.264 → 0.3.267 — sudosubin/agents.nix0 reactions
- Oct 17, 2026[Candidate] amplifthq/openmeld/release/openmeld-cli-skill - openmeld-cli — ProSkillsMD/proskills0 reactions · 1 comment
- Oct 16, 2026agent-skills.github.amplifthq.openmeld: 0.3.263 → 0.3.264 — sudosubin/agents.nix0 reactions
- Oct 16, 2026[Candidate] amplifthq/openmeld/.claude/skills/release-runbook - release-runbook — ProSkillsMD/proskills0 reactions · 1 comment
- Oct 16, 2026[Candidate] amplifthq/openmeld/.claude/skills/openmeld-changelog - openmeld-changelog — ProSkillsMD/proskills0 reactions · 1 comment
- Oct 16, 2026[Candidate] amplifthq/openmeld/.claude/skills/docs-lifecycle-scan - docs-lifecycle-scan — ProSkillsMD/proskills0 reactions · 1 comment
- Oct 16, 2026agent-skills.github.amplifthq.openmeld: init at 0.3.263 — sudosubin/agents.nix0 reactions
- Oct 15, 2026[Candidate] amplifthq/openmeld/.agents/skills/writing-tests - writing-tests — ProSkillsMD/proskills0 reactions · 1 comment
- Oct 15, 2026[Candidate] amplifthq/openmeld/.agents/skills/react-doctor - react-doctor — ProSkillsMD/proskills0 reactions · 1 comment
- Oct 15, 2026[Candidate] amplifthq/openmeld/.agents/skills/postgresql-planning - postgresql-planning — ProSkillsMD/proskills0 reactions · 1 comment
- Oct 15, 2026[Candidate] amplifthq/openmeld/.agents/skills/openmeld-changelog - openmeld-changelog — ProSkillsMD/proskills0 reactions · 1 comment
- Oct 15, 2026[Candidate] amplifthq/openmeld/.agents/skills/fixing-flaky-tests - fixing-flaky-tests — ProSkillsMD/proskills0 reactions · 1 comment
- Oct 15, 2026[Candidate] amplifthq/openmeld/.agents/skills/debugging-ci-failures - debugging-ci-failures — ProSkillsMD/proskills0 reactions · 1 comment
- Oct 7, 2026feat: share selected connection health and bounded native API reads — amplifthq/open-connector0 reactions · 2 comments
- Oct 6, 2026feat: support selected GitHub connections for Git streams — amplifthq/open-connector0 reactions · 1 comment
Other versions1 project uses a version of this.
Word for word · 1
- amplifthq/opentag★ 1.4k100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository12 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .claude/CLAUDE.mdCLAUDE.md
- CLAUDE.mdCLAUDE.md
- debugging-ci-failuresSkill
- fixing-flaky-testsSkill
- openmeld-changelogSkill
- react-doctorSkill
- writing-testsSkill
- docs-lifecycle-scanSkill
- openmeld-changelogSkill
- release-runbookSkill
- wake-traceSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
13 rules. About 0 are common, 9 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈9
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Very specific: line 8
All OpenMeld databases belong to the Amplift PlanetScale organization (amplift), never the operator's personal organization.
- Distinctive: line 18
Use standard PlanetScale Postgres for this foundation.
- Distinctive: line 21
Use older versions only for a demonstrated compatibility constraint.
- Distinctive: line 28
Read physical database ownership and the applicable section of the single PostgreSQL workflow.
- Very specific: line 31
Run pnpm pg plan to see exact targets and migration checksums.
- Distinctive: line 33
Read the touched business owner's source, schema and contracts.
- Very specific: line 39
Run pnpm pg:check for database infrastructure changes.
- Very specific: line 51
Keep PostgreSQL baseline/migrations under packages/db/postgresql/migrations.
- Distinctive: line 52
Never convert or edit already-applied D1 history in place.
- Distinctive: line 58
Use the workflow's exact target and Doppler allowlist.
- Distinctive: line 65
Use the workflow's migration and cutover checklist rather than copying it here.
- Distinctive: line 66
Check source identity, target identity, immutable migration checksums, lock ownership, runtime grants, restore evidence, mixed-version …
- Distinctive: line 70
Stop the affected operation on a mismatched environment/branch, unknown owner, applied migration drift, failed restore, unresolved …
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
OpenMeld PostgreSQL Planning
All OpenMeld databases belong to the Amplift PlanetScale organization
(amplift), never the operator's personal organization. Pass --org amplift
explicitly; login defaults are not the resource owner.
The architecture is decided: Cloudflare Hyperdrive connects Workers to
PlanetScale PostgreSQL. Start from current source, not a new vendor comparison
or the superseded D1 capacity threshold. Production has used PostgreSQL since
the 2026-10-04 cutover. Shared staging reuses openmeld-postgresql-stg through
its own Hyperdrive binding and the guarded pnpm staging:deploy workflow.
The former staging D1 database is retained for historical test-data inspection.
Use standard PlanetScale Postgres for this foundation. Neki preview enrollment
does not change the chosen engine or authorize a sharded database migration.
The staging/local baseline is PostgreSQL 18 at the latest supported stable minor.
Use older versions only for a demonstrated compatibility constraint.
Production capacity changes require measured demand. Keep capacity stable while
isolating code-path regressions; use the current workflow's metrics and query
plans before recommending a larger machine.
Shortest useful start
- Read physical database ownership and the applicable section of the single PostgreSQL workflow.
- Run
pnpm pg planto see exact targets and migration checksums. Checktooling/postgresql/resources.json; a planned name is not a created resource. - Read the touched business owner's source, schema and contracts. Define who writes each fact and which readers need a transaction. Do not recreate RuntimeCoordinator authority, Space Durable Object state, or R2 file bodies.
- Implement in the existing owning package. Use standard PostgreSQL SQL and
the supported
pgdriver; do not build a D1 API emulator or a cross-database framework. Preserve externally visible IDs and shared schemas. - Run
pnpm pg:checkfor database infrastructure changes. For business work, add the smallest real PostgreSQL behavior checks for its failure boundary, then exercise affected consumers. Local infrastructure acceptance is not proof of cloud connectivity, production scale, or completed business migration.
Decisions that change implementation
- Application Hyperdrive caching is disabled. Transactions use one client from BEGIN through COMMIT/ROLLBACK. Hyperdrive transaction pooling cannot preserve session settings, temporary tables, or session advisory locks between queries.
- Migrations and backup tools use the direct TLS endpoint on port 5432. A single migration owner and PostgreSQL advisory lock serialize changes.
- Keep PostgreSQL baseline/migrations under
packages/db/postgresql/migrations. Never convert or edit already-applied D1 history in place. Review generated SQL for SQLite assumptions, timestamp units, JSON, ordering, conflict behavior, indexes, constraints and affected query plans. - Runtime roles receive only owning-schema/table grants. No default
postgres, broad all-data roles, CREATE, TRUNCATE, role management or migration ledger access. Tenant authorization remains an explicit owner contract, not a schema name. - Use the workflow's exact target and Doppler allowlist. No credentials in Git, logs, chat, command arguments, or ordinary development environments.
- Retain historical test data where practical, but synthetic staging acceptance does not authorize exporting production data into staging.
Before applying or cutting over
Use the workflow's migration and cutover checklist rather than copying it here. Check source identity, target identity, immutable migration checksums, lock ownership, runtime grants, restore evidence, mixed-version consumers and one data authority. A completed resource creation is not a completed migration.
Stop the affected operation on a mismatched environment/branch, unknown owner, applied migration drift, failed restore, unresolved production writers, exposed credentials, or missing tenant authorization. After PostgreSQL accepts new business writes, reverting the binding to old D1 would lose data: freeze and reconcile under the recovery plan. New legal agreements and payment/identity challenges require the human. Do not request approval again for already authorized, bounded infrastructure setup.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

