Skill / SKILL.md

Go Interface Design

eduardo-sl/go-agent-skills

Go interface design patterns: implicit interfaces, consumer-side definition, interface compliance verification, composition, the accept-interfaces-return-structs principle, and common pitfalls. Use when designing interfaces, decoupling packages, defining contracts, reviewing interface usage, or refactoring for testability. Trigger examples: "design interface", "accept interfaces return structs", "interface compliance", "consumer-side interface", "interface composition". Not for: HTTP handler patterns (go-api-design), general review (go-code-review).
2 views 90 repository stars 0 commentsUpdated Nov 28, 2026
Overview

Go interface design patterns: implicit interfaces, consumer-side definition, interface compliance verification, composition, the accept-interfaces-return-structs principle, and common pitfalls. Use when designing interfaces, decoupling packages, defining contracts, reviewing interface usage, or refactoring for testability. Trigger examples: "design interface", "accept interfaces return structs", "interface compliance", "consumer-side interface", "interface composition". Not for: HTTP handler patterns (go-api-design), general review (go-code-review).

Installation & variants

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

git clone -- 'https://github.com/eduardo-sl/go-agent-skills' skill-source

Use the complete skill-source/skills/(architecture)/go-interface-design directory with your client’s skill installer.

  • skills/(architecture)/go-interface-design

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory skills/(architecture)/go-interface-design

Compatibility & requirements

Declared compatibility

Designed for Claude Code or similar AI coding agents working on Go projects. Requires the Go toolchain.

Declared tools

Read Edit Write Glob Grep Bash(go:*) Bash(gofmt:*)

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

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

Please log in to comment

    No comments yet

Related skills