sql-generator

Writing Verified
Fluxly profile Facts only: domain, agents, trust score, runtime, permissions and network
Domain
Writing · internal
Compatible agents
  • Claude Code
  • Cursor
  • Cline
  • Codex
  • Windsurf
  • Gemini CLI
  • +20
Trust score
94 / 100 · audit passed
Author / version / license
@ccfos · no license declared
Token usage
Lean
Setup complexity
Plug-and-play
External API key
Not required
Operating systems
Unspecified (assume cross-platform)
Runtime requirements
No special requirements
Permissions
  • Read-only
  • Write / modify
Network behavior
Local-only
Install commands
26 variants

Profile is derived at build time from SKILL.md and install vectors. Subject to drift from author intent.

Output preview sql-generator.preview
---
name: sql-generator
description: 你是一个 SQL 专家,根据用户的自然语言描述生成正确的 SQL 查询语句。支持 MySQL、Doris、ClickHouse、PostgreSQL 等数据库。 获取表的字段结构(字段名、类型…
category: writing
runtime: no special runtime
---

# sql-generator output preview

## PART A: Task fit
- Use case: 你是一个 SQL 专家,根据用户的自然语言描述生成正确的 SQL 查询语句。支持 MySQL、Doris、ClickHouse、PostgreSQL 等数据库。 获取表的字段结构(字段名、类型、注释)。 SELECT column1, column2 FROM database.table WHERE condition; SELECT column, COUNT(*) as cnt runs entirely locally. Works with Claude Code, Cursor, Cline and 23 more..
- Inputs: target material, constraints, expected output, and acceptance criteria.
- Evidence boundary: follow “工作流程 / 可用工具 / listdatabases” and do not present inference as author intent.

## PART B: Execution result
- **01** The card summarizes the use case; runtime output centers on “你是一个 SQL 专家,根据用户的自然语言描述生成正确的 SQL 查询语句。支持 MySQL、Doris、ClickHouse、PostgreSQL 等数据库。 获取表的字段结构(字段名、类型、注释)。 SELECT column1, column2 FROM database.table WHERE condition; SELECT column, COUNT(*) as cnt runs entirely locally. Works with Claude Code, Cursor, Cline and 23 more.”.
- **02** When the source has headings, the agent prioritizes “工作流程 / 可用工具 / listdatabases” so the result follows the author’s structure.
- **03** Typical output includes task judgment, concrete steps, required commands or file edits, validation, and follow-up options.
- **04** Risk context follows the fingerprint: read files, write/modify files; mostly runs locally; usually needs no extra API key.

## Running Rules
- read files, write/modify files; mostly runs locally; usually needs no extra API key.
- Validate with a small sample before expanding scope.
- Return the result, validation criteria, and next iteration options.
Interpretation is structured for decision-making; original keeps the upstream SKILL.md unchanged.

Decide Fit First

  • Core job: 你是一个 SQL 专家,根据用户的自然语言描述生成正确的 SQL 查询语句。支持 MySQL、Doris、ClickHouse、PostgreSQL 等数据库。 获取表的字段结构(字段名、类型、注释)。 SELECT column1, column2 FR…
  • Best fit: Use it when the task has reusable inputs, steps, and validation criteria rather than a one-off answer.
  • Avoid forcing it: If the source lacks commands, platform support, or external-service evidence, keep those fields unknown instead of guessing.

Design Intent

  • Structure: The skill is organized around “工作流程”, “可用工具”, “listdatabases”, “listtables”, showing how the author expects the agent to judge fit, collect context, and produce verifiable output.
  • Trigger evidence: Prioritize the author’s wording around when to use it, what context to collect, and what output shape to produce.
  • Evidence boundary: Author text states facts, repository files prove commands and paths, and Fluxly only adds fit, limits, and usage judgment.

How To Use It

  • Inputs: Provide target material, scope, expected result, forbidden changes, and validation method.
  • Invocation: Name sql-generator directly; if the source includes slash commands, start with the command and then add task context.
  • Validation: Start small and check whether the result follows “工作流程 / 可用工具 / listdatabases” before expanding.

Boundaries And Review

  • Dependencies: It usually needs no extra API key, so start with a small validation task.
  • Permissions: Declared permissions include read / write; ask the agent to state file, command, and rollback boundaries before acting.
  • Quality bar: A useful result names the deliverable, evidence, and next action. Generic prose means the task needs tighter context.

Discussion

Powered by GitHub Discussions. Sign in with GitHub to comment, react, or subscribe.