Skip to main content

eosphoros-ai/DB-GPT

Dernière activité source enregistrée
Catalogue SkillsMP mis à jour
skills collectés
61
Étoiles GitHub
20 317
Forks GitHub
3 010

Installer avec un assistant IA

Copiez ce prompt dans l’assistant IA que vous utilisez.

Chargement du README du dépôt…

Skills dans ce dépôt

Affichage de 40 skills collectés sur 61.

métier
non classé
description

解读单条 SQL 的执行计划,定位全表扫描、索引失效、排序与锁等待证据。

Langue du texte source : chinois

mis à jour
métier
non classé
description

数据库健康巡检技能。用 db_metrics 建立连接数、QPS/TPS、慢查询率、缓冲池命中率、磁盘空间与 IO、复制延迟、锁等待等多维基线,对比阈值与历史趋势,输出带分级与整改建议的巡检报告。触发词包括"巡检""健康检查""体检""健康度""数据库状态""水位""容量""连接数打满""复制延迟""主从延迟""磁盘快满""缓冲池命中率""例行检查""inspection""health check"。全程只读,不执行任何变更。

Langue du texte source : chinois

mis à jour
métier
non classé
description

索引优化建议技能。基于 index_info 的现有索引与基数、slow_log 的查询模式聚类、explain 的计划判读,生成组合索引候选、识别重复与未使用索引、评估写入放大与体积代价,并输出 ADD INDEX / DROP INDEX 提案(含在线 DDL 方案与回滚)。触发词包括"索引""加索引""建索引""索引优化""索引建议""组合索引""覆盖索引""冗余索引""重复索引""未使用索引""索引失效""该不该加索引""index advisor""ADD INDEX"。只出提案,绝不自动执行 DDL。

Langue du texte source : chinois

mis à jour
métier
non classé
description

数据库画像与治理技能。生成目标库的结构与容量画像(表体积/行数分布、膨胀与碎片、无主键表、大字段与 TEXT/BLOB 滥用、冷热数据分布、索引冗余、命名与注释规范),并给出分层治理建议与归档/分区/拆分路线图。触发词包括"profile""画像""数据库画像""治理""数据治理""表膨胀""碎片""碎片率""无主键""大字段""冷热分层""归档""历史数据""容量规划""分库分表""瘦身""优化存储""库太大"。只出画像与提案,不自动执行任何变更。

Langue du texte source : chinois

mis à jour
métier
non classé
description

受控 DDL 评审技能。对任何结构变更(ADD/DROP INDEX、ADD COLUMN、改主键、OPTIMIZE、分区、归档搬迁)做破坏性分级 L0-L3、锁影响与耗时预估、复制延迟风险评估、在线 DDL 方案选型(INPLACE/LOCK=NONE、gh-ost、pt-online-schema-change)、回滚预案与审批要求判定;生产环境 DDL 默认拒绝,仅输出提案。触发词包括"DDL""变更评审""加索引风险""能不能改表""改字段""改主键""锁表""在线…

Langue du texte source : chinois

mis à jour
métier
non classé
description

数据库慢查询诊断技能。用于采集慢日志、按 SQL 指纹聚合、解读 EXPLAIN 执行计划并归类根因(缺索引/坏计划/锁等待/大扫描/SQL 写法/资源瓶颈),产出带证据链的诊断报告与待审批的修复提案。触发词包括"慢查询""慢 SQL""慢日志""查询变慢""根因""执行计划""EXPLAIN""全表扫""filesort""锁等待""接口超时""数据库卡""slow query""为什么这么慢"。只读优先,DDL/ANALYZE 仅出提案不自动执行。

Langue du texte source : chinois

mis à jour
métier
non classé
description

智能分析场景的归因分析技能。对指标异动(下滑/上涨/波动)做多维度贡献度拆解、环比同比对比、量价分解、结构效应与规模效应分离,并用排除法定位异动起点与影响范围,输出主因/次因/待验证假设三段式归因结论卡。当用户要求"归因/为什么下滑/为什么上涨/谁贡献了/异动定位/根因分析/贡献度拆解/环比同比分析/量价分解/复盘",或需要判断某个维度是否是主要原因、需要区分数据口径问题与真实业务变化时使用。触发词:归因、贡献度、拆解、为什么下滑、为什么上涨、异动、根因、环比、同比、量价分解、结构效应、复盘、attribute。

Langue du texte source : chinois

mis à jour
métier
non classé
description

基于已连接的业务数据源构建有数据证据支撑的经营仪表板,监控核心指标、跟踪变化并定位变动因素,输出可恢复的看板草稿、指标口径与数据证据。当用户要求做仪表板、看板、大盘、监控面板、经营驾驶舱或持续跟踪指标时使用。

