agentleFS
timescaletimescale/pg-aiguide/CLAUDE.md

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

Dec 2025: 2 mentionsJan 2026: 3 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 2 mentionsMay 2026: 0 mentionsJun 2026: 3 mentionsJul 2026: 0 mentionsAug 2026: 0 mentionsSep 2026: 0 mentionsOct 2026: 3 mentionsNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the timescale/pg-aiguide repository that our weekly crawl found. There is no adoption data for this file yet.

Who's talking about timescale/pg-aiguide

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

8 more on GitHub

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
  1. Very specific:

    Run server: ./bun run start stdio - Starts the MCP server using stdio transport

    line 7
  2. Very specific:

    Use ES modules with .js extension in import paths

    line 14
  3. Distinctive:

    Follow zod schema patterns for tool input validation

    line 16
  4. Very specific:

    Use .nullable() instead of .optional() for optional MCP tool parameters (required for gpt-5 compatibility)

    line 17
  5. Distinctive:

    Prefer async/await over callbacks and Promise chains

    line 18
  6. Distinctive:

    Place all imports at top of file, grouped by external then internal

    line 19
  7. Distinctive:

    Use descriptive variable names that clearly indicate purpose

    line 20
  8. Very specific:

    Follow camelCase for variables/functions, PascalCase for types/classes, UPPER_CASE for constants

    line 22
  9. Distinctive:

    Use consistent indentation (2 spaces) and trailing commas in multi-line objects

    line 24
  10. Very specific:

    Never commit generated artifacts (__pycache__/, *.pyc, .venv/, .ruff_cache/)

    line 29
  11. Very specific:

    Add dev-only tooling to the dev dependency group, not dependencies

    line 30
  12. Very specific:

    Commit the regenerated uv.lock whenever dependencies change.

    line 31

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
CLAUDE.md

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 check in ingest/). Python checks are skipped with a warning if uv is missing.

Code Style Guidelines

  • Use ES modules with .js extension 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 in ingest/pyproject.toml
  • Never commit generated artifacts (__pycache__/, *.pyc, .venv/, .ruff_cache/)
  • Add dev-only tooling to the dev dependency group, not dependencies
  • Commit the regenerated uv.lock whenever dependencies change; CI runs uv lock --check
  • Chain re-raised exceptions with raise ... from e to preserve the original traceback

Releasing

  • Release with ./bun release <version | major | minor | patch> from a clean main; 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, commits release: vX.Y.Z, tags, and pushes. The tag push triggers .github/workflows/publish.yml.
  • The push to main requires bypassing the pull-request rule. Without that access the tag pushes but the commit is rejected, leaving main behind the released version.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.