go-interfaces

Highlight Go interface design principles including embedding and pollution awareness.

3|Updated Nov 28, 2025
One-click install
npx skills add https://github.com/JamesPrial/claudefiles --skill go-interfaces-jamesprial
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: go-interfaces
Source: https://github.com/JamesPrial/claudefiles/tree/main/skills/golang/interfaces
Command: npx skills add https://github.com/JamesPrial/claudefiles --skill go-interfaces-jamesprial

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill highlights interface design principles in Go, including accept/return patterns, embedding, and avoiding pollution.

Core Features & Use Cases

  • Design Guidelines: Consumer-driven interfaces and small contracts.
  • Embedding: Compose interfaces for flexible, incremental capabilities.
  • Pollution Awareness: Detect when interfaces are overly broad.

Quick Start

Define a small interface and show how to compose larger contracts via embedding.