protocols

Community

Colocated Elixir protocol implementations.

Authorityonemo
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill simplifies Elixir protocol definitions and implementations by allowing them to be colocated within the struct module, reducing boilerplate and improving discoverability.

Core Features & Use Cases

  • Colocated Protocol Definitions: Define protocols directly within the module that will implement them.
  • Simplified Implementation: Write protocol implementations alongside struct definitions.
  • Use Case: When defining a new data structure and its associated protocol behavior, keep both the struct and its protocol implementations together for easier management and understanding.

Quick Start

Use the protocols skill to define a new Elixir protocol named MyProtocol with a required function process/1.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: protocols
Download link: https://github.com/ityonemo/pepper/archive/main.zip#protocols

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.