본문으로 건너뛰기
Skillpedia
일반 코딩70k · #3113

lsp

하는 일

이 도구는 프로그래밍을 돕는 ‘언어 서버’를 이해하고 관리하도록 돕습니다. 오류를 확인하고, 코드 정의를 찾고, 어디에서 사용되는지 검색하며, 코드의 일부를 안전하게 이름 변경하도록 도울 수 있습니다.

사용하는 경우

  • ✓설치되어 있고 작동하는 프로그래밍 도구가 무엇인지 알고 싶을 때.
  • ✓파일을 변경한 후 특정 파일의 오류를 찾고 싶을 때.
  • ✓프로젝트 전체에서 변수나 함수의 이름을 깨뜨리지 않고 바꾸고 싶은 경우.

스킬 링크

https://github.com/code-yeongyu/oh-my-openagent/blob/dev/packages/omo-codex/plugin/components/lsp/skills/lsp/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/code-yeongyu/oh-my-openagent/blob/dev/packages/omo-codex/plugin/components/lsp/skills/lsp/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“내 ‘main.py’ 파일에서 오류를 확인하고, ‘calculate_total’ 함수가 프로젝트 전체에서 어디에 쓰였는지 알려 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

도구는 코드를 분석하는 ‘언어 서버’와 통신합니다. 오류, 정의, 참조 같은 정보를 요청하는 특정 명령을 사용하고, 받은 정보를 보여 줍니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Codex LSP

Call lsp MCP tools through the tool interface; lsp.*/mcp__lsp__* are tool-call names, not shell commands.

Tools

  • lsp.status: list configured, installed, missing, disabled, and active language servers.
  • lsp.diagnostics: check one file or directory for LSP diagnostics. Prefer severity: "error" after edits.
  • lsp.goto_definition: locate a symbol definition from file, line, and character.
  • lsp.find_references: find usages of a symbol across the workspace.
  • lsp.symbols: inspect document symbols or search workspace symbols.
  • lsp.prepare_rename: check whether a rename is valid at a position.
  • lsp.rename: apply a language-server workspace edit for a rename.

Config

Project config lives at .codex/lsp-client.json; user config lives at ~/.codex/lsp-client.json.

{
	"lsp": {
		"typescript": {
			"command": ["typescript-language-server", "--stdio"],
			"extensions": [".ts", ".tsx", ".js", ".jsx"]
		}
	}
}

Use lsp.status first when diagnostics report a missing language server.

자주 묻는 질문

‘언어 서버’란 무엇인가요?

코드 편집기가 코드를 이해하도록 돕는 프로그램입니다. 오류 확인, 자동 완성, 탐색 같은 기능을 제공합니다.

먼저 `lsp.status` 명령을 쓰는 이유는 무엇인가요?

어떤 언어 서버가 설정되어 있고, 설치되어 있고, 없거나 비활성화되어 있는지 보여 줍니다. 다른 기능에 필요한 서버가 없는지 알 때 유용합니다.

이름을 바꿨는데 잘못되면 어떻게 하나요?

이름을 바꾸기 전에 `lsp.prepare_rename`을 사용해 이름 변경이 안전한지 확인할 수 있습니다. `lsp.rename` 도구는 프로젝트 전체에 이름 변경을 안전하게 적용하려고 합니다.

상세 정보

작성자의 원본 설명

Use when Codex needs language-server diagnostics, definitions, references, symbols, or rename safety checks in the current workspace.

repo: code-yeongyu/oh-my-openagent

인기도

GitHub 스타
70k
순위
#3113
라이선스
NOASSERTION
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