add-database-driver

Scaffold a new database driver for Mako's multi-database query execution system.

11|6|Updated Nov 15, 2025
One-click install
npx skills add https://github.com/mako-ai/mako --skill add-database-driver
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: add-database-driver
Source: https://github.com/mako-ai/mako/tree/main/.cursor/skills/add-database-driver
Command: npx skills add https://github.com/mako-ai/mako --skill add-database-driver

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Scaffolds a reusable pattern to add support for a new database driver to Mako's multi-database execution system, enabling quick integration and consistent query support.

Core Features & Use Cases

  • Driver scaffolding: Create the driver directory, implement the driver interface, and register with the registry.
  • Tree navigation & execution: Implement getTreeRoot, getChildren, and executeQuery to enable querying and schema discovery for the new DB type.
  • Validation & testing: Follow the provided test steps to verify tree navigation, query execution, and cancellation support.

Quick Start

Run the scaffolding steps to create a new driver directory and placeholder implementation, then replace placeholders with a real driver.

Frequently Asked Questions about add-database-driver

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add a new database driver to Mako's multi-database execution system?

To add a new database driver, you scaffold the driver skeleton, implement the driver interface, and register it in the central registry. This creates a reusable pattern to add support for a new database type to Mako's multi-database execution system.

What methods are required to implement schema introspection and query execution for a new database driver?

Implementing schema introspection and query execution requires the getMetadata, getTreeRoot, getChildren, and executeQuery methods. These enforce schema discovery and query execution, with executeQuery requiring AbortSignal support for cancellation.

How does query cancellation work when executing queries through a custom database driver?

Query cancellation works by passing an AbortSignal to the required executeQuery method. This AbortSignal support is enforced during driver scaffolding, and optional cancellation steps can be validated through the provided testing procedures.

What testing steps are needed to verify a newly scaffolded database driver?

To verify a newly scaffolded database driver, you follow the provided test steps to validate tree navigation, query execution, and cancellation support. This ensures the driver correctly implements schema discovery and query handling before integration.

Do I need to manually register a scaffolded database driver in the driver registry?

Yes, you need to register the scaffolded database driver in the central driver registry. This registration step is a core part of the scaffolding process and enables quick integration and consistent query support for the new database type.