tabularis-plugin-driver
Skill5.1k starsChanged 3 months agoApache-2.0View on GitHub
Use when creating or updating a Tabularis database driver plugin in Rust. Covers modern manifest fields, JSON-RPC over stdio, modular plugin layout, MySQL-level feature coverage targets, optional UI extensions, and validation against Tabularis repo rules.
Trending
Quiet since September.about the whole repository
Who's talking about TabularisDB/tabularis
- @matsuu.bsky.social“様々なデータベースに対応したオープンソースのGUIクライアント。Linux, Windows, macOS対応。MCP機能も搭載。”Bluesky · Sep 6, 2026 · 3 likes
- TabularisDB/website“content: prepare v0.25.0 website updates”GitHub · Sep 22, 2026 · 2 reactions
- A Hacker News story“Tabularis: A lightweight, cross-platform database client for developers”Hacker News · Apr 25, 2026 · 2 points
- @tech-trending.bsky.social“GitHub - TabularisDB/tabularis: Open-source desktop SQL workspace for PostgreSQL, MySQL/MariaDB, SQLite and …”Bluesky · Sep 6, 2026 · 1 likes
- @hatena-bookmark.bsky.social“#🔖テクノロジー GitHub - TabularisDB/tabularis: Open-source desktop SQL workspace for PostgreSQL, MySQL/MariaDB, …”Bluesky · Sep 6, 2026 · 1 likes
The biggest 5 of 36 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 36
Talked about on GitHub, Bluesky and Hacker News (36 times).
On GitHub · 31
- Sep 22, 2026content: prepare v0.25.0 website updates — TabularisDB/website2 reactions · 2 comments
- Sep 30, 2026Add tabularis — AppImage/appimage.github.io0 reactions · 1 comment
- Sep 26, 2026feat: implement get_table_ddl RPC method for dump support — TabularisDB/tabularis-postgresql-plugin0 reactions
- Sep 24, 2026feat: driver-owned SQL Server query templates — TabularisDB/tabularis-sqlserver-plugin0 reactions · 1 comment
- Sep 16, 2026Add Tabularis integration guide — dragonflydb/documentation0 reactions · 3 comments
26 more on GitHub
- Sep 16, 2026Docs: add Tabularis to third-party visual interfaces — ClickHouse/ClickHouse0 reactions · 2 comments
- Sep 16, 2026Add Tabularis to third-party client tools — redis/docs0 reactions · 1 comment
- Sep 14, 2026Expose table and column comments in metadata responses — TabularisDB/tabularis-postgresql-plugin0 reactions
- Sep 14, 2026Expose table and column comments in metadata responses — TabularisDB/tabularis-db2-plugin0 reactions
- Sep 14, 2026Expose table and column comments in metadata responses — TabularisDB/tabularis-duckdb-plugin0 reactions
- Sep 14, 2026Expose table and column comments in metadata responses — TabularisDB/tabularis-oracle-plugin0 reactions
- Sep 14, 2026Expose table and column comments in metadata responses — TabularisDB/tabularis-sqlserver-plugin0 reactions
- Sep 6, 2026tabularis: 0.21.0 -> 0.22.0 — NixOS/nixpkgs0 reactions · 3 comments
- Sep 3, 2026Configurable pool size (poolMaxSize setting) — port tabularis#681 to the plugin — TabularisDB/tabularis-postgresql-plugin0 reactions
- Aug 27, 2026tabularis: 0.20.0 -> 0.21.0 — NixOS/nixpkgs0 reactions · 3 comments
- Aug 17, 2026tabularis: 0.18.0 -> 0.19.0 — NixOS/nixpkgs0 reactions
- Aug 13, 2026feat: secure BigQuery connection credentials — TabularisDB/tabularis-bigquery-plugin0 reactions
- Aug 9, 2026tabularis: 0.17.0 -> 0.18.0 — NixOS/nixpkgs0 reactions · 4 comments
- Aug 6, 2026Stage postgres-plugin source as a parallel copy — TabularisDB/tabularis-postgresql-plugin0 reactions · 6 comments
- Aug 1, 2026Tabularis — getsolus/packages0 reactions · 6 comments
- Jul 7, 2026rework theme — NubeDev/lb0 reactions
- Jun 25, 2026Add tabularis topic — github/explore0 reactions · 2 comments
- Jun 21, 2026tabularis: note upstream permission to publish — flatpark/flatpark0 reactions
- Jun 20, 2026Add tabularis (dev.tabularis.Tabularis) — flatpark/flatpark0 reactions
- Jun 18, 2026Application for tabularis — 1Password/for-open-source0 reactions · 2 comments
- Jun 16, 2026Add io.github.tabularisdb.Tabularis — flathub/flathub0 reactions · 4 comments
- May 17, 2026🧹 Autonomous Engine Health Report: 17 May 2026 — nubenetes/awesome-kubernetes0 reactions
- May 14, 2026💎 Knowledge Update & Optimization: 14 May 2026 — nubenetes/awesome-kubernetes0 reactions
- May 14, 2026💎 Knowledge Update & Optimization: 14 May 2026 — nubenetes/awesome-kubernetes0 reactions
- May 14, 2026💎 Knowledge Update & Optimization: 14 May 2026 — nubenetes/awesome-kubernetes0 reactions
- May 14, 2026💎 Knowledge Update & Optimization: 14 May 2026 — nubenetes/awesome-kubernetes0 reactions
On Bluesky · 4
- Sep 6, 2026様々なデータベースに対応したオープンソースのGUIクライアント。Linux, Windows, macOS対応。MCP機能も搭載。 — @matsuu.bsky.social3 likes and reposts
- Sep 6, 2026GitHub - TabularisDB/tabularis: Open-source desktop SQL workspace for PostgreSQL, MySQL/MariaDB, SQLite and 15+ more databases like DuckDB,… — @tech-trending.bsky.social1 likes and repost
- Sep 6, 2026#🔖テクノロジー GitHub - TabularisDB/tabularis: Open-source desktop SQL workspace for PostgreSQL, MySQL/MariaDB, SQLite and 13+ more databases… — @hatena-bookmark.bsky.social1 likes and repost
- Sep 3, 20262/3 Built on Tabularis, the open source DB client 💙 Star it, fork it, break it: 👉 github.com/TabularisDB/tabularis — @tabularis.bsky.social0 likes and reposts · 1 reply
On Hacker News · 1
- Apr 25, 2026Tabularis: A lightweight, cross-platform database client for developers2 points
In this repository3 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- tabularis-pr-reviewSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
28 rules. About 0 are common, 19 are distinctive, and 9 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈19
Distinctive · estimate
This author's own choices. Worth a look.
9
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 8
Use this skill when building or updating a database plugin for Tabularis.
- Distinctive: line 15
Use the modern plugin manifest, not the old minimal format
- Very specific: line 17
Keep the plugin modular instead of concentrating logic in a single main.rs
- Distinctive: line 18
Add unit tests for pure utilities and SQL generation
- Distinctive: line 22
Prefer this structure for a new plugin repository:
- Very specific: line 52
Keep src/main.rs thin. It should mostly parse requests, dispatch methods, and serialize responses.
- Distinctive: line 56
Read the current plugin manifest shape in:
- Distinctive: line 60
Read the JSON-RPC expectations in:
- Distinctive: line 64
Read a built-in driver with broad coverage to understand expected behaviors:
- Distinctive: line 66
Read plugin-loading behavior and modern feature flags in:
- Distinctive: line 92
Do not advertise support you cannot back with working handlers.
- Distinctive: line 110
Use modern optional fields when useful:
- Distinctive: line 131
Use the built-in MySQL driver as the feature benchmark, not as text to copy.
- Distinctive: line 169
If a method is not safe to emulate, fail explicitly instead of faking success.
- Very specific: line 173
When the manifest declares "routine_management": true, the host shows run / create / edit / drop actions for routines.
- Very specific: line 175
optional: if the plugin does not implement one, the host answers the JSON-RPC "method not found" error (-32601) with a dialect-neutral …
- Distinctive: line 202
Keep settings in the manifest and resolve them in a dedicated config path, not inline in handlers.
- Distinctive: line 212
Avoid UI extensions that only decorate the product without improving DB-specific workflows.
- Distinctive: line 216
Always add unit tests for pure logic:
- Distinctive: line 225
Prefer pure utility modules so tests stay fast and deterministic.
- Very specific: line 227
If the plugin includes a JSON-RPC smoke binary like src/bin/test_plugin.rs, use it to simulate Tabularis requests over stdio.
- Very specific: line 236
verify manifest.json matches current Tabularis schema and capabilities
- Distinctive: line 237
verify any advertised capability has corresponding handler behavior
- Distinctive: line 238
verify unsupported operations return clear errors
- Very specific: line 243
Keep code split by responsibility.
- Distinctive: line 244
Add unit tests for extracted utility logic
- Distinctive: line 245
When updating this repo itself, follow AGENTS.md requirements including GitNexus impact analysis before editing existing symbols
- Very specific: line 246
Use pnpm for frontend-side validation in this repo and cargo for plugin validation
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill 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
Tabularis Plugin Driver
Use this skill when building or updating a database plugin for Tabularis.
The skill is optimized for this repository. Follow AGENTS.md, the files in .rules/, and the current plugin-system behavior in src-tauri/src/plugins/ and src/types/plugins.ts.
Goals
- Build a Rust plugin that speaks Tabularis JSON-RPC over stdin/stdout
- Use the modern plugin manifest, not the old minimal format
- Aim for broad feature coverage comparable to the built-in MySQL driver where the target database supports it
- Keep the plugin modular instead of concentrating logic in a single
main.rs - Add unit tests for pure utilities and SQL generation
Default Repo Layout
Prefer this structure for a new plugin repository:
plugin-root/
├── Cargo.toml
├── manifest.json
├── README.md
├── src/
│ ├── main.rs
│ ├── rpc.rs
│ ├── client.rs
│ ├── error.rs
│ ├── models.rs
│ ├── handlers/
│ │ ├── mod.rs
│ │ ├── metadata.rs
│ │ ├── query.rs
│ │ ├── crud.rs
│ │ └── ddl.rs
│ └── utils/
│ ├── mod.rs
│ ├── identifiers.rs
│ ├── values.rs
│ ├── types.rs
│ └── pagination.rs
├── src/bin/
│ └── test_plugin.rs
└── tests/ # only if integration tests are worth the overheadKeep src/main.rs thin. It should mostly parse requests, dispatch methods, and serialize responses.
Required Research Before Coding
- Read the current plugin manifest shape in:
plugins/manifest.schema.jsonsrc/types/plugins.tssrc-tauri/src/plugins/manager.rs
- Read the JSON-RPC expectations in:
plugins/PLUGIN_GUIDE.mdsrc-tauri/src/plugins/driver.rssrc-tauri/src/plugins/rpc.rs
- Read a built-in driver with broad coverage to understand expected behaviors:
src-tauri/src/drivers/mysql/mod.rs
- Read plugin-loading behavior and modern feature flags in:
src/hooks/useDrivers.tssrc/utils/connectionStringParser.tssrc/utils/driverCapabilities.ts
Implementation Workflow
1. Define plugin scope
Decide which capabilities are truly supported by the target database and driver library:
schemasviewsroutinesfile_basedfolder_basedconnection_stringconnection_string_exampleidentifier_quotealter_primary_keyalter_columncreate_foreign_keysmanage_tablesreadonlyno_connection_required
Do not advertise support you cannot back with working handlers.
2. Create a modern manifest
At minimum define:
idnameversiondescriptiondefault_portexecutablecapabilitiesdata_typesdefault_usernamecoloricon
Use modern optional fields when useful:
settingsui_extensions
See references/manifest-checklist.md.
3. Build a modular RPC surface
Implement the request loop in main.rs, but move logic out immediately:
rpc.rs: request parsing, success/error helpers, method routing supportclient.rs: connection config, client creation, pooling or reuse key logichandlers/metadata.rs: databases, schemas, tables, columns, indexes, foreign keys, views, routineshandlers/query.rs:test_connection,ping,execute_query,count_query,explain_query_planif possiblehandlers/crud.rs:insert_record,update_record,delete_recordhandlers/ddl.rs: SQL generation helpers and DDL RPC methodsutils/*: quoting, escaping, value formatting, type normalization, pagination math
4. Target broad feature coverage
Use the built-in MySQL driver as the feature benchmark, not as text to copy.
For each feature area, classify it:
supported: implement fullypartially_supported: implement with explicit limitationsunsupported: return an accurate error or empty result as appropriate
Prioritize these methods:
test_connectionget_databasesget_schemasget_tablesget_columnsget_foreign_keysget_indexesget_viewsget_view_definitionget_view_columnsget_routinesget_routine_parametersget_routine_definitionexecute_queryinsert_recordupdate_recorddelete_recordget_schema_snapshotget_all_columns_batchget_all_foreign_keys_batchget_create_table_sqlget_add_column_sqlget_alter_column_sqlget_create_index_sqlget_create_foreign_key_sqldrop_indexdrop_foreign_key
If a method is not safe to emulate, fail explicitly instead of faking success.
Optional routine-management methods
When the manifest declares "routine_management": true, the host shows
run / create / edit / drop actions for routines. The backing RPC methods are
optional: if the plugin does not implement one, the host answers the
JSON-RPC "method not found" error (-32601) with a dialect-neutral fallback
(CALL name(args) / SELECT name(args), generic DROP, the raw definition
as edit script). Implement only what the dialect needs:
build_routine_call_sql({ params, routine_name, routine_type, args, schema }) -> string—argsis an ordered list of{ name, mode, value: string|null, is_raw: bool }; return an executable invocation script (it is opened in the editor, so multi-statement scripts are fine — e.g. MySQL'sSET @out/CALL/SELECT @out).routine_create_template({ routine_type, schema }) -> string— starter script for a new PROCEDURE/FUNCTION in the plugin's dialect.get_routine_edit_script({ params, routine_name, routine_type, schema }) -> string— re-runnable script to alter the routine (e.g.DROP+CREATE, orCREATE OR REPLACE).drop_routine({ params, routine_name, routine_type, schema }) -> null— drop the routine; resolve overloads yourself if the dialect has them.
5. Add settings only when they solve a real problem
Typical useful settings:
- DSN name
- driver/library path
- default schema
- TLS mode
- extra connection properties
Keep settings in the manifest and resolve them in a dedicated config path, not inline in handlers.
6. Add UI extensions only when the database needs them
Examples of good reasons:
- a custom connection helper for DSN-based setup
- an advanced settings panel for database-specific options
- contextual UI for unsupported-but-important caveats
Avoid UI extensions that only decorate the product without improving DB-specific workflows.
Testing Strategy
Always add unit tests for pure logic:
- identifier quoting
- SQL builders
- type normalization
- pagination helpers
- value serialization
- capability-driven helper decisions
Prefer pure utility modules so tests stay fast and deterministic.
If the plugin includes a JSON-RPC smoke binary like src/bin/test_plugin.rs, use it to simulate Tabularis requests over stdio.
Validation Checklist
Before finishing:
cargo testcargo build --release- smoke test at least one JSON-RPC request through stdin/stdout
- verify
manifest.jsonmatches current Tabularis schema and capabilities - verify any advertised capability has corresponding handler behavior
- verify unsupported operations return clear errors
Tabularis-Specific Rules
- Comments and docs must be in English
- Keep code split by responsibility; avoid a monolithic
main.rs - Add unit tests for extracted utility logic
- When updating this repo itself, follow
AGENTS.mdrequirements including GitNexus impact analysis before editing existing symbols - Use
pnpmfor frontend-side validation in this repo andcargofor plugin validation
Common Mistakes
- copying old plugin manifests that omit modern fields
- putting connection logic, SQL generation, RPC parsing, and metadata extraction in one file
- advertising
manage_tablesoralter_columnwithout implementing the related methods - returning fake empty success for operations that should surface unsupported behavior
- skipping tests for identifier quoting and SQL generation
References
- Manifest details: references/manifest-checklist.md
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.

