Zum Inhalt springen
Skillpedia
Allgemeines Programmieren9.0k · #12314

ontoly-software-graph

Was er macht

Dieser Skill lässt einen KI-Agenten Fragen dazu beantworten, wie ein Softwareprojekt aufgebaut ist, anhand einer fertigen Karte des Codes. Er richtet sich an Entwickler, die Architektur prüfen oder Änderungen planen.

Wann du ihn nutzt

  • ✓Wenn du verstehen willst, wie ein Softwareprojekt aufgebaut ist.
  • ✓Wenn du nachverfolgen musst, wie eine Anfrage durch den Code läuft.
  • ✓Wenn du ein Refactoring planst und sehen willst, was davon betroffen sein könnte.

Link zum Skill

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

Kopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.

So nutzt du ihn

Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.

Fertige Nachricht zum Einfügen

Nutze diesen Skill, um mir zu helfen: https://github.com/anbeime/skill/blob/main/skills/ontoly-software-graph/SKILL.md Lies die SKILL.md unter diesem Link und folge ihren Anweisungen für meine Aufgabe.
Soll deine KI Skills wie diesen selbst finden?Installiere den kostenlosen Skillpedia-MCP: eine Zeile, und sie durchsucht vor jeder Aufgabe 15.000+ Skills.In 1 Minute installieren →

Beispielanfrage an deine KI

“Zeig mir anhand der Code-Karte, welche Dienste vom Zahlungsmodul abhängen, bevor ich es umbaue.”

5 neue Skills pro Woche. 1 Minute Lesezeit.

So funktioniert es

Er prüft, ob ein Ontoly-Graph vorhanden ist, beantwortet Fragen mit seinen Werkzeugen und belegt die Antworten mit Quellen. Quelldateien durchsucht er nur, wenn der Graph nicht weiterhilft.

Technischer Inhalt (originale SKILL.md)

Originaltext des Autors, auf Englisch, direkt von 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.
Häufige Fragen

Was ist, wenn ich noch keinen Graphen habe?

Wenn du es erlaubst, kann der Skill einen Graphen lokal mit dem ontoly-Befehl erstellen.

Verweisen die Antworten auf echten Code?

Ja, der Skill verlangt, dass der Agent Knoten-IDs, Verbindungstypen und Dateipfade aus dem Graphen angibt.

Kann er ungenutzten Code finden?

Ja, er deckt Prüfungen auf toten Code, Abhängigkeitszyklen und nicht aufgelöste Importe ab.

Details

Originalbeschreibung des Autors

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

Beliebtheit

GitHub-Sterne
9.0k
Platz im Ranking
#12314
Lizenz
—
Aktualisiert
2.11.2026

Ist dieser Skill nützlich?

0

Anmelden um abzustimmen.

Kommentare

  • …

Weitere Skills aus diesem Repository

Ähnliche Skills