Cursor rule Cursor
Database-specific features must be implemented in the specialized adapter only. Base adapters (postgres, mysql, etc.) must remain database-agnostic.
Cursor rule Cursor
Database-specific features must be implemented in the specialized adapter only. Base adapters (postgres, mysql, etc.) must remain database-agnostic.
Cursor rule Cursor
Postgres adapter unit tests are sqlmock-only; no real DB or sqlx.Connect.
Cursor rule Cursor
Follow this loop on every development task in this repository. For full conventions, architecture, and examples, see @.github/copilot-instructions.md (source of truth). This rule distills the workflow; do not duplicate that document.
Cursor rule Cursor
Config warn-and-continue for non-sensitive keys; Auth/ACL/JWT/secrets/DB credentials fail closed.
Cursor rule Cursor
Core token-efficiency and response discipline rules. Always active.
Cursor rule Cursor
Git commit safety — commits are human-only; AI suggests, never executes.
Cursor rule Cursor
Hexagonal DIP/ISP — no postgres in handlers; narrow ports via Deps; TDD→port→adapter→route.
Cursor rule Cursor
Per-DB compose/workflow layout; Timescale runs only its package; no folding into Postgres.
Cursor rule Cursor
Human-readable integration test requests; helpers vs httptest; suites/ vs per-DB placement.
Cursor rule Cursor
Classify engines, require DIFFERENCES.md, and map what/where for new SQL DB support.
Cursor rule Cursor
After Studio changes, regenerate embedded assets with make studio-build and keep dist in the diff.
Cursor rule Cursor
Agent-mode tool-call efficiency. Cuts the largest hidden cost in modern AI IDEs — wasted tool calls and oversized context windows.
Cursor rule Cursor
TDD required for behavior changes; ≥80% package coverage on touched packages; unit-test conventions.
Skill Claude CodeCodexCursor
Guides writing and reviewing pREST Docker/network integration tests under integration/ so each request is human-readable via step comments or table-driven descriptions. Use when adding or editing integration//test.go, HTTP controller E2E coverage, make test-integration, test-integration-postgres…
Skill Claude CodeCodexCursor
Guides classifying, gap-analyzing, and scaffolding support for a new SQL database in pREST (wire-compatible variants like TimescaleDB or new dialects). Use when adding database support, creating integration/ /, DIFFERENCES.md, adapters/ , per-DB docker-compose or GitHub workflows, or planning where config/app wiring…
Instructions file GitHub Copilot
Instructions for prest/prest, covering copilot instructions for prest go backend, project scope, core engineering principles, solid principles for go and s — single responsibility.
Cursor rule Cursor
Follow this loop on every development task. For conventions, see @.github/copilot-instructions.md.
Cursor rule Cursor
Git commit safety — commits are human-only; AI suggests, never executes.
Instructions file GitHub Copilot
Copilot instructions for prest/prest-mcp-adapter, covering prest-mcp-adapter — agent / copilot instructions, what this repo is, layout, hard rules and validate.
MCP server Claude CodeCodexCursor
MCP server "prest" as configured in prest/prest-mcp-adapter. Runs in Docker (ghcr.io/prest/prest-mcp-adapter:0.1.3). Needs 3 environment variables to run.