Community연구 & 데이터 분석github.com

duongphuhiep/dakubo-skills

주어진 심볼 또는 코드 위치에서 해당 위치에 도달할 수 있는 모든 진입점(HTTP 컨트롤러, main 함수, 페이지 컴포넌트, 라우트 등)까지의 전체 호출 체인을 추적합니다. CodeGraph가 인덱싱한 모든 언어에서 작동합니다. 함수, 메서드, 클래스를 수정하기 전 블래스트 반경 분석에 사용하세요.

dakubo-skills란 무엇인가요?

이 스킬은 CodeGraph가 인덱싱한 프로젝트에서 특정 심볼이나 코드 위치로부터 모든 진입점까지의 전체 호출 체인을 추적합니다. 개발자가 함수, 메서드, 클래스 등 특정 코드 조각을 수정하기 전에 해당 변경의 영향 범위(블래스트 반경)를 분석할 수 있도록 설계되었습니다. Bun 런타임을 사용하며 `bun:sqlite`를 통해 CodeGraph의 SQLite 데이터베이스에 직접 접근하여 호출 그래프를 탐색합니다. C#, Java, Kotlin, Go, TypeScript, JavaScript, Rust, C, C++, Vue, JSX, TSX, Terraform, Helm YAML 등 CodeGraph가 지원하는 모든 언어에서 작동하며, 입력으로 심볼 이름, 파일 경로, 또는 `file:line` 참조를 받습니다. 제공된 `find-call-chain.ts` 스크립트가 터미널 노드(라우트, 컨트롤러, main 함수 등)를 자동으로 감지하여 더 이상 추적하지 않으며, 최대 6홉 깊이 제한과 사이클 감지 기능이 내장되어 있습니다. 이 스킬은 Claude Code, Cursor, Codex 등의 AI 에이전트 환경에서 사용할 수 있으며, 대규모 리팩토링이나 취약한 코드 변경 시 위험을 사전에 파악하는 데 유용합니다.

지원 대상~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/duongphuhiep/dakubo-skills/tree/HEAD/package/skills/dakubo-find-call-chain

Installed? Explore more 연구 & 데이터 분석 skills: affaan-m/uspto-database, affaan-m/scholar-evaluation, affaan-m/literature-review · View all 6 →

즐겨 사용하는 AI에게 물어보기

이 에이전트 스킬이 미리 로드된 새 채팅을 엽니다.

문서

이 스킬은 Bun이 필요합니다. 스크립트는 bun:sqlite를 사용합니다.

주어진 코드 위치에서 해당 위치에 도달할 수 있는 모든 진입점까지의 호출 체인을 추적합니다.

지원 언어: CodeGraph가 인덱싱한 모든 언어 (C#, Java, Kotlin, Go, TypeScript, JavaScript, Rust, C, C++, Vue, JSX, TSX, Terraform, Helm YAML 등)

입력: 심볼 이름, 파일 경로 또는 file:line 참조. 예시:

  • FindToolNameCollisions
  • ToolsMappingExtensions.cs:145
  • src/services/auth.ts:89
  • CheckCertificate

요구 사항: CodeGraph가 이 프로젝트에 인덱싱되어 있어야 합니다 (.codegraph/ 디렉토리가 존재해야 함). 없을 경우 사용자에게 codegraph init을 먼저 실행하도록 안내하세요.


단계

1. 스크립트 실행

스크립트는 이 스킬의 기본 디렉토리에 있는 scripts/find-call-chain.ts입니다. 프로젝트 폴더에서 실행하세요. 현재 폴더에서 .codegraph/를 찾기 때문입니다:

bun <skill-base-directory>/scripts/find-call-chain.ts "<input>"

전체 출력을 사용자에게 그대로 보여주세요.

2. 여러 심볼 일치

스크립트가 "Multiple symbols matched"를 출력하면 표시된 후보 목록을 나열하고 사용자가 원하는 심볼에 대해 file:line 참조로 다시 실행하도록 요청하세요.

3. 심볼을 찾을 수 없음

스크립트가 "No symbol found"로 종료되면:

  • 다른 철자나 file:line 참조를 시도해 보세요.
  • CodeGraph가 최신 상태인지 확인하세요: codegraph index

터미널 노드 감지 (스크립트에 내장됨 — LLM 판단 불필요)

스크립트는 다음 조건에서 브랜치 탐색을 중단합니다:

조건예시
kind = route (CodeGraph 네이티브)모든 프레임워크의 라우트 노드
언어 이름 패턴 일치*Controller (C#/Java), *Activity (Kotlin), main (Go/Rust/C), *Page/*Route (TS/JS)
호출자를 찾을 수 없음호출 그래프의 리프 노드
깊이 제한 (6홉)트리에서 ⚠ depth cap으로 표시됨
사이클 감지트리에서 ⟳ cycle로 표시됨

Individual skills in this repo

This repo contains 4 individual skills — each has its own dedicated page.

duongphuhiep/dakubo-skills

Use when the user wants to respond to a code review remark by adding a clarifying comment to the source code — so the reviewer understands the reasoning and won't raise the same remark again. Triggers on "answer remark #N", "add comment to address reviewer concern", "document why we did X", or any request to resolve a review finding through in-code explanation rather than a code change.

duongphuhiep/dakubo-skills

Use when the user wants to reply to a code review remark on a GitHub pull request and resolve its thread. Triggers on "answer remark #N in the PR", "reply to the reviewer", or "resolve this review comment".

duongphuhiep/dakubo-skills

Use when the user wants to see unresolved PR comments, review remarks, or outstanding feedback on a pull request.

duongphuhiep/dakubo-skills

Consolidates multiple fragmented OpenSpec capability folders under openspec/specs/ into a single main feature spec, through a staged/approved workflow. Use this whenever the user says openspec/specs/ is cluttered, has too many similar or overlapping capability folders, asks to merge/consolidate/combine specs, wants to clean up specs split across several separate change archives (e.g. specs/user-show/, specs/user-detail/ that should really be one specs/user-management/), or asks to check/apply a pending merged spec under openspec/specs/.merged-specs/. Do NOT use this for a normal single /opsx:archive of one change — only for merging several already-archived, already-existing spec folders together.

관련 스킬