code-knowledge-graph
Codebase'i knowledge graph olarak analiz et. Dependency, call graph, hotspot analizi.
Profile →npx skills add vibeeval/vibecosystem --skill code-knowledge-graph --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Code Knowledge Graph - Codebase Graph Analysis Codebase'i knowledge graph olarak modeller. Dosya, modul, fonksiyon ve class'lar node; import, call, inheritance ve composition iliskileri edge olur. Sonuc: Mermaid diagram + JSON graph data. ## Neden Knowledge Graph? Kod text degil, **graph**'tir. Her dosya diger dosyalara baglidir. Bu baglantilari anlamadan: - Refactoring yaparken neyi kiracagini bilemezsin - Dead code'u guvenle silemezsin - Yeni feature'in nereye oturacagini gormezsin - Circular dependency'lerin kokunu bulamazsin Knowledge graph tum bu iliskileri gorsellestirir ve olculebilir yapar. ## Kullanim ``` /code-knowledge-graph [hedef-dizin] [--focus module] [--depth N] [--format mermaid|json|both] ``` ### Ornekler ```bash # Tum codebase analizi /code-knowledge-graph src/ # Belirli module odaklan /code-knowledge-graph src/ --focus auth # Sadece circular dependency kontrolu /code-knowledge-graph src/ --focus circular # Hotspot analizi /code-knowledge-graph src/ --focus hotspots # Orphan/dead code tespiti /code-knowledge-graph src/ --focus orphans ``` ## Graph Olusturma Adimlari ### Adim 1: Node Discovery ```bash # Dosya agaci tldr tree ${PATH:-src/} --ext .py # Kod yapisi:
- Neden Knowledge Graph?
- Kullanim
- Ornekler
- Graph Olusturma Adimlari
- Adim 1: Node Discovery
- Adim 2: Edge Extraction
- Adim 3: Layer Detection
- Adim 4: Impact Analysis
- Adim 5: codebase-memory MCP Entegrasyonu
- Dependency Analysis Pattern'leri
- Direct Dependencies
- Transitive Dependencies
- Fan-In vs Fan-Out
- Circular Dependency Cozme Stratejileri
Tum codebase analizi
Belirli module odaklan
Sadece circular dependency kontrolu
Hotspot analizi
Orphan/dead code tespiti
Dosya agaci
tldr tree ${PATH:-src/} --ext .py
Kod yapisi: fonksiyonlar, class'lar, export'lar
tldr structure ${PATH:-src/} --lang python
Dosyanin import'lari (outgoing edges)What does the code-knowledge-graph skill do?
Codebase'i knowledge graph olarak analiz et. Dependency, call graph, hotspot analizi.
How do I install it?
Run `npx skills add vibeeval/vibecosystem --skill code-knowledge-graph --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From vibeeval/vibecosystem, a repository with 521 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.