From fireauto
Guides LSP-first code navigation using goToDefinition, findReferences, workspaceSymbol, hover, implementations, and call hierarchies over grep/glob. Activates for symbol search or code exploration queries.
How this skill is triggered — by the user, by Claude, or both
Slash command
/fireauto:fireauto-lsp-guideThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
LSP(Language Server Protocol) 도구가 활성화되어 있으면, 코드 탐색 시 Grep/Glob 대신 **LSP를 먼저 사용**하세요.
LSP(Language Server Protocol) 도구가 활성화되어 있으면, 코드 탐색 시 Grep/Glob 대신 LSP를 먼저 사용하세요.
코드를 찾을 때 이 순서를 따르세요:
| 사용자가 이렇게 말하면 | LSP 연산 | 설명 |
|---|---|---|
| "이 함수 어디에 정의돼있어?" | goToDefinition | 심볼이 선언된 위치로 이동 |
| "이거 어디서 쓰이고 있어?" | findReferences | 모든 참조 위치를 찾음 |
| "이 타입이 뭐야?" | hover | 타입 정보, 문서 표시 |
| "이 파일에 뭐가 있어?" | documentSymbol | 파일 내 모든 함수/클래스/변수 목록 |
| "프로젝트에서 OO 찾아줘" | workspaceSymbol | 워크스페이스 전체 심볼 검색 |
| "이 인터페이스 구현체 찾아줘" | goToImplementation | 인터페이스/추상 메서드의 구현체 |
| "이 함수를 누가 호출해?" | incomingCalls | 이 함수를 호출하는 모든 곳 |
| "이 함수가 뭘 호출해?" | outgoingCalls | 이 함수가 호출하는 모든 것 |
사용자: "결제 로직에 버그가 있어"
1. workspaceSymbol → "payment", "checkout" 등으로 관련 심볼 검색
2. goToDefinition → 핵심 함수 위치 확인
3. incomingCalls → 어디서 호출되는지 추적
4. findReferences → 관련 타입/변수가 어디서 쓰이는지 파악
5. Read → 찾은 파일의 실제 코드 확인 후 수정
사용자: "PaymentProvider 인터페이스 수정해줘"
1. goToDefinition → 인터페이스 정의 위치
2. goToImplementation → 모든 구현체 (Lemon, Paddle, Toss)
3. findReferences → 인터페이스를 사용하는 모든 곳
4. 영향 범위 파악 후 안전하게 수정
사용자: "이 프로젝트 구조 설명해줘"
1. documentSymbol → 주요 파일들의 심볼 목록
2. workspaceSymbol → 핵심 타입/함수 전체 조회
3. incomingCalls/outgoingCalls → 호출 흐름 파악
line과 character는 1-based (1부터 시작)예요.npx claudepluginhub imgompanda/fireauto --plugin fireautoPerforms semantic code analysis via LSP: navigate definitions, references, implementations, search symbols, and preview refactorings. Useful for exploring unfamiliar codebases and safe refactoring.
Guides using Serena's LSP tools for codebase exploration, symbol definitions, reference tracing, call hierarchies, and precise analysis beyond grep/text search.
Guides use of Serena's LSP tools for symbol overviews, finding definitions, tracing references, and codebase exploration where grep is imprecise.