원클릭으로
understand
Understand a file or symbol's structure and dependencies using code intelligence tools
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Understand a file or symbol's structure and dependencies using code intelligence tools
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Safety check before refactoring - shows callers, callees, and impact analysis
Explore codebase semantically - find relevant code and documents using natural language search
Manage GitKB knowledge base for project documentation, tasks, and context. Use when working with KB documents, viewing tasks, updating progress, or managing project knowledge.
Manage isolated git worktree sets for multi-repo tasks.
Execute commands across all repos — parallel, filtered, dry-run modes.
Git operations across multiple repositories — status, commit, push, pull, snapshots, multi-commit.
| name | understand |
| description | Understand a file or symbol's structure and dependencies using code intelligence tools |
| allowed-tools | ["mcp__gitkb__kb_symbols","mcp__gitkb__kb_callers","mcp__gitkb__kb_callees","mcp__gitkb__kb_symbol_refs"] |
Analyze a file or symbol using code intelligence tools to understand its structure and dependencies.
When the argument looks like a file path (e.g., src/services/auth.ts):
List symbols in the file:
kb_symbols with file_path: "src/services/auth.ts"
For key functions/methods, show their connections:
kb_callers with symbol: "src/services/auth.ts::login"
kb_callees with symbol: "src/services/auth.ts::login"
Check if any documents reference this code:
kb_symbol_refs with symbol: "src/services/auth.ts::login"
When the argument contains :: or looks like a function name:
Find the symbol:
kb_symbols with search: "login"
Show callers (who calls this):
kb_callers with symbol: "src/services/auth.ts::login"
Show callees (what this calls):
kb_callees with symbol: "src/services/auth.ts::login"
Find related documents:
kb_symbol_refs with symbol: "src/services/auth.ts::login"
Provide a summary with:
Input: /understand src/services/auth.ts
Output:
## src/services/auth.ts - Authentication Module
### Symbols (5)
- `login(credentials: Credentials): Promise<Token>` (function)
- `logout(token: Token): Promise<void>` (function)
- `validateToken(token: Token): boolean` (function)
- `AuthConfig` (interface)
- `AuthError` (class)
### Key Function: login()
**Callers (3):**
- src/routes/auth.ts:45 → handleRequest()
- src/routes/auth.ts:89 → handleRefresh()
- src/middleware/auth.ts:22 → authenticate()
**Callees (2):**
- src/db/users.ts::findUser()
- src/crypto/tokens.ts::generateToken()
### Related Documents
- tasks/my-task (Auth Service Refactoring)
Code must be indexed first:
git kb index