sql-analysis
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "sql-analysis" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-7a7346f0910a5068a551677a3e48fdf2fc423cd750a0e7c944fea2d34e0b164f. Verify the upstream source and version against https://skillhub.cn/skills/user_1cc6a194/hive-sql-lineage before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
CLI-standard ODPS/Hive SQL project lineage analysis and knowledge-graph construction skill. Uses SQLGlot to extract table-level INSERT/SELECT/FROM/JOIN dependencies, integrates Graphify to build a code knowledge graph, and supports field-level lineage, impact analysis, and upstream/downstream dependency queries—suitable for SQL lineage and project structure analysis.
Introduction source: third_party · user_1cc6a194 · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Guided workflow for SQL data analysis using db_tools
- Testing
- Not tested
Browse files
Frontmatter
name: sql-analysis
description: Guided workflow for SQL data analysis using db_tools
tags:
- sql
- analysis
- workflow
version: 1.0.0SQL Analysis Workflow
This skill guides you through a structured data analysis workflow using database tools.
Workflow Steps
Step 1: Schema Discovery
First, understand the database schema:
Use db_tools.list_tables() to see available tables
Use db_tools.describe_table(table_name) for each relevant table
Step 2: Data Exploration
Explore the data with sample queries:
Use db_tools.execute_sql("SELECT * FROM {table} LIMIT 10")
Step 3: Analysis Query
Based on the user's question, construct and execute the analysis query.
Step 4: Result Interpretation
Analyze the results and provide insights.
Current listing version
1.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 提供专业的SQL血缘分析和知识图谱构建能力
- 适用于数据工程师处理大型SQL工程的重构和审查需求
Highlights
- 触发词覆盖全面,包括SQL血缘、表依赖、数据链路等关键场景
- 边界定义清晰,不易与其他技能混淆
Areas to improve
-
缺少When to Use章节 Reported severity: Minor
文档中没有专门的When to Use使用说明章节
Recommendation: 建议添加When to Use章节,说明何时使用此技能最为合适
-
缺少端到端示例 Reported severity: Minor
虽然有步骤划分,但缺少完整的端到端使用示例
Recommendation: 建议添加一个完整的端到端示例,展示从schema discovery到result interpretation的完整流程
Highlights
- Workflow步骤划分清晰,逻辑结构合理
- frontmatter信息完整,包含name、description、tags、version
Areas to improve
-
工具来源不明 Reported severity: Major
使用了db_tools相关函数但没有说明这些工具的来源和可用性
Recommendation: 建议明确说明db_tools的来源,或者提供替代方案确保用户能够找到并使用这些工具
-
参数替换机制不明确 Reported severity: Major
SQL查询中使用{table}占位符但没有说明如何正确替换
Recommendation: 建议详细说明参数替换的方法,或者提供安全的参数化查询方式
Highlights
- 工作流程设计合理,覆盖了数据分析的主要环节
- 提供了具体的操作步骤指导
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.