@pgsql/lint
github.comExplore documented capabilities and connections for @pgsql/lint.
What your agent can do
Source-level SQL/PL/pgSQL convention linter: fully-qualified references, no search_path, no dynamic SQL, with ESLint-style inline waivers. Pure AST, no database.
Via CLI.
Tasks depend on the interface and permissions.
Connection methods
Choose a route that fits your agent.
CLI
For agents with a terminal
View setup for CLICLI connection
CLI package
@pgsql/lint