Manusで任意のスキルを実行
ワンクリックで
ワンクリックで
ワンクリックでManusで任意のスキルを実行
始めるgo-vet
スター3
フォーク0
更新日2025年12月18日 03:03
Fix go vet warnings
インストール
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SKILL.md
readonlyメニュー
Fix go vet warnings
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Handle hook scripts and paths for plugin packaging
Package claudefiles components into a valid Claude Code plugin
Package language-specific subsets of claudefiles
Plugin validation errors and fixes
Common channel patterns and idioms
Context cancellation patterns for graceful shutdown
| name | go-vet |
| description | Fix go vet warnings |
Built-in static analyzer that catches common mistakes.
go vet ./...
go vet ./pkg/...
// Bad
fmt.Printf("%d", "string")
// Good
fmt.Printf("%s", "string")
// Bad
return value
fmt.Println("never runs")
// Good
fmt.Println("runs")
return value
// Bad
Person{"Alice", 30}
// Good
Person{Name: "Alice", Age: 30}
// Bad
var p *int
fmt.Println(*p)
// Good
if p != nil {
fmt.Println(*p)
}
// Bad - mutex copied
func process(mu sync.Mutex) {
mu.Lock()
}
// Good - pass pointer
func process(mu *sync.Mutex) {
mu.Lock()
}
// Bad
ctx := context.TODO()
// Good
ctx := context.Background()
// or accept ctx as parameter
go vet ./... 2>&1 | tee vet.log