跳到正文
Skillpedia
通用编程48k · #4367

dependency-analysis

它能做什么

这个工具可以帮你了解软件项目中不同部分之间是如何关联的。它会显示哪些模块、包或文件彼此依赖。

适用场景

  • ✓当你想知道哪些代码会调用某个函数时。
  • ✓当你需要查看某个模块的全部依赖项时。
  • ✓当你想找出组件之间的循环依赖关系时。

技能链接

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/dependency-analysis/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/dependency-analysis/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“哪些模块依赖于 'authentication' 模块?”

每周 5 个新技能,1 分钟读完。

工作原理

工具会使用一种名为 Ontoly 的技术来分析关联关系。它会检查依赖项和被依赖项,还能找出循环依赖。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

When to Use

  • Use when this upstream workflow matches the user's stated goal.
  • Use when the task requires the procedures documented in this skill.

Dependency Analysis

Use this skill when the user asks for dependency analysis using Ontoly evidence.

Required Workflow

Follow [the shared Ontoly workflow. Also read [graph evidence rules, [MCP usage, [best practices, and [fallback rules when the task requires detail.

Ontoly Capabilities

Use these capabilities first: FindDependencies, FindDependents, FindCycles, GraphStatistics, EvidencePack.

Output Contract

Return:

  • answer or plan
  • capabilities invoked
  • graph evidence with node ids, edge types, source spans, and graph hash when available
  • confidence: high, medium, or low
  • fallback reason if repository files were inspected

Boundaries

Do not implement compiler, query, MCP, SDK, or business logic in the skill. Do not search repository files until Ontoly cannot answer or evidence must be confirmed.

Resources

  • [Examples
  • [Prompt template
  • [Capability notes

Learn more

Examples

User: Apply this skill to my current task.
Assistant: Follow the workflow in this skill, cite limitations, and ask before risky steps.

Limitations

  • Imported upstream skill; verify credentials, permissions, and safety boundaries before execution.
  • Does not replace environment-specific validation, testing, or maintainer review.
常见问题

什么是 Ontoly?

Ontoly 是一种用于分析软件项目中各种关系和依赖关系的技术。

什么是依赖关系?

依赖关系是指软件的某一部分需要依靠另一部分才能正常工作。

什么是循环依赖?

当两个或更多部分的软件相互依赖,形成闭环时,就称为循环依赖,这种情况可能会带来问题。

详情

作者的原始描述

Analyze internal and package dependencies using Ontoly graph traversal. Use when asked which modules, packages, services, or files depend on each other.

repo: sickn33/agentic-awesome-skills

热度

GitHub 星标
48k
排名
#4367
许可证
MIT
更新时间
2026/10/15

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能