asql
ASQL repo — deterministic SQL engine in Go. Read AGENTS.md for the full contract.
Install / Use
npx skills add correodabid/asqlInstalls into whichever agent you are using.
Cursor Rules
Cursor IDE rules (v2)
Quality Score
Category
Data & AnalyticsSupported Platforms
Tags
Skill content
View source on GitHubdescription: ASQL repo — deterministic SQL engine in Go. Read AGENTS.md for the full contract. alwaysApply: true
ASQL — Cursor rules
Read AGENTS.md at the repo root first. It holds the durable
contract: layout, determinism rules, pgwire protocol gotchas, test
tiers, commit conventions, and what-not-to-do.
This file is a short Cursor-facing summary that points at the canonical source.
Three things that must stay true
-
WAL is the source of truth. Replay the same WAL, get byte-identical state. No wall-clock time, no
math/rand, no map iteration order dependencies in the engine, executor, or storage layers. Useinternal/platform/clock. -
pgwire is the primary surface. The extended query protocol must stay compatible with pgx v5.9+. If you add a streaming Execute path, send
RowDescriptioneagerly — the client'sreadUntilRowDescriptionwill otherwise deadlock. SeeAGENTS.mdfor the full OID/binary cheat sheet. -
Module path is
github.com/correodabid/asql. Notasql, not anything else.
Default test loop
go test ./internal/...
Full suite before committing:
go test -timeout 300s ./...
Commit format
<type>(<scope>): <imperative summary>
<why, not what>
Co-Authored-By: <Agent> <noreply@anthropic.com>
Types: feat, fix, chore, docs, refactor, style, test.
Recent scopes: pgwire, deps, ci, engine, wal, storage.
Don't
- Don't emit emoji into source files, commit messages, or documentation.
- Don't amend pushed commits or force-push without an explicit request.
- Don't skip pre-commit hooks.
- Don't add markdown files that duplicate
AGENTS.md. - Don't propagate
pgx/pgproto3types into the engine. Keep them at the transport boundary.
Full detail lives in AGENTS.md and the .claude/skills/ directory.
Related Skills
claude-mem
94.4kPersistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
Chat2DB
28.2kChat2DB is a free, cross-platform, local-first database client and SQL workspace for developers, DBAs, analysts, and data teams. Connect to 40+ databases, manage data, edit and run SQL, and use your own AI model to generate, explain, and optimize queries.
Douyin_TikTok_Download_API
20.2k🚀 Self-hosted TikTok & Douyin scraper and no-watermark video downloader — async REST API, MCP server, CLI and web console for posts, profiles, comments and playlists. Self-healing identity pool, PostgreSQL archive, one docker compose up. 抖音、TikTok 数据采集与无水印视频下载 API,自托管,支持 MCP 调用与 Docker 一键部署。
dbx
20.3k25 MB lightweight cross-platform database client for 90+ databases, including MySQL, PostgreSQL, SQLite, Redis, MongoDB, DuckDB, SQL Server, and Dameng. Built-in AI, MCP Server, CLI, desktop and Docker.
Security Score
Audited on Invalid Date
