数据库对象变更影响分析
原名:sql-object-impact-analysis
在修改表、列、视图或存储过程前,查清 SQL 与业务代码里的引用。
中文 Skills 技能说明
适合老项目改字段前不知道会影响哪些页面和任务的情况。交叉检查数据库对象与应用源码,整理直接引用、间接依赖、动态 SQL 盲区和需要回归的调用路径,给出影响清单。默认读取授权的代码和结构信息,不连接生产库执行变更。没有搜索到引用并不等于安全可删,迁移前还需测试、备份和人工确认。
上游能力依据
上游原始适用说明:Before modifying a table, column, stored procedure, view, or trigger in a legacy codebase, trace every place that references it — across other SQL objects (procs, views, triggers) AND application code (C#, Angular/TypeScript, JS, or any language in the repo) — and produce a structured blast-radius report so you know what breaks before you change it. Use when the user asks 'what uses this column/table/procedure', 'is it safe to change X', 'what depends on this', 'impact of renaming/dropping X', or before any schema/proc modification in an unfamiliar or legacy codebase. Not for privacy/PII exposure analysis (see data-breach-blast-radius) or query performance tuning (see sql-optimization).
上游 SKILL.md 主要章节(保留原文标题):
- When to use this
- Process
- Output Format
- Guidelines
使用边界
先确认数据口径、只读或写入权限以及备份方案。查询结果需要说明范围,任何结构或数据变更都应先预览并人工确认。
作者、翻译与许可证
- 原作者
- GitHub, Inc. 与 awesome-copilot contributors
- 中文翻译
- CEOFans翻译
- 许可证
- MIT
- 上游来源
- https://github.com/github/awesome-copilot/tree/a19b3101cc797a35de8b1c1698c13d1344703522/skills/sql-object-impact-analysis
适用范围
平台:linux、macos、windows;标签:数据与数据库、数据库对象变更影响分析、开源技能
安全提示
基础静态扫描不等于绝对安全。技能可能调用命令、浏览器、云服务或本地文件,请在最小权限环境中使用,高风险操作必须人工确认。
如发现侵权、许可证或安全问题,可在本页前台提交投诉,管理员复核后可立即下架。