ai-tools
在 DBX Studio 中添加或调试 AI 工具
DBX Studio 用户需要参考 AI 聊天工具来查询数据库。本技能提供模式读取、查询执行和数据可视化工具的定义。
스킬 ZIP 다운로드
Claude에서 업로드
설정 → 기능 → 스킬 → 스킬 업로드로 이동
토글을 켜고 사용 시작
테스트해 보기
"ai-tools" 사용 중입니다. Show me all tables in my database
예상 결과:
您的数据库有 12 个表:users、orders、products、customers、invoices、payments、inventory、suppliers、employees、departments、transactions、audit_log
"ai-tools" 사용 중입니다. Generate a pie chart of orders by status
예상 결과:
生成的图表显示:已完成 (45%)、待处理 (30%)、已取消 (15%)、已退货 (10%)
보안 감사
안전All 42 static findings are false positives. The skill is documentation for DBX Studio AI tools. Detected patterns (Ruby backticks, Windows SAM, weak crypto) are markdown formatting, database references, and SQL function mentions in documentation - not executable code or security vulnerabilities.
감지된 패턴
품질 점수
만들 수 있는 것
数据库开发者查询数据
开发者在 DBX Studio 中使用 AI 聊天询问有关数据库模式的问题并运行临时查询
数据分析师可视化结果
分析师在 AI 聊天界面中直接从 SQL 查询结果生成图表
AI 工具开发者扩展系统
开发者在 DBX Studio 中添加新的 AI 工具或修改现有工具定义
이 프롬프트를 사용해 보세요
Show me all tables in my database schema
Show me the top 10 customers by order value as a bar chart
Describe the structure of the users table
Get row counts and index info for all tables
모범 사례
- 使用带引号的 SQL 标识符,如 "schema"."table"."column",以确保跨数据库兼容性
- 优先使用 Drizzle ORM 进行数据库查询,而非原始 SQL
- 使用工具描述帮助 AI 理解何时应用每个工具
피하기
- 不要通过 execute_query 工具允许非 SELECT 查询(安全风险)
- 避免在工具定义中硬编码数据库凭据
- 添加新工具时不要跳过模式验证