Skip to main content

go

Best practices for working with Go codebases. Use when writing, debugging, or exploring Go code, including reading dependency sources and documentation.

Zur Installation springen

Quellinformationen

Repository
grafana/loki
Letzte Quellaktivität
30. Januar 2026 um 22:21
Erkannte Sprache von SKILL.md
Englisch
Sterne
28.919
Forks
4.115

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
go
description
Best practices for working with Go codebases. Use when writing, debugging, or exploring Go code, including reading dependency sources and documentation.
allowed-tools
Read,Bash(go:*)
version
1.0.0
author
User
license
MIT
# Go Programming Language Guidelines for working effectively with Go projects. ## Reading Dependency Source Files To see source files from a dependency, or to answer questions about a dependency: ```bash go mod download -json MODULE ``` Use the returned Dir path to read the source files. ## Reading Documentation Use go doc to read documentation for packages, types, functions, etc: ```bash go doc foo.Bar # Documentation for a specific symbol go doc -all foo # All documentation for a package ``` ## Running Programs Use go run instead of go build to avoid leaving behind build artifacts: ```bash go run . # Run the current package go run ./cmd/foo # Run a specific command ```
Auf GitHub ansehen