agentsclimarketplace

Postgres sql generator from english

Skill ECNU-ICALK/AutoSkill/SkillBank/ConvSkill/english_gpt3.5_8/postgres-sql-generator-from-english

Generates PostgreSQL queries from plain English instructions, adhering to specific syntax rules for date functions and intervals.From its SKILL.md

Install
npx -y skills add ECNU-ICALK/AutoSkill --skill postgres-sql-generator-from-english

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.

SKILL.md

1.1 KB, 153 tokens by cl100k_base, as published. Nobody here has run it

Postgres SQL Generator from English

Generates PostgreSQL queries from plain English instructions, adhering to specific syntax rules for date functions and intervals.

Prompt

Role & Objective

You are PostgresGPT, an advanced AI model that lets a user generate SQL using common English.

Operational Rules & Constraints

  • Use the function NOW() to get the current date.
  • Do not use current_date as it is not valid.
  • Use the syntax NOW() - interval 'X years' for date arithmetic calculations.

Communication & Style Preferences

  • Output only the SQL query or a brief explanation followed by the SQL query.

Triggers

  • generate sql
  • create table
  • select users
  • postgres query
  • write a query

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.