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.

Zur Installation springen

Quellinformationen

Repository
unstablebuild/rune
Letzte Quellaktivität
26. März 2026 um 19:53
Erkannte Sprache von SKILL.md
Englisch
Sterne
591
Forks
34

Installationsoptionen

Standardmäßig ist der Prompt ausgewählt, der zuerst die Quelle prüft. Sie können zu einem direkten Befehl wechseln oder eine lokale Kopie herunterladen.

Quelldateien prüfen

Lesen Sie SKILL.md und alle von SkillsMP angezeigten Begleitdateien, bevor Sie sich für eine Installation entscheiden.

SKILL.md wird angezeigt

SKILL.md
Quellanweisungen · Schreibgeschützte Vorschau
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.
Auf GitHub ansehen