Skill / SKILL.md

Go Standard Library

v0lka/skills

Guides the agent to avoid common Go standard library mistakes when writing or reviewing Go code. Covers time.Duration misuse, time.After memory leaks, JSON handling pitfalls (type embedding, monotonic clock, map of any), SQL mistakes (sql.Open, connection pooling, prepared statements, null values, row iteration errors), closing transient resources (HTTP body, sql.Rows, os.File), missing return after HTTP error replies, and using default HTTP client/server without timeouts. Use when writing, reviewing, or refactoring code that uses the time, encoding/json, database/sql, net/http, or os packages.
2 views 32 repository stars 0 commentsUpdated Nov 27, 2026
Overview

Guides the agent to avoid common Go standard library mistakes when writing or reviewing Go code. Covers time.Duration misuse, time.After memory leaks, JSON handling pitfalls (type embedding, monotonic clock, map of any), SQL mistakes (sql.Open, connection pooling, prepared statements, null values, row iteration errors), closing transient resources (HTTP body, sql.Rows, os.File), missing return after HTTP error replies, and using default HTTP client/server without timeouts. Use when writing, reviewing, or refactoring code that uses the time, encoding/json, database/sql, net/http, or os packages.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/v0lka/skills' skill-source

Use the complete skill-source/development/idiomatic-go/go-standard-library directory with your client’s skill installer.

  • development/idiomatic-go/go-standard-library

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory development/idiomatic-go/go-standard-library

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Included files
Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
efaa8c74b305475a5e70e1732ef215a1dd012e1920f12cbb06e94713349a4127
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills