dialect-mysql

Write and debug MySQL SQL with dialect-aware syntax.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps developers write and debug MySQL SQL with proper backtick usage, MySQL-specific functions, and date formatting, reducing errors and time spent on syntax issues.

Core Features & Use Cases

  • Backtick identifiers: use column and database.table correctly to avoid reserved word conflicts.
  • Date and time formatting: DATE_FORMAT and DATE_SUB are supported for precise monthly or interval-based queries.
  • Pagination and performance: LIMIT and OFFSET syntax in MySQL, including the alternative LIMIT offset, count form.

Quick Start

Convert a standard SQL snippet to MySQL syntax and verify MySQL-specific constructs.

Frequently Asked Questions about dialect-mysql

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

FAQPage Schema
How do I format dates in MySQL using DATE_FORMAT?

DATE_FORMAT in MySQL formats date values using specific format specifiers like %Y for year and %m for month. This skill applies DATE_FORMAT to ensure precise monthly or interval-based queries while preserving your original query semantics.

When do I need to use backticks around column names in MySQL?

Backtick identifiers are required in MySQL when column or table names conflict with reserved words. This skill enforces proper backtick usage for `column` and `database`.`table` references to prevent syntax errors and reserved word conflicts.

How do I concatenate strings in MySQL syntax?

MySQL uses the CONCAT function for string concatenation rather than the standard || operator. This skill converts standard SQL concatenation to MySQL-specific CONCAT syntax, ensuring your queries execute without errors.

What is the correct LIMIT and OFFSET syntax for MySQL pagination?

MySQL pagination uses LIMIT and OFFSET, including the alternative LIMIT offset, count form for specifying row ranges. This skill enforces proper LIMIT forms to optimize pagination and performance in your data-access tasks.

How do I use DATE_SUB for interval-based queries in MySQL?

DATE_SUB in MySQL subtracts a time interval from a date value for interval-based filtering. This skill applies DATE_SUB syntax correctly to ensure accurate date arithmetic while maintaining your intended query logic.