← スキル一覧に戻る

go-development
by imrenagi
⭐ 0🍴 0📅 2026年1月24日
SKILL.md
name: go-development description: Best practices for Go development, covering domain-driven design, context usage, and structured logging.
Go Development
This skill provides best practices for building robust Go applications. It focuses on domain-driven design, proper context propagation, and structured logging.
When to Apply
Reference these guidelines when:
- Implementing Business Logic: Developing domain models and domain enums.
- Managing Context: Propagating context correctly through your application layers.
- Implementing Logging: Using structured, contextual logging with zerolog.
- Refactoring: Improving code structure and consistency across the codebase.
Quick Reference
| Rule | Impact | Description |
|---|---|---|
| Favor Rich Domain Models | HIGH | Encapsulate business logic in domain entities; includes enum patterns |
| Proper Context Usage | HIGH | Propagate deadlines, cancellation, and metadata correctly |
| Pass Context to Loggers | HIGH | Use zerolog with context for request-scoped logging |
How to Use
- Read the Rules: Before starting a new feature or refactor, browse the relevant rule files in
references/. - Follow the Examples: Use the provided code patterns as templates for your implementation.
- Ensure Consistency: Apply the same patterns (e.g., context propagation, logging) across all layers of the application.
For any specific questions on implementation, refer to the individual rule files which contain detailed explanations and code snippets.
スコア
総合スコア
45/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
○言語
プログラミング言語が設定されている
0/5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です