ontoly-software-graph
यह क्या करती है
यह टूल समझने में मदद करता है कि कोई सॉफ़्टवेयर प्रोजेक्ट कैसे व्यवस्थित है और उसके हिस्से आपस में कैसे जुड़े हैं। यह कोड का विश्लेषण करके प्रोजेक्ट का एक विस्तृत "नक्शा" बनाता है।
कब इस्तेमाल करें
- ✓जब आप प्रोजेक्ट का पूरा आर्किटेक्चर जानना चाहें।
- ✓कोड का कोई हिस्सा बदलने से क्या असर पड़ेगा, यह समझने के लिए।
- ✓यह देखने के लिए कि सिस्टम के अलग-अलग हिस्सों से होकर कोई अनुरोध कैसे गुजरता है।
Skill का लिंक
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/ontoly-software-graph/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“इस प्रोजेक्ट का आर्किटेक्चर समझाओ।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
टूल पहले जांचता है कि प्रोजेक्ट का "नक्शा" पहले से बना है या नहीं। अगर नहीं, तो वह कोड का विश्लेषण करके नक्शा बनाता है। फिर उसी नक्शे की मदद से आपके सवालों के जवाब देता है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे 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:
- Verify or build the Ontoly graph.
- Check graph trust, diagnostics, detected frameworks, packages, modules, services, routes, and largest dependency hubs.
- Use Ontoly's architecture summary or equivalent query.
- Report the architecture with graph evidence and confidence.
Request Tracing
User asks: "Trace the login flow."
Workflow:
- Search graph nodes for authentication routes and controllers.
- Trace route-to-controller-to-service-to-repository relationships.
- Include unresolved edges or missing relationships as limitations.
- Avoid opening source files unless the graph cannot identify the flow.
Impact Analysis
User asks: "What breaks if I remove UserRepository?"
Workflow:
- Locate the graph node for
UserRepository. - Query callers, consumers, dependency injection edges, modules, routes, and packages that reference it.
- Separate direct dependents from transitive impact.
- 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.
…
अक्सर पूछे जाने वाले सवाल
"Software Graph" क्या है?
यह प्रोजेक्ट के कोड का एक विस्तृत नक्शा है, जो दिखाता है कि अलग-अलग हिस्से (फ़ाइलें, फ़ंक्शन आदि) एक-दूसरे से कैसे जुड़े हैं और एक-दूसरे पर कैसे निर्भर हैं।
क्या मुझे कुछ इंस्टॉल करना होगा?
यह प्रोजेक्ट में टूल पहले से इस्तेमाल हो रहा है या नहीं, इस पर निर्भर करता है। टूल पहले यही जांचेगा।
अगर टूल जानकारी न ढूंढ पाए तो क्या होगा?
अगर कोड का नक्शा अधूरा है या उसमें कोई समस्या है, तो टूल अपनी सीमाएं बताएगा और ज़रूरत पड़ने पर सीधे प्रोजेक्ट की फ़ाइलें भी देख सकता है।
जानकारी
लेखक का मूल विवरण
Use Ontoly's deterministic Software Graph, MCP server, and agent skills for architecture review, request tracing, impact analysis, and dependency analysis.
लोकप्रियता
- GitHub स्टार
- 48k
- रैंकिंग में स्थान
- #5373
- लाइसेंस
- MIT
- अपडेट की गई
- 15/10/2026
कमेंट
- …
इस repository की और skills
00-andruia-consultant
48kआपके एजेंट को AI प्रोजेक्ट शुरू करने या उन्हें बेहतर बनाने में मदद करता है। यह code का विश्लेषण करता है, tools सुझाता है और स्पेनिश भाषा में action plan बनाता है।
007
48kआपका एजेंट security audit और threat modeling करता है। यह प्रोजेक्ट को हमलों और कमजोरियों से बचाने में काम आता है।
10-andruia-skill-smith
48kआपके एजेंट को AI tools बनाने या उन्हें बेहतर करने में मदद करता है। यह तय करता है कि tools कैसे काम करेंगे, documentation लिखता है और structure की जांच करता है।
20-andruia-niche-intelligence
48kआपका एजेंट किसी खास industry का summary बनाता है। भरोसेमंद स्रोतों की मदद से यह प्रोजेक्ट का संदर्भ, नियम, इस्तेमाल के तरीके और जोखिम समझने में मदद करता है।
मिलती-जुलती skills
diffs
394kयह आपके एजेंट को बदलावों का असली diff बनाने देती है, जिसे व्यूअर लिंक या इमेज फ़ाइल के रूप में साझा किया जा सकता है, हाथ से लिखे सारांश के बजाय।
coding-agent
394kयह आपके एजेंट को बड़े कोडिंग काम Codex, Claude Code या OpenCode को बैकग्राउंड वर्कर के रूप में सौंपने, फिर उसकी प्रगति जांचने में मदद करती है।
gh-issues
394kयह आपके एजेंट को GitHub issues खोजने, उनमें से काम करने लायक चुनने, और सुधार के साथ pull requests खोलने में मदद करती है, जिसमें समीक्षा टिप्पणियों का फ़ॉलो-अप भी शामिल है।