Langue du texte source : chinois

mis à jour
métier
non classé
description

智能分析场景的图表自动匹配与出图技能。根据结果集的维度/度量/时间形态选择柱状图、折线图、饼图、散点图或组合图,完成维度度量映射、单位与口径注脚、Top N 截断,并对 ECharts option JSON 做括号配平与字段校验容错修复。当用户要求"出图/画图/可视化/图表/趋势图/占比图/对比图/柱状图/饼图/散点图/双轴图",或 chart 调用返回 option…

Langue du texte source : chinois

mis à jour
métier
non classé
description

智能分析场景的数据集圈定技能。基于语义层表白名单与血缘 join 路径把分析范围固化为数据集卡(dataset_card),禁止从全量库里猜表选表。当用户要求"圈数据集/确定分析范围/看这次分析用哪些表/绑定表范围与口径/切换数据集/数据集太大或口径不清",或在开始归因、趋势、对比、报告类分析前需要先确定表范围、join 路径、默认过滤与指标版本时使用。触发词:圈数据集、数据集、表范围、白名单、join、血缘、口径绑定、分析范围、dataset。

Langue du texte source : chinois

mis à jour
métier
non classé
description

智能分析场景的多步取数与跨步口径一致性技能。在已圈定的数据集上按分析计划分步生成并执行只读 SQL,每步引用同一指标定义(版本 pin)、统一注入默认过滤与时间粒度,保证跨图跨步口径一致。当用户要求"分析/归因/趋势/对比/占比/复盘/出报告",需要多步取数(总量趋势+维度拆解+环比同比+异动定位)、需要保证多张图口径一致、需要量价拆解或结构拆解、或出现"两次查的数不一样/口径不一致"问题时使用。触发词:多步分析、分步取数、口径一致、指标版本、pin、环比、同比、趋势、拆解、量价分解、分析报告、analyze。

Langue du texte source : chinois

mis à jour
métier
non classé
description

智能分析场景的图文报告生成技能。把多步取数结果、图表与归因结论提炼成结构化图文分析报告,按固定章节骨架装配(摘要/数据集与口径说明/多维图表分析/归因结论/建议/引用溯源附录),生成引用 chips(指标@版本、表与 join、SQL 步骤、命中样例),并通过 report_export 导出 HTML(可分享)或 PDF(可归档)。当用户要求"出报告/生成报告/图文报告/周报月报/经营分析/导出 HTML 或…

Langue du texte source : chinois

mis à jour
métier
non classé
description

查询指标定义、版本与默认过滤,按标识回源权威语义口径。

Langue du texte source : chinois

mis à jour
métier
non classé
description

Precise NL2SQL generation with validation-driven self-correction. Use after semantic-linking has provided authoritative context (metric expression, default filters, join paths, table whitelist, column enums) to generate one correct, replayable, read-only SQL…

Langue du texte source : chinois

mis à jour
métier
non classé
description

Read-only safe execution and cost guardrails. Use after a SQL passes sql.validate and needs to run on a read replica with cost estimation, approval routing (confirm on high-cost scans), and enforcement of timeout / row-limit / row-level-security / soft-delete…

Langue du texte source : chinois

mis à jour
métier
non classé
description

Result set export to CSV / Excel. Use when the user needs to download / save / email a report, or when the preview hit max_rows (default 1000) and the full set must be persisted; enforces column-type fidelity, PII masking, and export row-count approval.

Langue du texte source : chinois

mis à jour
métier
non classé
description

Semantic retrieval and authoritative definition loading. Use when mapping natural-language business terms (e.g., "valid GMV", "ARPU", "East China", "active users") to authoritative metric definitions, table schemas, column enums, and guardrail rules in the…

Langue du texte source : Plusieurs langues

mis à jour
métier
non classé
description

上传一份年度报告 PDF,解读经营表现、利润质量、现金流与资产负债,并关联原文依据。

Langue du texte source : chinois

mis à jour
métier
non classé
description

上传两到五份年度报告 PDF,比较同年多家公司或同公司跨年的表现,解释可比口径和数据缺口。

Langue du texte source : chinois

mis à jour
métier
non classé
description

专用财报工具的提取、专题分析、复核、发布与引用规则。

Langue du texte source : chinois

mis à jour
métier
non classé
description

按委托立场逐条审查合同文本,从效力、金钱、时间、控制权、知识产权与退出六个维度识别风险,输出 P0-P3 分级风险清单、缺失条款检查表与可直接替换的修改建议文本。

