interface-embedding

Compose small interfaces into larger contracts via embedding.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Interfaces can be composed via embedding to form larger, useful contracts without creating fat interfaces.

Core Features & Use Cases

  • Small Interfaces: Build simple interfaces and compose into larger ones.
  • Optional Behavior: Detect optional capabilities via type assertions.

Quick Start

Define small interfaces and embed them to form a ReadCloser-like contract.