Files
postgres-skills/plugin
c4f1d197d1 Add PostgreSQL best-practices skill, plugin, and evaluation harness (#6)
## Overview

Bootstraps the **PostgreSQL Agent Skills** repository: a PostgreSQL
best-practices skill plus a distributable plugin for agent hosts, with a
supporting test and evaluation harness.

## What's included

- **Skill** — PostgreSQL best-practices guidance (generic + Azure
Database for PostgreSQL), organized as a lightweight routing table that
loads focused reference topics on demand.
- **Plugin** — multi-host packaging and an MCP launcher that installs
and runs the pinned `pgsql-tools` CLI.
- **Tests & evals** — a pytest suite plus an evaluation pipeline that
measures skill activation accuracy and content quality.
- **Project docs & CI** — README, contributing/support/security docs,
and a CI workflow.

---------

Co-authored-by: Aditi Gupta <adig@microsoft.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Alperen Cetin <hcetin@microsoft.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-06-07 15:31:08 +03:00
..

postgresql-agent-skills plugin

The installable plugin payload for the postgresql-agent-skills marketplace. It bundles the PostgreSQL skill and the pgsql-tools MCP server so AI-agent CLIs (GitHub Copilot CLI, Claude Code, Codex) can route PostgreSQL work to the right guidance and tools.

Contents

Path Purpose
skills/postgresql-best-practices/ The skill (SKILL.md routing table + reference docs).
.mcp.json Declares the pgsql-tools MCP server (stdio, node ${PLUGIN_ROOT}/run_mcp.js).
run_mcp.js Launcher for the pgsql-tools MCP server.
PGSQL_TOOLS_CLI_VERSION Pinned pgsql-tools CLI version.
.codex-plugin/plugin.json Plugin manifest required by Codex.

Codex compatibility: plugin.json

Codex requires a manifest at .codex-plugin/plugin.json inside the plugin folder. Without it, codex plugin add postgresql-agent-skills@postgresql-agent-skills fails with Error: missing plugin.json.

It should be updated along with the plugin field in .github/plugin/marketplace.json.