跳到主要内容
知仓学习社ZHICANG

ontoly-software-graph

Use Ontoly's deterministic Software Graph and MCP capabilities for repository architecture, request tracing, dependency analysis, configuration look…

不碰外部(只输出文字)无严重或高危命中mxyhi/ok-skills

它会碰到什么

扫了多少1 个文本文件,3 KB
它会碰到什么不碰外部(只输出文字)
命中总数0 处
命中统计严重 0 · 高 0 · 中 0 · 低 0

这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。

技能内容

Ontoly Software Graph

Use this skill when a coding agent needs graph-backed understanding of a TypeScript repository. Ontoly is the source of truth; the skill only teaches the workflow.

When to Use

  • Explain repository architecture or package/module topology
  • Trace a route, controller, service, function, or dependency path
  • Find services, controllers, providers, modules, routes, configuration, or environment variables
  • Estimate impact before refactoring or deleting code
  • Audit unresolved imports, circular dependencies, dead code, semantic coverage, or graph quality
  • Produce onboarding, documentation, or architecture-review notes with deterministic evidence

Workflow

  1. Check whether an Ontoly graph already exists: .ontoly/, SoftwareGraph.json, diagnostics.json, validation reports, graph hash, or MCP setup.
  2. If the graph is missing and local analysis is allowed, run:
   ontoly build .
  1. Inspect graph health before answering: diagnostics, graph hash, semantic coverage, trust or quality score, framework detection, and build timestamp.
  2. Prefer Ontoly CLI or MCP capabilities over repository search for graph-answerable questions.
  3. Search source files only when Ontoly cannot answer, the graph is stale or incomplete, or the user explicitly asks for file-level verification.
  4. Always cite graph evidence: node IDs, edge types, file paths, source locations, diagnostics, framework analyzer output, and confidence.

Capability Map

  • Architecture review: ExplainArchitecture
  • Dependency analysis: FindDependencies
  • Impact analysis: ImpactAnalysis
  • Request tracing: TraceExecution
  • Configuration analysis: FindConfigurationUsage
  • Framework analysis: FrameworkReport
  • Dead-code review: FindDeadCode

Response Pattern

Return the direct answer first, then evidence:

AuthController handles authentication.

Evidence:
- node: class:src/auth/auth.controller.ts:AuthController
- route edges: HANDLES POST /login and POST /logout
- dependency edges: USES AuthService and JwtService

Confidence: high, because the graph has controller, route, and dependency edges with source locations.

Fallbacks

  • If the graph is missing, build it first when allowed.
  • If validation fails, report the graph issue and verify only the affected area with source search.
  • If several nodes match, show candidates with package/module context.
  • If nothing matches, return NOT_FOUND with the closest graph evidence instead of inventing an answer.

想直接用这个技能?

本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。

它属于哪个仓库

星标★ 489
本站分层T2
该仓技能数37
原文件路径ontoly-software-graph/SKILL.md

同一个仓库里的其他技能

看这个仓库的全部 37 个技能