Langue du texte source : chinois

mis à jour
métier
non classé
description

针对已发生的争议梳理请求权基础与构成要件,核验诉讼时效与管辖,比较协商、调解、仲裁、诉讼多路径的成本与执行难度,输出证据清单、行动时间表与升级判断。

Langue du texte source : chinois

mis à jour
métier
non classé
description

基于已核验的事实与法律依据起草律师函、催告函、法律意见书与起诉状要点,按固定要件组装并按三段式组织内容,未知信息用占位符保留,输出可直接进入复核流程的文书初稿。

Langue du texte source : chinois

mis à jour
métier
non classé
description

受理法律需求并把散乱材料整理成结构化的事实与争点摘要,明确委托立场、主体关系、时间线、诉求与缺失信息,产出后续检索、审查和文书起草共用的唯一事实底稿。

Langue du texte source : chinois

mis à jour
métier
non classé
description

针对具体争点检索法律法规、司法解释与裁判案例,强制通过检索与正文阅读核验条文原文和效力状态,输出带来源链接与核查日期的依据表,禁止编造条号与案号。

Langue du texte source : chinois

mis à jour
métier
non classé
description

Build a physical data dictionary from authorized metadata. Use for field documentation or dictionary CSV export. Do not invent business definitions or scan business rows.

Langue du texte source : chinois

mis à jour
métier
non classé
description

Review schema design against supplied business requirements. Use for entity modeling or schema evolution proposals. Do not apply DDL or assume missing business rules.

Langue du texte source : chinois

mis à jour
métier
non classé
description

Build physical ER diagrams from declared keys and foreign keys. Use for schema relationships or ER documentation. Do not present inferred joins as lineage.

Langue du texte source : chinois

mis à jour
métier
non classé
description

Produce traceable schema documentation with dictionary and relationships. Use for database handover or architecture reports. Do not claim full coverage from partial metadata.

Langue du texte source : chinois

mis à jour
métier
non classé
description

Evaluate backup strategy and design recovery plans — RPO/RTO check, full + binlog chains, point-in-time recovery, accidental-delete rollback via binlog or shadow-table restore, and recovery-drill verification.

Langue du texte source : chinois

mis à jour
métier
non classé
description

Review a MySQL change plan (DDL, data migration, parameter tuning, archiving) — assess online-DDL feasibility, locking and space cost, pick gh-ost/pt-osc/native INPLACE, and produce a step-by-step executable plan with rollback and verification.

Langue du texte source : chinois

mis à jour
métier
non classé
description

Handle a live MySQL incident — classify the symptom, walk the matching decision tree to find root cause, propose safe mitigation first, then produce a timeline-based postmortem with action items.

Langue du texte source : chinois

mis à jour
métier
non classé
description

Run a structured health patrol over a MySQL instance — resources, connections, locks, replication, space, schema risks and config drift — producing a graded report with an actionable issue list and owners.

Langue du texte source : chinois

mis à jour
métier
non classé
description

Internal MySQL operations knowledge base — metric thresholds, symptom-to-root-cause decision trees, read-only diagnostic command library, and safety red lines. Referenced by other skills, not shown in the user menu.

Langue du texte source : chinois

mis à jour
métier
non classé
description

Turn raw patrol / incident / slow-query data into ops daily & weekly reports, capacity trends, governance progress and management-facing summaries — conclusion first, quantified, action-tracked.

Langue du texte source : chinois

mis à jour
métier
non classé
description

Diagnose a single SQL or a batch of slow queries — reads EXPLAIN/EXPLAIN ANALYZE output, indexes and table stats, locates the cost driver, and returns a rewritten SQL plus index design with measured expectations.

Langue du texte source : chinois

mis à jour
métier
non classé
description

Review MySQL configuration and resource allocation against the actual workload — memory budget, redo/undo, flush policy, connections, IO settings and 8.0-specific switches — with expected effect, risk and rollback for each change.

Langue du texte source : chinois

mis à jour
métier
non classé
description

Recommend index candidates from supplied queries and existing indexes. Use for index advice or redundancy review. Do not create indexes or promise measured gains.

Langue du texte source : chinois

mis à jour
métier
non classé
description

Review supplied SQL or DDL as text for compatibility and rollout risk. Use before database changes. Do not execute DDL, writes or destructive validation.

Langue du texte source : chinois

mis à jour
métier
non classé
description

Diagnose a supplied SQL using schema, indexes and plain EXPLAIN. Use for slow query analysis or an optimization report. Do not execute business queries or changes.

Langue du texte source : chinois

mis à jour
Affichage de 40 skills collectés sur 61.