Skip to content
Agentmart
Submit a tool

CLAUDE.md · timescale/pg-aiguide

CLAUDE.md from timescale/pg-aiguide: 45 lines covering Build, Test & Run Commands, Code Style Guidelines, Releasing.

Template by timescale

IndexedApache-2.0★ 1,873
Write a review

Chalk Labs

Need help deploying CLAUDE.md · timescale/pg-aiguide?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code. Read the repository before you give any tool access to your data.

curl -fsSL https://raw.githubusercontent.com/timescale/pg-aiguide/main/CLAUDE.md -o CLAUDE.md

Read it and adapt it to your project before use.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

The CLAUDE.md file that timescale/pg-aiguide (1,873 stars) keeps for coding agents. It has 45 lines in 3 sections: Build, Test & Run Commands; Code Style Guidelines; Releasing. Use it as a model for your own project's instructions.

Use cases: prompt-engineering, documentation

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

What's in it

A CLAUDE.md file: project memory Claude Code loads at the start of every session.

For
Claude Code
Length
45 lines
File
CLAUDE.md

Sections

  1. Build, Test & Run Commands
  2. Code Style Guidelines
  3. Releasing

First lines (shown under the repo's Apache-2.0 license)

# 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.

Signals

Stars
1,873
Forks
119
Open issues
4
Contributors
18
Last commit (this folder)
Sep 8, 2026 (1 month ago)
Last release
Sep 4, 2026 (1 month ago)

From GitHub (fetched Oct 24, 2026).

Details

License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from timescale

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get CLAUDE.md · timescale/pg-aiguide running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying CLAUDE.md · timescale/pg-aiguide?

CallGet help
Cite this page

CLAUDE.md · timescale/pg-aiguide. Agent Mart. https://agentmart.dev/templates/timescale-pg-aiguide-claude-md (last updated 2026-10-24)