/db-postgres:postgres-frameworksfrom db-postgres
Use 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
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.
modelBuilder.HasPostgresEnum<OrderStatus>()builder.Property(o => o.Metadata).HasColumnType("jsonb")UseIdentityAlwaysColumn() instead of UseIdentityColumn()HasDefaultSchema("public") for PostgreSQL conventionbuilder.HasIndex(o => o.Metadata).HasMethod("gin")dotnet ef migrations script --idempotentNpgsqlModelBuilderExtensions for PostgreSQL-specific featuresDeclarativeBase (SQLAlchemy 2.0+)JSONB dialect type, not generic JSONserver_default for database-level defaults__table_args__ for schema and constraints--autogenerate for migration creationop.execute() for raw SQL when needed (e.g., creating enums)op.execute("CREATE TYPE order_status AS ENUM ('pending', 'completed')")V1__create_orders_table.sqlIF NOT EXISTS for idempotent DDLNpgsqlConnection directly$1, $2 parameters internally, but Dapper's @Name syntax works via NpgsqlNpgsqlConnection.GlobalTypeMapper.MapEnum<T>()NpgsqlDbType.Jsonb for JSONB parametersWhat 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-project-structureUse when scaffolding or reviewing PostgreSQL project layout — migration folder conventions, schema separation, extension management, seed data organization, and pgTAP test layout/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