AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Lsp Setup

skill-zaffre001-unity-claude-template-lsp-setup · by zaffre001

Claude Code 의 LSP 툴이 Unity 프로젝트의 `.cs` 를 인식하도록 OmniSharp 를 설치·연결하는 자동 설정 스킬. `No LSP server available for file type: .cs` 응답을 받았거나, 처음 세팅할 때 에이전트가 자동 호출한다.

No reviews yet
0 installs
20 views
0.0% view→install

Install

$ agentstack add skill-zaffre001-unity-claude-template-lsp-setup

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-zaffre001-unity-claude-template-lsp-setup)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
2mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Lsp Setup? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Skill: /lsp-setup (LSP 자동 세팅)

프로그래밍을 몰라도 되게 설계됨. 아래 절차는 에이전트가 실행, 사용자는 brew 권한 프롬프트 1회 + Claude Code 재시작 1회만 눌러 주면 된다.


1. 왜 이게 필요한가

/debug/qa 는 LSP 로 소스 구조 (심볼·참조·호출자) 를 읽는다. LSP 가 연결돼 있지 않으면 Grep 폴백으로 돌아가지만 정확도·속도가 떨어진다. Unity C# (.cs) 은 자동 연결 안 되므로 1회 세팅 필요.

> 핑거프린트: LSP.documentSymbol 호출 시 No LSP server available for file type: .cs 응답 → 세팅 안 됨.


2. 에이전트 자동 실행 순서

아래 순서를 그대로 돌린다. 중간 실패 시 다음 스텝으로 넘어가지 말고 사용자에게 한 줄 보고.

Step 1 — 현재 상태 점검

# 1-a) 이미 OmniSharp 설치됐는가
which omnisharp || echo "MISSING:omnisharp"

# 1-b) settings.json 에 LSP 활성화 플래그 있는가
grep -q '"ENABLE_LSP_TOOL"' .claude/settings.json 2>/dev/null || echo "MISSING:flag"

Step 2 — OmniSharp 설치 (macOS)

MISSING:omnisharp 나왔으면:

brew install omnisharp
  • 사용자 프롬프트 1회 발생 (brew 설치). 에이전트는 이 프롬프트가 뜬 직후 사용자에게 "OmniSharp 설치 권한을 눌러 주세요" 한 줄 고지.
  • Windows/Linux 는 공식 릴리즈 에서 바이너리 다운로드 후 PATH 에 추가 — 이건 사용자에게 링크 제시 후 위임.

Step 3 — .claude/settings.json 에 LSP 활성화

파일이 없으면 새로 생성, 있으면 기존 키와 병합. settings.local.json 이 아니라 settings.json 에 쓴다 (프로젝트 공유 설정이라).

{
  "env": {
    "ENABLE_LSP_TOOL": "1"
  },
  "enabledPlugins": {
    "omnisharp-lsp@claude-plugins-official": true
  }
}

> 플러그인 이름이 다를 수 있음. 위 이름으로 Step 4 에서 설치 실패 시 claude plugin search omnisharp 또는 claude plugin search csharp 로 대체 이름 확인.

Step 4 — 플러그인 설치

claude plugin install omnisharp-lsp@claude-plugins-official

실패하면:

claude plugin search omnisharp    # 대체 이름 탐색
claude plugin search csharp

찾은 이름으로 재시도, 그에 맞춰 settings.jsonenabledPlugins 키도 수정.

Step 5 — Unity .sln 생성 확인

OmniSharp 는 .sln 또는 .csproj 가 있어야 프로젝트 인덱싱. Unity 는 Editor 가 열리면 자동 생성.

ls *.sln 2>/dev/null || echo "MISSING:sln"

MISSING:sln 이면:

  • Unity Hub 에서 프로젝트 1회 열기 (사용자) → .sln / Assembly-CSharp.csproj 등 자동 생성
  • 또는 /run editor 로 에이전트가 Editor 를 한 번 띄우면 자동 생성됨

Step 6 — Claude Code 재시작

설정 반영 위해 사용자가 Claude Code 재시작. 에이전트는 이 시점에 작업 일시 중단하고 "LSP 활성화를 위해 Claude Code 를 재시작해 주세요. 재시작 후 이어서 진행합니다." 로 안내.

Step 7 — 검증

재시작 후 첫 작업에서:

LSP.documentSymbol
  filePath=Assets/Scripts/_Core/Any.cs   # 프로젝트 안의 아무 .cs 파일
  line=1  character=1
  • 심볼 목록 반환 → ✅ 세팅 성공
  • No LSP server available for file type: .cs 여전 → Step 1 로 복귀, 어느 스텝이 안 먹혔는지 재점검.

3. 실패 시 대응 — Grep 폴백

세팅이 실패하거나 사용자가 재시작을 미루면 LSP 대신 Grep 을 정적 평가 1순위로 사용. debug.md §2 와 qa.md §3 의 Grep 스니펫이 모든 LSP 경로를 커버한다. 이 때 에이전트는 "LSP 미연결 상태 — Grep 폴백으로 진행" 을 세션 시작 시 1회 고지.


4. 금지 사항

  • 사용자에게 개별 명령을 복붙 시키지 않는다. 에이전트가 Bash 툴로 직접 돌린다. 사용자는 권한 프롬프트만 본다.
  • brew install 실패를 무시하고 넘어가지 않는다. 실패 메시지 그대로 사용자에게 고지 후 중단.
  • settings.local.json 에 쓰지 않는다 — 그 파일은 개인 설정 (.gitignore). LSP 는 프로젝트 공유 설정이 맞으므로 settings.json.
  • .sln 없다고 수동으로 만들지 않는다. Unity 에디터가 생성하게 한다. 수동 생성은 어셈블리 참조가 어긋난다.

5. 참고

  • 이 스킬의 설치 파라미터는 Claude Code 플러그인 레지스트리 기반. 레지스트리 이름 변경 시 Step 4 의 대체 검색으로 대응.
  • OmniSharp 는 deprecated 권고가 있지만 2026-04 기준 Unity C# 에 여전히 가장 안정. 대체로 Microsoft 공식 Roslyn Language Server 도 있지만 C# Dev Kit VSIX 번들이라 Claude Code 직접 사용은 설정 복잡.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.