sql-queries-tool
79为 DBX Studio 生成 SQL 查询
数据库用户需要可靠的 SQL,使其匹配连接类型和架构。此技能会指导 Claude、Codex 和 Claude Code 检查架构、编写只读查询,并清晰解释结果。
生成 DBX Studio SQL 查询
跨数据库方言编写正确的 SQL 既慢又容易出错。此技能可帮助 Claude、Codex 和 Claude Code 创建安全的 DBX Studio 查询。
将此请求复制给你的智能体,其中包含权威 Skill 页面和清单。
Review the Skillstore skill "sql-queries" from https://skillstore.io/skills/dbxstudio-sql-queries.md and its manifest at https://skillstore.io/api/skills/dbxstudio-sql-queries/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.你的智能体仍应展示其计划,并按安全策略请求必要确认。
当 AI Agent、爬虫或脚本需要干净上下文,而不是读取完整页面时,请使用这些链接。
正在使用“sql-queries”。 Show revenue by month for the last year.
预期结果:
该技能会验证日期和金额列,按月对收入分组,限制输出,并清晰报告最新的月度总额。
正在使用“sql-queries”。 Find each user latest order.
预期结果:
该技能使用排名方法,为每个用户返回一条最近订单,并解释哪个排序列控制结果。
正在使用“sql-queries”。 Why is my query failing in BigQuery?
预期结果:
该技能会检查方言规则、标识符引用和缺失列,然后建议修正后的只读查询结构。
All 18 static findings are false positives caused by Markdown SQL fences, inline code formatting, and a SQL window function example in SKILL.md. No prompt injection, data exfiltration intent, or executable shell command instructions were found.
分享版本化评估报告、中性徽章、嵌入卡片和引用。Skillstore 只报告证据,不判断该 Skill 是否安全。
https://skillstore.io/skills/dbxstudio-sql-queries/audits/4?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_report[](https://skillstore.io/skills/dbxstudio-sql-queries?utm_source=security_passport_badge)<a href="https://skillstore.io/skills/dbxstudio-sql-queries?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/dbxstudio-sql-queries/security.svg" alt="Skillstore security assessment" loading="lazy"></a><iframe src="https://skillstore.io/embed/skills/dbxstudio-sql-queries.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>Dbxstudio. (2026). sql-queries security audit report (audit version 4) [Author version unspecified]. Skillstore. https://skillstore.io/skills/dbxstudio-sql-queries/audits/4@techreport{dbxstudio-dbxstudio-sql-queries-2026,
author = {Dbxstudio},
title = {sql-queries security audit report (audit version 4)},
institution = {Skillstore},
year = {2026},
number = {4},
url = {https://skillstore.io/skills/dbxstudio-sql-queries/audits/4},
note = {Author version unspecified}
}cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "sql-queries security audit report (audit version 4)"
version: "unspecified"
type: report
authors:
- name: "Dbxstudio"
date-released: "2026-07-06"
url: "https://skillstore.io/skills/dbxstudio-sql-queries/audits/4"
identifiers:
- type: other
value: "skillstore:dbxstudio-sql-queries:audit:4"
description: "Skillstore immutable audit report identifier"
创建有限制的 SELECT 查询,用于在 DBX Studio 中检查客户记录、趋势和分群。
当查询返回意外结果时,检查 SQL 结构、列名、联接和筛选条件。
为收入、活跃度和运营仪表板生成 CTEs、聚合和窗口函数。
使用 DBX Studio 架构工具为我指定的表编写一个有限制的 SELECT 查询。用简单语言解释结果。
创建一个感知方言差异的查询,按日期和类别汇总近期活动。先验证表名和列名。
审查我的 SQL 查询,检查错误、缺失列、不安全的假设和方言问题。建议一个修正后的只读版本。
构建一个基于 CTE 的分析查询,包含排名、聚合和清晰的结果解读。除非我要求所有行,否则使用限制。
作者
Dbxstudio许可证
MIT
Skillstore 修订
r1
版本提示
作者未声明版本。
引用
34f316ba14ef36c7a620fc09f2676d2429997a77
维护新鲜度
2026/7/18
使用量
5 次下载 · 151 次浏览
文件结构
📄 SKILL.md
为 DBX Studio 生成 SQL 查询
数据库用户需要可靠的 SQL,使其匹配连接类型和架构。此技能会指导 Claude、Codex 和 Claude Code 检查架构、编写只读查询,并清晰解释结果。
在 DBX Studio 中探索数据库模式
数据库团队在分析前通常需要快速查看表、关系和数据质量。此技能会指导 Claude、Codex 或 Claude Code 完成结构化的 DBX Studio 剖析工作流。
优化 DBX Studio AI 提示词
DBX Studio 需要在流式传输和工具提供方之间保持一致的助手行为。此技能指导针对语气、工具顺序、响应格式和 SQL 安全性的提示词编辑。
梳理 DBX Studio AI 工具集成
DBX Studio 团队需要一份可靠的地图,用于了解 AI 工具定义、提供商和执行路径。该技能会将 Claude、Codex 和 Claude Code 指向相关实现区域。
创建清晰的数据可视化
团队需要从数据库问题中获得清晰图表,而无需手动设置图表。此技能指导 DBX Studio 的图表选择、SQL 数据查询和 generate_chart 配置。
使用 DBX Studio 探索数据库结构
探索不熟悉的数据库可能既缓慢又不一致。此技能为 DBX Studio 提供可重复的工作流,用于 schema 审查、分析、关系识别和质量检查。
优化 Supabase Postgres 性能
由 supabase
慢查询和架构漂移会让 Postgres 应用难以扩展。此技能为 AI 智能体提供基于 Supabase 的索引、RLS、连接池和诊断规则。
从自然语言构建 SQL 查询
由 zhangchenlai-dev
根据业务请求编写正确的 SQL 可能缓慢且容易出错。此技能可帮助将请求转换为 SQL、审查执行计划,并建议查询改进方案。
使用 BigQuery 构建 Looker Studio 仪表板
由 supercent-io
BigQuery 仪表板可能会变得缓慢、成本高且难以治理。此技能可帮助创建 Looker Studio 数据源、SQL 模型、过滤器、布局和访问控制。
设计数据科学实验与模型
由 alirezarezvani
当实验、特征和模型缺乏清晰的统计结构时,数据科学项目往往会失败。此技能为 Claude、Codex 和 Claude Code 提供用于实验、特征工程和模型评审的引导式工作流。
设计生产数据库架构
由 softaworks
团队需要既能保持数据完整性,又能在产品增长时维持高性能的架构。此技能可将领域需求转化为带有索引、约束和迁移指导的 SQL 或 MongoDB 设计。
优化 Postgres 查询和架构
由 sickn33
慢查询和不安全的数据库模式在常规代码审查中很难发现。此技能为 Claude、Codex 和 Claude Code 提供有关索引、RLS、连接池、事务和诊断的结构化 Postgres 指导。