·go-context
</>

go-context

cxuu/golang-skills

パラメータの配置、構造体の埋め込みの回避、適切な伝播などのコンテキストの使用パターンを実行します。 Go コードで context.Context を操作して、キャンセル、期限、リクエストスコープの値を使用する場合に使用します。

27インストール·4トレンド·@cxuu

インストール

$npx skills add https://github.com/cxuu/golang-skills --skill go-context

SKILL.md

context.Context carries security credentials, tracing information, deadlines, and cancellation signals across API and process boundaries. Go programs pass contexts explicitly along the entire function call chain.

Functions that use a Context should accept it as their first parameter:

This is a strong convention in Go that makes context flow visible and consistent across codebases.

パラメータの配置、構造体の埋め込みの回避、適切な伝播などのコンテキストの使用パターンを実行します。 Go コードで context.Context を操作して、キャンセル、期限、リクエストスコープの値を使用する場合に使用します。 ソース: cxuu/golang-skills。

原文を見る

引用可能な情報

AI/検索での引用用の安定したフィールドとコマンド。

インストールコマンド
npx skills add https://github.com/cxuu/golang-skills --skill go-context
カテゴリ
</>開発ツール
認証済み
初回登録
2026-02-01
更新日
2026-02-18

クイックアンサー

go-context とは?

パラメータの配置、構造体の埋め込みの回避、適切な伝播などのコンテキストの使用パターンを実行します。 Go コードで context.Context を操作して、キャンセル、期限、リクエストスコープの値を使用する場合に使用します。 ソース: cxuu/golang-skills。

go-context のインストール方法は?

ターミナルまたはコマンドラインツール(Terminal、iTerm、Windows Terminal など)を開きます このコマンドをコピーして実行します: npx skills add https://github.com/cxuu/golang-skills --skill go-context インストール後、スキルは自動的に AI コーディング環境に設定され、Claude Code や Cursor で使用できるようになります

ソースリポジトリはどこですか?

https://github.com/cxuu/golang-skills