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.

الانتقال إلى التثبيت

معلومات المصدر

المستودع
grafana/loki
آخر نشاط في المصدر
٣٠ يناير ٢٠٢٦ في ٢٢:٢١
لغة SKILL.md المكتشفة
الإنجليزية
النجوم
٢٨٬٩١٩
التفرعات
٤٬١١٥

خيارات التثبيت

يُحدَّد 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