원클릭으로
explore
Explore codebase semantically - find relevant code and documents using natural language search
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Explore codebase semantically - find relevant code and documents using natural language search
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Safety check before refactoring - shows callers, callees, and impact analysis
Manage GitKB knowledge base for project documentation, tasks, and context. Use when working with KB documents, viewing tasks, updating progress, or managing project knowledge.
Understand a file or symbol's structure and dependencies using code intelligence tools
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 | explore |
| description | Explore codebase semantically - find relevant code and documents using natural language search |
| allowed-tools | ["mcp__gitkb__kb_semantic","mcp__gitkb__kb_search","mcp__gitkb__kb_symbols","mcp__gitkb__kb_callers","mcp__gitkb__kb_callees"] |
Find relevant code and documents using semantic (natural language) search. Great for discovering implementations when you don't know exact names.
Run semantic search across code and docs:
kb_semantic with query: "<user query>", scope: "all"
For interesting code matches, dig deeper:
kb_callers with symbol: "<matched-symbol>"
kb_callees with symbol: "<matched-symbol>"
Search KB documents for related context:
kb_search with query: "<keywords>"
## Exploring: "<query>"
### Code Matches
1. **src/services/auth.ts::login** (function) - Score: 0.89
```typescript
export async function login(credentials: Credentials): Promise<Token>
Handles user authentication and token generation.
export function validate(token: Token): boolean
Validates JWT tokens.specs/auth-spec (spec) - Score: 0.85 "Authentication System Specification"
tasks/my-task (task) - Score: 0.78 "Auth Service Refactoring"
/understand src/services/auth.ts - Deep dive into auth module/before-refactor login - Check impact before changeskb_show specs/auth-spec - Read the auth spec
## Example
**Input:** `/explore authentication flow`
**Output:**
src/services/auth.ts::login (function) - Score: 0.91
export async function login(credentials: Credentials): Promise<Token>
src/services/auth.ts::validateToken (function) - Score: 0.87
export function validateToken(token: Token): boolean
src/middleware/auth.ts::authenticate (function) - Score: 0.84
export async function authenticate(req: Request): Promise<AuthUser>
/understand src/services/auth.ts - See full auth module structurekb_show specs/auth-spec - Read the specification
## Scope Options
- `scope: "all"` - Search both code and documents (default)
- `scope: "code"` - Search only code symbols
- `scope: "documents"` - Search only KB documents
## Prerequisites
For code search, embeddings must be generated:
```bash
git kb index
git kb embed
For document search, documents need embeddings:
git kb embed --scope documents