go
Best practices for working with Go codebases. Use when writing, debugging, or exploring Go code, including reading dependency sources and documentation.
ソース情報
- リポジトリ
- grafana/loki
- ソースの最終更新活動
- 2026年1月30日 22:21
- 検出された SKILL.md の言語
- 英語
- スター
- 28,919
- フォーク
- 4,115
インストール方法
デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。
ソースファイルを確認
インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。
SKILL.md を表示中
SKILL.md
ソースの指示 · 読み取り専用プレビュー- 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
```
GitHubで見る