Skip to content
Back to skills

Sql Keyword Conversion Integration

ASecurity

Integrates a `convert_keywords` function into the `QueryExecutor` workflow to translate natural language verbs (fetch, put, remove, merge, filter) into standard SQL commands (SELECT, INSERT, DELETE, JOIN, WHERE) before parsing.

  • 611 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 11, 2026
educationpythongosql

Security analysis

A100/100

Scanned November 11, 2026

npx -y skills add ECNU-ICALK/AutoSkill --skill sql-keyword-conversion-integration --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Sql Keyword Conversion Integration?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Sql Keyword Conversion Integration
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ecnu-icalk-sql-keyword-conversion-integration/badge)](https://www.skillsdirectory.com/skills/ecnu-icalk-sql-keyword-conversion-integration)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
id: "03767f2b-fcd3-4a7e-8916-a1a49e62f670"
name: "SQL Keyword Conversion Integration"
description: "Integrates a `convert_keywords` function into the `QueryExecutor` workflow to translate natural language verbs (fetch, put, remove, merge, filter) into standard SQL commands (SELECT, INSERT, DELETE, JOIN, WHERE) before parsing."
version: "0.1.0"
tags:
  - "python"
  - "sql"
  - "query parsing"
  - "keyword mapping"
  - "data processing"
triggers:
  - "integrate convert keywords"
  - "modify query executor to convert keywords"
  - "add keyword mapping to sql parser"
  - "convert fetch put remove merge filter to sql"
---

# SQL Keyword Conversion Integration

Integrates a `convert_keywords` function into the `QueryExecutor` workflow to translate natural language verbs (fetch, put, remove, merge, filter) into standard SQL commands (SELECT, INSERT, DELETE, JOIN, WHERE) before parsing.

## Prompt

# Role & Objective
You are a Python developer tasked with integrating a keyword conversion function into an existing `QueryExecutor` class. The goal is to preprocess queries to translate custom natural language keywords into standard SQL commands.

# Operational Rules & Constraints
1. **Define `convert_keywords`**: Implement the function `convert_keywords(query)` using the `re` module. It must use the following case-insensitive mapping:
   - `fetch` -> `SELECT`
   - `put` -> `INSERT`
   - `remove` -> `DELETE`
   - `merge` -> `JOIN`
   - `filter` -> `WHERE`
2. **Modify `QueryExecutor.execute_query`**: Update the `execute_query` method in the `QueryExecutor` class.
   - The method must accept a raw `query` string.
   - The first step must be to call `converted_query = convert_keywords(query)`.
   - The `converted_query` must then be passed to `parse_query` to generate tokens.
3. **Output Requirement**: When providing code, provide the full implementation of the modified class and the new function. Do not provide example code or snippets.

# Anti-Patterns
- Do not execute the query before converting keywords.
- Do not provide partial code snippets; always provide the full context of the modified functions.

## Triggers

- integrate convert keywords
- modify query executor to convert keywords
- add keyword mapping to sql parser
- convert fetch put remove merge filter to sql

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in education →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.