Skip to content
Agentmart
Submit a tool

go-interfaces

Go interface design patterns and best practices

Skill by JamesPrial

IndexedMIT★ 3
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/jamesprial-go-interfaces

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Go interface design patterns and best practices

Use cases: design

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/go-interfaces

What's inside

Skill name
go-interfaces
Description
Go interface design patterns and best practices
License
MIT
Instructions
26 lines in SKILL.md · view on GitHub

Agent Skills spec issues

  • name: "go-interfaces" does not match folder "interfaces"

Files (4)

  • SKILL.md
  • SKILL.md · design/
  • SKILL.md · embedding/
  • SKILL.md · pollution/

SKILL.md (first lines)

# Interface Design

Master Go's approach to interfaces: implicit satisfaction, consumer-driven design, and composition patterns.

## Route by Concern

- **Accept/return patterns** → see [design/](design/)
  - Accept interfaces, return structs principle
  - When to deviate from the rule

- **Interface pollution** → see [pollution/](pollution/)
  - Detecting unnecessary abstractions
  - Premature interface creation

- **Embedding patterns** → see [embedding/](embedding/)
  - Interface composition techniques
  - Method set expansion

## Quick Check

- [ ] Interface defined by consumer, not producer
- [ ] Keep interfaces small (<5 methods)
- [ ] Return concrete types from functions
- [ ] No interface{} unless truly necessary

From JamesPrial/claudefiles, MIT.

Signals

Stars
3
Forks
0
Open issues
0
Last commit (this folder)
Dec 18, 2025 (10 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from JamesPrial

Cite this page

go-interfaces skill. Agent Mart. https://agentmart.dev/skills/jamesprial-go-interfaces (last updated 2026-10-24)