pg-aiguide
CLAUDE.md1.9k starsChanged 3 months agoApache-2.0View on GitHub
- Build: ./bun run build - Compiles TypeScript to JavaScript - Watch mode: ./bun run watch http - Watches for changes and rebuilds automatically - Run server: ./bun run start stdio - Starts the MCP server using stdio transport - Checks: ./check - All-in-one command to lint and test. Run before every commit. Covers TypeScript (biome, tsc, tests) and Python (ruff format + ruff check in ingest/). Python checks are skipped with a warning if uv is missing. - Release…
Trending
Steady talk.about the whole repository
Who's talking about timescale/pg-aiguide
- A Hacker News story“Show HN: Pg-aiguide – Write better PostgreSQL code with AI”Hacker News · Nov 24, 2025 · 3 points
- @fred.camblor.fr“A nice MCP for opinionated best (/recent) postgres practices for schema design, indexing and constraint …”Bluesky · Dec 30, 2025 · 2 likes
- sudosubin/agents.nix“claude-code-plugins.github.timescale.pg-aiguide: init at 0.6.1”GitHub · Oct 4, 2026
- sudosubin/agents.nix“claude-code-marketplaces.github.timescale.pg-aiguide: init at 0.6.1”GitHub · Oct 4, 2026
- sudosubin/agents.nix“agent-skills.github.timescale.pg-aiguide: init at 0.6.1”GitHub · Oct 3, 2026
The biggest 5 of 15 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 15
Talked about on GitHub, Hacker News and Bluesky (15 times).
On GitHub · 13
- Oct 4, 2026claude-code-plugins.github.timescale.pg-aiguide: init at 0.6.1 — sudosubin/agents.nix0 reactions
- Oct 4, 2026claude-code-marketplaces.github.timescale.pg-aiguide: init at 0.6.1 — sudosubin/agents.nix0 reactions
- Oct 3, 2026agent-skills.github.timescale.pg-aiguide: init at 0.6.1 — sudosubin/agents.nix0 reactions
- Jun 16, 2026chore(skills): add timescale/pg-aiguide Postgres/PostGIS skills — digitie/kor-travel-geo0 reactions
- Jun 6, 2026content(mcp): add pg-aiguide MCP Server — JSONbored/awesome-claude0 reactions · 3 comments
8 more on GitHub
- Jun 3, 2026Try a third-party PostgreSQL MCP — jabrena/plinth0 reactions · 2 comments
- Apr 13, 2026Audit candidate: timescale/pg-aiguide — xiaolai/nlpm0 reactions · 4 comments
- Apr 6, 2026Audit candidate: timescale/pg-aiguide — xiaolai/nlpm0 reactions · 3 comments
- Jan 23, 2026Add MCP section — mgramin/awesome-db-tools0 reactions · 2 comments
- Jan 4, 2026[MCP Catalog] New MCP server candidate: io.github.timescale/pg-aiguide — obot-platform/mcp-catalog0 reactions
- Jan 3, 2026Weekly Journal Sources - Week of 2026-01-06 — beijaflor/gen-ai-journal0 reactions · 1 comment
- Dec 12, 2025dec 2025 jan 2026 — kimtth/azure-openai-llm-notes0 reactions
- Nov 26, 2025Add Postgres documentation MCP and schema-design skill — davila7/claude-code-templates0 reactions · 1 comment
On Hacker News · 1
- Nov 24, 2025Show HN: Pg-aiguide – Write better PostgreSQL code with AI3 points
On Bluesky · 1
- Dec 30, 2025A nice MCP for opinionated best (/recent) postgres practices for schema design, indexing and constraint Avoids the 35y history of old SQL… — @fred.camblor.fr2 likes and reposts
In this repository10 other files it gives its agents.
The file
We split this CLAUDE.md into the rules it gives an agent
12 rules. About 0 are common, 5 are distinctive, and 7 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 7
Run server: ./bun run start stdio - Starts the MCP server using stdio transport
- Very specific: line 14
Use ES modules with .js extension in import paths
- Distinctive: line 16
Follow zod schema patterns for tool input validation
- Very specific: line 17
Use .nullable() instead of .optional() for optional MCP tool parameters (required for gpt-5 compatibility)
- Distinctive: line 18
Prefer async/await over callbacks and Promise chains
- Distinctive: line 19
Place all imports at top of file, grouped by external then internal
- Distinctive: line 20
Use descriptive variable names that clearly indicate purpose
- Very specific: line 22
Follow camelCase for variables/functions, PascalCase for types/classes, UPPER_CASE for constants
- Distinctive: line 24
Use consistent indentation (2 spaces) and trailing commas in multi-line objects
- Very specific: line 29
Never commit generated artifacts (__pycache__/, *.pyc, .venv/, .ruff_cache/)
- Very specific: line 30
Add dev-only tooling to the dev dependency group, not dependencies
- Very specific: line 31
Commit the regenerated uv.lock whenever dependencies change.
≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Tiger Docs MCP Server - Development Guidelines
Build, Test & Run Commands
- Build:
./bun run build- Compiles TypeScript to JavaScript - Watch mode:
./bun run watch http- Watches for changes and rebuilds automatically - Run server:
./bun run start stdio- Starts the MCP server using stdio transport - Checks:
./check- All-in-one command to lint and test. Run before every commit. Covers TypeScript (biome, tsc, tests) and Python (ruff format+ruff checkiningest/). Python checks are skipped with a warning ifuvis missing.
Code Style Guidelines
- Use ES modules with
.jsextension in import paths - Strictly type all functions and variables with TypeScript
- Follow zod schema patterns for tool input validation
- Use
.nullable()instead of.optional()for optional MCP tool parameters (required for gpt-5 compatibility) - Prefer async/await over callbacks and Promise chains
- Place all imports at top of file, grouped by external then internal
- Use descriptive variable names that clearly indicate purpose
- Implement proper cleanup for timers and resources in server shutdown
- Follow camelCase for variables/functions, PascalCase for types/classes, UPPER_CASE for constants
- Handle errors with try/catch blocks and provide clear error messages
- Use consistent indentation (2 spaces) and trailing commas in multi-line objects
Python (ingest/)
- Formatted and linted by
ruff; config lives iningest/pyproject.toml - Never commit generated artifacts (
__pycache__/,*.pyc,.venv/,.ruff_cache/) - Add dev-only tooling to the
devdependency group, notdependencies - Commit the regenerated
uv.lockwhenever dependencies change; CI runsuv lock --check - Chain re-raised exceptions with
raise ... from eto preserve the original traceback
Releasing
- Release with
./bun release <version | major | minor | patch>from a cleanmain; don't create tags or releases in the GitHub UI. See DEVELOPMENT.md. - The script bumps the version in
package.json,.claude-plugin/marketplace.json, and.cursor-plugin/plugin.json, commitsrelease: vX.Y.Z, tags, and pushes. The tag push triggers.github/workflows/publish.yml. - The push to
mainrequires bypassing the pull-request rule. Without that access the tag pushes but the commit is rejected, leavingmainbehind the released version.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

