Langsung ke konten
Skillpedia
Pemrograman umum48k · #5373

ontoly-software-graph

Fungsinya

Tool ini membantu memahami bagaimana sebuah proyek software diorganisasi dan bagaimana bagian-bagiannya saling terhubung. Tool ini menganalisis kode untuk membuat 'peta' yang rinci dari proyek tersebut.

Kapan dipakai

  • ✓Saat Anda ingin mengetahui arsitektur keseluruhan sebuah proyek.
  • ✓Untuk memahami dampak perubahan pada sebuah bagian kode.
  • ✓Untuk melacak bagaimana sebuah permintaan mengalir melalui berbagai bagian sistem.

Link skill

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/ontoly-software-graph/SKILL.md

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/ontoly-software-graph/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit →

Contoh permintaan ke AI

“Jelaskan arsitektur proyek ini.”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Tool ini pertama-tama memeriksa apakah 'peta' proyek sudah ada. Jika belum, tool akan membuatnya dengan menganalisis kode. Setelah itu, tool menggunakan peta ini untuk menjawab pertanyaan Anda tentang proyek.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.

Ontoly Software Graph

Overview

Ontoly builds a deterministic Software Graph from a TypeScript repository and exposes it through CLI queries, MCP capabilities, and agent skills. Use this skill when a coding agent needs evidence-backed codebase understanding before searching files directly.

This skill is an operating guide for the public Ontoly project. It does not contain compiler logic; all software understanding should come from Ontoly's generated graph, semantic model, query engine, and MCP server.

When to Use This Skill

  • Use when the user asks for repository architecture, module ownership, or onboarding help.
  • Use when tracing a request, route, controller, service, provider, dependency, or call chain.
  • Use when estimating impact for removing, renaming, or refactoring a symbol, module, package, route, or service.
  • Use when reviewing dependency topology, circular imports, dead code, configuration usage, or environment variables.
  • Use when the user explicitly wants Ontoly, Software Graph, MCP, graph validation, semantic coverage, or agent skills.

How It Works

Step 1: Verify Ontoly Is Available

Check whether the repository already has Ontoly outputs such as .ontoly/, SoftwareGraph.json, validation reports, or documented Ontoly scripts. If the ontoly command is unavailable, ask the user whether to install or use the repository's documented package manager command.

Recommended local checks:

ontoly --help
find . -maxdepth 3 \( -name "SoftwareGraph.json" -o -name ".ontoly" \) -print

Step 2: Build or Refresh the Graph

Only run a graph build in the repository the user asked about. Tell the user that graph generation may create local Ontoly artifacts before running it.

ontoly build .

If the project documents a different command, prefer the documented command over guessing.

Step 3: Check Trust, Diagnostics, and Coverage

Before answering architectural questions, inspect Ontoly diagnostics, graph statistics, trust, and semantic coverage. Treat unresolved imports, low trust, missing framework detection, or graph validation failures as answer constraints.

Use the CLI or MCP capabilities exposed by the installed Ontoly version. Prefer structured graph queries over text search.

Step 4: Use Ontoly MCP Capabilities

Start or connect to the Ontoly MCP server when the host supports MCP:

ontoly mcp

Use capabilities such as architecture summaries, dependency analysis, request tracing, impact analysis, configuration lookup, framework reports, dead-code analysis, and graph validation when available.

Step 5: Answer With Evidence

Every answer should include:

  • The Ontoly capability or query used.
  • The node, edge, route, package, or diagnostic evidence that supports the answer.
  • A confidence statement derived from graph evidence.
  • Any known limitations caused by missing graph regions or diagnostics.

Step 6: Fall Back Gracefully

Only inspect repository files directly when Ontoly cannot answer, the graph is missing, diagnostics make the graph untrustworthy for the question, or the user asks for source-level verification. When falling back, explain which graph evidence was insufficient.

Examples

Architecture Review

User asks: "Explain this repository."

Workflow:

  1. Verify or build the Ontoly graph.
  2. Check graph trust, diagnostics, detected frameworks, packages, modules, services, routes, and largest dependency hubs.
  3. Use Ontoly's architecture summary or equivalent query.
  4. Report the architecture with graph evidence and confidence.

Request Tracing

User asks: "Trace the login flow."

Workflow:

  1. Search graph nodes for authentication routes and controllers.
  2. Trace route-to-controller-to-service-to-repository relationships.
  3. Include unresolved edges or missing relationships as limitations.
  4. Avoid opening source files unless the graph cannot identify the flow.

Impact Analysis

User asks: "What breaks if I remove UserRepository?"

Workflow:

  1. Locate the graph node for UserRepository.
  2. Query callers, consumers, dependency injection edges, modules, routes, and packages that reference it.
  3. Separate direct dependents from transitive impact.
  4. Include confidence based on explicit graph relationships.

Best Practices

  • Prefer Ontoly graph queries before grep, AST parsing, or broad file search.
  • Keep graph evidence separate from inference.
  • Treat diagnostics as part of the answer, not as noise.

…

Pertanyaan umum

Apa itu 'Software Graph'?

Itu adalah peta rinci dari kode proyek yang menunjukkan bagaimana berbagai komponen (file, fungsi, dan lainnya) saling berhubungan dan bergantung satu sama lain.

Apakah saya perlu menginstal sesuatu?

Tool mungkin perlu dipasang atau disiapkan, tergantung pada apakah proyek sudah menggunakannya. Tool akan memeriksa hal ini terlebih dahulu.

Apa yang terjadi jika tool tidak menemukan informasi?

Jika 'peta' kode tidak lengkap atau bermasalah, tool akan menyebutkan keterbatasannya dan, jika diperlukan, memeriksa langsung file-file proyek.

Detail

Deskripsi asli dari pembuat

Use Ontoly's deterministic Software Graph, MCP server, and agent skills for architecture review, request tracing, impact analysis, and dependency analysis.

repo: sickn33/agentic-awesome-skills

Popularitas

Bintang GitHub
48k
Peringkat
#5373
Lisensi
MIT
Diperbarui
15/10/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa