code-knowledge-graph
FeaturedCodebase'i knowledge graph olarak analiz et. Dependency, call graph, hotspot analizi.
AI & Automation 531 stars
44 forks Updated 1 months ago MIT
Install
Quality Score: 89/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
Skill Content
# 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: fonksiyonlar, class'lar, export'lar
tldr structure ${PATH:-src/} --lang python
```
Her dosya, class, fonksiyon ve export bir **node** olur.
### Adim 2: Edge Extraction
```bash
# Dosyanin import'lari (outgoing edges)
tldr im...
Details
- Author
- vibeeval
- Repository
- vibeeval/vibecosystem
- Created
- 6 months ago
- Last Updated
- 1 months ago
- Language
- C#
- License
- MIT
Integrates with
Similar Skills
Semantically similar based on skill content — not just same category
Code & Development Listed
csp-code-graph
Code knowledge graph methodology and lifecycle orchestration. Use when starting a code review session, exploring codebase structure, or deciding which graph-powered analysis to run. Routes to the correct lifecycle stage: build, impact, review, architecture, or refactor.
1 Updated yesterday
maythyai AI & Automation Solid
codegraph
Generate a codebase knowledge graph with `graphify` at `graphify-out/` so other skills can query cross-file relationships before touching code. Do NOT use for runtime profiling.
9 Updated today
linkpranay-ai