/db-postgres:postgres-project-structurefrom db-postgres
Use when scaffolding or reviewing PostgreSQL project layout — migration folder conventions, schema separation, extension management, seed data organization, and pgTAP test layout
Ships in db-postgres. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
database/
├── migrations/
│ ├── V001__create_extensions.sql
│ ├── V002__create_orders_table.sql
│ ├── V003__create_auth_schema.sql
│ └── V004__add_rls_policies.sql
├── schemas/
│ ├── public/
│ │ ├── tables/
│ │ │ ├── orders.sql
│ │ │ ├── order_items.sql
│ │ │ └── customers.sql
│ │ ├── views/
│ │ │ └── active_customers.sql
│ │ ├── functions/
│ │ │ ├── get_order_by_id.sql
│ │ │ └── calculate_total.sql
│ │ ├── triggers/
│ │ │ └── trg_set_modified_at.sql
│ │ └── types/
│ │ └── order_status.sql
│ ├── auth/
│ │ ├── tables/
│ │ │ ├── users.sql
│ │ │ └── roles.sql
│ │ └── functions/
│ │ └── authenticate_user.sql
│ └── audit/
│ └── tables/
│ └── audit_log.sql
├── extensions/
│ └── required_extensions.sql
├── security/
│ ├── roles/
│ │ ├── app_read_role.sql
│ │ └── app_write_role.sql
│ └── rls/
│ └── tenant_policies.sql
├── seed/
│ ├── lookup/
│ │ ├── order_statuses.sql
│ │ └── countries.sql
│ └── dev/
│ └── sample_orders.sql
├── tests/
│ └── pgTAP/
│ ├── test_orders.sql
│ └── test_auth.sql
├── alembic/ # If using Alembic
│ ├── alembic.ini
│ ├── env.py
│ └── versions/
└── flyway.conf # If using Flyway
migrations/ for versioned change scripts (V001, V002, ...)extensions/ for PostgreSQL extension declarationssecurity/ for roles and RLS policiesseed/lookup/ for reference data (always applied)seed/dev/ for development-only sample datatests/pgTAP/ for in-database unit testspublic for core domain, auth for authentication, audit for loggingtypes/ subdirectory for custom ENUMs and composite typesWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub gagandeepp/software-agent-teams --plugin db-postgres4 skills in this plugin
/postgres-codingUse when writing or reviewing PostgreSQL PL/pgSQL code — enforces snake_case naming, function/trigger patterns, JSONB operations, partitioning, RLS policies, and PostgreSQL-specific type usage/postgres-frameworksUse when implementing PostgreSQL database code with frameworks — enforces patterns for EF Core/Npgsql (JSONB, enums, identity), SQLAlchemy/Alembic (models, revisions), Flyway, and Dapper with Npgsql/postgres-testingUse when writing tests for PostgreSQL database code — pgTAP for in-database tests, pytest with psycopg for integration tests, EF Core integration tests, and test database lifecycle management