Skip to main content

code-diagnostics

Get compilation errors, warnings, and linter diagnostics from the language server for a single file or the entire workspace. Use instead of go build or go vet to check for errors after editing code. Activated by runectl lsp diagnostics.

설치로 이동

소스 정보

저장소
unstablebuild/rune
최근 소스 활동
2026년 3월 26일 19:53
감지된 SKILL.md 언어
영어
스타
591
포크
34

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
code-diagnostics
description
Get compilation errors, warnings, and linter diagnostics from the language server for a single file or the entire workspace. Use instead of go build or go vet to check for errors after editing code. Activated by runectl lsp diagnostics.
allowed-tools
Bash(runectl:*)
# Code Diagnostics Check for errors via the language server. ## runectl lsp diagnostics Get diagnostics for a file. ``` Usage: runectl lsp diagnostics <file> [flags] Flags: -F, --format string Output format: table, json, or Go template ``` Example — check `bash.go` for issues: ```bash $ runectl lsp diagnostics agent/agentools/bash.go [Hint] 170:3: Replace []byte(fmt.Sprintf...) with fmt.Appendf (fmtappendf, default) [Hint] 128:5: if statement can be modernized using min (minmax, default) ``` Each diagnostic shows `[Severity] line:col: message (source, code)`. Severity is `[Error]`, `[Warning]`, `[Information]`, or `[Hint]`. ## runectl lsp workspace-diagnostics Get diagnostics for the entire workspace. ``` Usage: runectl lsp workspace-diagnostics [flags] Flags: -F, --format string Output format: table, json, or Go template ``` Use to check the whole project for issues at once. Same output format as `diagnostics` but prefixed with the file URI.
GitHub에서 보기