/xonovex-languages:sql-postgresql-guidefrom xonovex-languages
Provides PostgreSQL 15+ coding guidelines for queries, schemas, and migrations. Covers CTEs, indexing, JSONB, RLS, EXPLAIN ANALYZE, constraints, and performance tuning.
Ships in xonovex-languages. 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.
Read when SKILL.md points to them.
Write PostgreSQL queries and schemas with explicit constraints, transactional changes, and measured query plans.
ANALYZE updates planner statistics: bulk inserts without re-analyzing produce stale plans and full scansJSONB supports indexing (GIN); JSON doesn't: pick JSONB unless you specifically need preserved formattingCREATE INDEX CONCURRENTLY cannot run inside a transaction block: check every migration operation before wrapping the whole fileGENERATED ... AS IDENTITY for new auto-generated keys because its sequence relationship and override rules are declared on the column; SERIAL/BIGSERIAL remain supported PostgreSQL shorthand, not deprecated syntaxSOURCES.md (opens in a new tab)eval-queries.json (opens in a new tab)evals.json (opens in a new tab)moon.yml (opens in a new tab)references/constraints.md (opens in a new tab)references/cte-patterns.md (opens in a new tab)references/data-types.md (opens in a new tab)references/indexing.md (opens in a new tab)references/jsonb.md (opens in a new tab)references/performance.md (opens in a new tab)references/role-based-access.md (opens in a new tab)references/row-level-security.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
postgresql, sql, database-guidelines, query-optimization, schema-design
Other plugins' skills for the same job
6 skills in this plugin
/lua-guideUse when editing general-purpose Lua 5.4+: modules, scripts, configuration. Triggers on `.lua` files and prompts about module patterns, local scoping, metatables, coroutines, error handling, even when the user doesn't say 'Lua'./lua-opinionated-guideUse when tuning performance-critical Lua hot paths: the tunings especially benefit LuaJIT, and the principles apply to vanilla Lua 5.4 too. A focused overlay that covers only hot-path performance, not Lua fundamentals. Triggers on `.lua` files in performance-sensitive or LuaJIT projects and on prompts about JIT-friendly tables, table pre-allocation, cache lookups, stable table shapes, or hot-path tuning, even when the user doesn't say 'LuaJIT'./python-guideUse when writing or editing Python 3.12+ for APIs, data processing, scripting, or tooling. Triggers on `.py` files and prompts about async functions, type hints, dataclasses, pathlib, pytest, generators, context managers, f-strings, even when the user doesn't say 'Python'./shell-scripting-guideUse when writing or editing POSIX shell or Bash automation. Triggers on `.sh` files, `#!/usr/bin/env bash` shebangs, and prompts about scripting CI tasks, build helpers, devops automation, or one-off pipelines, even when the user doesn't say 'shell'. Apply for strict mode, quoting, parameter expansion, exit codes, idempotency, shellcheck/shfmt./typescript-to-lua-guideUse when editing TypeScript that compiles to Lua via TSTL 1.24+ (game scripting, Defold, embedded engines). Triggers on `.ts` files in game/scripting directories with TSTL config, and on prompts about LuaMultiReturn, namespaces, decorators, stable table layouts, or Lua interop boundaries, even when the user doesn't say 'TSTL'.npx claudepluginhub xonovex/platform --plugin xonovex-languages