postgres-and-relational-data-modeling

postgres-and-relational-data-modeling is a skill for Claude Code from vaquarkhan/Fullstack-development-agent-skills. It costs 30 tokens per session (389 once invoked), scanned A, original, MIT.

A guide to designing PostgreSQL databases, including tables, relationships, rules, indexes, queries, and schema changes. PostgreSQL is a database system that stores related application data reliably.

In plain words
What is it for?
Use it to model application data, plan safe migrations, improve query performance, configure connection pooling, and check backup and restore procedures.
Why use it?
It helps prevent slow queries, broken data relationships, risky database changes, and failed rollouts. It also covers connection limits, credentials, backups, and restoring important data.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

Part of the fullstack-development-agent-skills plugin — 129 skills, 10 commands shipped together

Good fit Use it to model application data, plan safe migrations, improve query performance, configure connection pooling, and check backup and restore procedures.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/vaquarkhan/fullstack-development-agent-skills/postgres-and-relational-data-modeling
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add vaquarkhan/Fullstack-development-agent-skills --skill postgres-and-relational-data-modeling
Clone the repo
git clone --depth 1 https://github.com/vaquarkhan/Fullstack-development-agent-skills

Made for: Claude Code.

Or install fullstack-development-agent-skills, the plugin that ships this one along with the rest of its 129 skills, 10 commands.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for postgres-and-relational-data-modeling

README.md
[![agentmods](https://agentmods.dev/badge/skills/vaquarkhan/fullstack-development-agent-skills/postgres-and-relational-data-modeling/github.svg)](https://agentmods.dev/skills/vaquarkhan/fullstack-development-agent-skills/postgres-and-relational-data-modeling)
Your own site
<a href="https://agentmods.dev/skills/vaquarkhan/fullstack-development-agent-skills/postgres-and-relational-data-modeling"><img src="https://agentmods.dev/badge/skills/vaquarkhan/fullstack-development-agent-skills/postgres-and-relational-data-modeling/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for postgres-and-relational-data-modeling

Your own site · 80×15
<a href="https://agentmods.dev/skills/vaquarkhan/fullstack-development-agent-skills/postgres-and-relational-data-modeling"><img src="https://agentmods.dev/badge/skills/vaquarkhan/fullstack-development-agent-skills/postgres-and-relational-data-modeling.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 30 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 389 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00030 $0.00389
Opus 5.5 $0.00012 $0.00156
Sonnet 5.5 $0.00006 $0.00078
Haiku 4.5 $0.00003 $0.00039

Measured 2mo ago against content hash 48a9c662efc6, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

postgres-and-relational-data-modeling scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/postgres-and-relational-data-modeling/SKILL.md · 54 lines

What it actually says

Postgres And Relational Data Modeling

Use When

  • Relational persistence is core to the product
  • Schema or query performance issues appear

Workflow

  1. Model entities, constraints, and ownership boundaries
  2. Plan migrations with expand-migrate-contract
  3. Define indexes and query paths for hot endpoints
  4. Add connection pooling and timeout policies
  5. Validate backup, restore, and replication assumptions

Required Checks

  • Migrations are backward compatible during rollout
  • Indexes reviewed for read/write paths
  • Secrets and credentials are not embedded in app code
  • Restore drill documented for critical tables

Decision Framework

  • Prefer explicit contracts and compatibility rules before implementation.
  • If dependency risk is high, require timeout, retry, and fallback strategy per call path.
  • If async messaging is used, require idempotency, replay, and dead-letter handling.
  • If traffic patterns are volatile, require load, failover, and scaling validation before ship.

Common Rationalizations And Rebuttals

  • "Retries will handle failures automatically." -> Unbounded retries can amplify outages; use budgets.
  • "We can skip runbooks for now." -> Operational ambiguity delays incident recovery.
  • "Contract changes are minor." -> Small breaking changes cause broad downstream regressions.

Evidence Pack

  • Contract compatibility note and migration strategy (if applicable)
  • Failure-mode test evidence for dependency degradation and recovery
  • Observability snapshot (latency, error, saturation, or queue health)
  • Rollout and rollback steps with clear trigger thresholds

Exit Criteria

  • Workflow is production-ready with verified evidence
  • Operational and security guardrails are in place
  • Release and rollback expectations are documented
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 54 lines · 30 tokens per session scan A 48a9c662efc6

Subscribe to this mod's changes

postgres-and-relational-data-modeling is a skill published in the GitHub repository vaquarkhan/Fullstack-development-agent-skills (3 stars, last pushed 2mo ago), licensed MIT. It adds 30 tokens to every session and 389 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-07.

Related

postgres-and-relational-data-modeling compared with skills from other repositories

postgres-and-relational-data-modeling next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
postgres-and-relational-data-modelingvaquarkhan/Fullstack-development-agent-skillsSkill32mo agoMITA30Claude Code
database-postgresqlHoangNguyen0403/agent-skills-standardSkill583yesterdayMITA40Claude Code, Codex
obto-databaseobto-inc/platformSkill112d agoApache-2.0B176Claude Code, Codex
alloydb-basicsgoogle/skillsSkill22kyesterdayApache-2.0A72Claude Code, Codex
postgresdbericrisco/rsc-harnessSkill5032d agoMITA91Claude Code, Codex
nw-database-technology-selectionnWave-ai/nWaveSkill631yesterdayMITA38Claude Code
bex-postgresbex-co/bexSkill577yesterdayApache-2.0A86Claude Code, Codex