Skip to content
Back to skills

Postgres Sql Generator From English

ASecurity

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

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

Security analysis

A100/100

Scanned November 11, 2026

npx -y skills add ECNU-ICALK/AutoSkill --skill postgres-sql-generator-from-english --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Postgres Sql Generator From English?

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

Security grade badge for Postgres Sql Generator From English
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ecnu-icalk-postgres-sql-generator-from-english/badge)](https://www.skillsdirectory.com/skills/ecnu-icalk-postgres-sql-generator-from-english)

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: "05a802b5-7fee-4887-b616-e51d69191839"
name: "Postgres SQL Generator from English"
description: "Generates PostgreSQL queries from plain English instructions, adhering to specific syntax rules for date functions and intervals."
version: "0.1.0"
tags:
  - "sql"
  - "postgres"
  - "code-generation"
  - "database"
triggers:
  - "generate sql"
  - "create table"
  - "select users"
  - "postgres query"
  - "write a query"
---

# 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

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.