Skillpedia
برمجة عامة9.0k · #12314

ontoly-software-graph

ما الذي تفعله

تتيح هذه المهارة لوكيل الذكاء الاصطناعي الإجابة عن أسئلة حول طريقة بناء مشروع برمجي، باستخدام خريطة جاهزة لشيفرته. وهي مناسبة للمطورين الذين يراجعون البنية أو يخططون لتغييرات.

متى تستخدمها

  • ✓عندما تريد فهم كيفية تنظيم مشروع برمجي.
  • ✓عندما تحتاج إلى تتبع مسار طلب داخل الشيفرة.
  • ✓عندما تخطط لإعادة هيكلة وتريد معرفة ما قد تؤثر فيه.

رابط المهارة

https://github.com/anbeime/skill/blob/main/skills/ontoly-software-graph/SKILL.md

انسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.

طريقة الاستخدام

أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.

رسالة جاهزة للصق

استخدم هذه المهارة لمساعدتي: https://github.com/anbeime/skill/blob/main/skills/ontoly-software-graph/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

مثال على ما تطلبه من الذكاء الاصطناعي

“استعن بخريطة الشيفرة، وأرني أي الخدمات تعتمد على وحدة المدفوعات قبل إعادة هيكلتها.”

5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.

كيف تعمل

تتحقق المهارة من وجود رسم Ontoly، وتستخدم أدواته للإجابة مع ذكر الأدلة، ولا تبحث في ملفات المصدر إلا عندما لا يكفي الرسم.

المحتوى التقني (ملف SKILL.md الأصلي)

النص الأصلي من المؤلف، مباشرة من GitHub.

Ontoly Software Graph

Use this skill when a coding agent needs evidence-backed software understanding from an Ontoly graph before searching repository files directly.

When to Use

  • Explaining a repository architecture
  • Tracing a request, route, controller, service, or dependency path
  • Finding owners of services, modules, routes, configuration, or environment variables
  • Reviewing dependency impact before a refactor
  • Auditing dead code, cycles, unresolved imports, graph quality, or semantic coverage
  • Preparing documentation, onboarding notes, or architecture review from graph evidence

Required Workflow

  1. Check whether an Ontoly graph already exists by looking for .ontoly/, SoftwareGraph.json, diagnostics.json, validation reports, or an Ontoly MCP configuration.

  2. If no graph exists and the user permits local analysis, run:

    ontoly build .
    
  3. Inspect graph health before answering: diagnostics, graph hash, semantic coverage, trust or quality score, framework detection, and generation timestamp.

  4. Prefer Ontoly CLI or MCP capabilities for graph questions instead of scanning source files first.

  5. Use repository search only when Ontoly cannot answer, the graph is stale, the graph is incomplete, or the user explicitly asks for source-level verification.

  6. Always cite graph evidence in the answer: node IDs, edge types, file paths, source locations, diagnostics, or framework analyzer output.

  7. State confidence from graph evidence. Do not guess confidence.

Useful Ontoly Capabilities

  • ExplainArchitecture for repository and package topology
  • FindDependencies for dependency trees and direct consumers
  • ImpactAnalysis for refactor blast radius
  • TraceExecution for request, route, and call-flow tracing
  • FindConfigurationUsage for configuration and environment variable usage
  • FrameworkReport for detected framework concepts such as modules, controllers, providers, and routes
  • FindDeadCode for unreachable or unused graph regions

Answer Shape

When answering, include:

  • the direct answer
  • graph evidence
  • confidence
  • diagnostics or caveats
  • fallback source inspection only if needed

Example:

AuthController handles authentication.

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

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

Fallback Rules

  • If the graph is missing, build it first when allowed.
  • If graph validation fails, report the failure and use source search only to verify the affected area.
  • If multiple nodes match the same name, ask for disambiguation or show the candidates with package/module context.
  • If the requested concept is not in the graph, return NOT_FOUND with the closest graph evidence instead of inventing an answer.
الأسئلة الشائعة

ماذا إذا لم يكن لدي رسم بعد؟

إذا وافقت، تستطيع المهارة بناءه محلياً باستخدام أمر ontoly.

هل ستشير الإجابات إلى شيفرة حقيقية؟

نعم، تطلب المهارة من الوكيل ذكر معرّفات العقد وأنواع الروابط ومسارات الملفات من الرسم.

هل تستطيع إيجاد شيفرة غير مستخدمة؟

نعم، تغطي تدقيقات الشيفرة الميتة والحلقات في التبعيات والاستيرادات غير المحلولة.

التفاصيل

الوصف الأصلي من المؤلف

Use Ontoly's deterministic Software Graph and MCP capabilities for architecture review, request tracing, dependency analysis, configuration lookup, and impact analysis before falling back to source-file search.

repo: anbeime/skill

الشعبية

نجوم GitHub
9.0k
الترتيب
#12314
الترخيص
—
آخر تحديث
2‏/11‏/2026

هل هذه المهارة مفيدة؟

0

سجّل الدخول للتصويت.

التعليقات

  • …

المزيد من المهارات من هذا المستودع

مهارات مشابهة