codebase-graph
**CODEBASE GRAPH v1.0** - '의존성', '그래프', '코드베이스 분석', '함수 관계', '모듈 관계', '아키텍처 분석', 'import 분석' 요청 시 자동 발동. 프로젝트 시작 시 자동 생성. 온톨로지 기반 코드 지식 그래프로 함수→함수, 모듈→모듈 관계를 Edge로 연결. 토큰 72% 절감, 정확도 92% 달성.
npx skills add majiayu000/claude-skill-registry --skill codebase-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.
# Codebase Graph Skill v1.0 **온톨로지 기반 코드 인텔리전스** - Neorion 스타일의 지식 그래프로 코드베이스 전체를 구조화 ## 핵심 컨셉 ```yaml Philosophy: 기존_방식: "파일 단위 분석 → 매번 전체 읽기 → 토큰 낭비" 새로운_방식: "그래프 구축 → 관계만 추출 → 토큰 72% 절감" Graph_Structure: Nodes: - File: "소스 파일" - Module: "모듈/패키지" - Function: "함수/메서드" - Class: "클래스/인터페이스" - Type: "타입/인터페이스" - Variable: "상수/변수" Edges: - imports: "A imports B" - exports: "A exports B" - calls: "A calls B" - extends: "A extends B" - implements: "A implements B" - uses: "A uses type B" - contains: "Module contains Function" ``` ## 자동 발동 조건 ```yaml Auto_Trigger_Conditions: Project_Start: - "새 프로젝트 디렉토리 진입 시" - "package.json, tsconfig.json 감지 시" - "캐시된 그래프가 없거나 오래된 경우" Keywords_KO: - "의존성 분석, 의존성 그래프" - "코드베이스 분석, 프로젝트 분석" - "함수 관계, 모듈 관계" - "아키텍처 분석, 구조 분석" - "import 분석, export 분석" - "어디서 사용되나, 뭐가 호출하나" Keywords_EN: - "dependency graph, dependency analysis" - "codebase analysis, project analysis" - "function relationships, module relationships" - "architecture analysis, structure analysis" - "import analysis, call graph" - "where is this used, what calls this" File_Events: - "새 파일 생성 시 → 증분 업데이트" - "파일 삭제 시 → 그래프에서 제거" - "import 문 변경 시 → Edge 업데이트" ``` ## 선택적 문서 로드 전략 ```yaml Document_
- 핵심 컨셉
- 자동 발동 조건
- 선택적 문서 로드 전략
- 그래프 스키마
- 그래프 생성 워크플로우
- 그래프 쿼리 언어
- 토큰 최적화 전략
- 캐시 전략
- 다른 스킬과의 통합
- Quick Commands
- 문서 구조
- 출력 예시
What does the codebase-graph skill do?
**CODEBASE GRAPH v1.0** - '의존성', '그래프', '코드베이스 분석', '함수 관계', '모듈 관계', '아키텍처 분석', 'import 분석' 요청 시 자동 발동. 프로젝트 시작 시 자동 생성. 온톨로지 기반 코드 지식 그래프로 함수→함수, 모듈→모듈 관계를 Edge로 연결. 토큰 72% 절감, 정확도 92% 달성.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill codebase-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 majiayu000/claude-skill-registry, a repository with 534 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.
