mesh-traits
CommunityMesh trait system: interfaces, impls, deriving.
Authorsnowdamiz
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill simplifies defining and implementing shared behavior across different data types in Mesh, enabling code reuse and polymorphism through interfaces and automatic protocol implementations.
Core Features & Use Cases
- Interface Definitions: Define contracts for methods and associated types.
- Implementation Blocks: Provide concrete implementations of interfaces for specific types.
- Deriving Macros: Automatically generate implementations for common protocols like
Json,Row,Display,Eq, andOrd. - Use Case: Define a
Printableinterface and implement it for bothUserandProductstructs, allowing you to print any of them uniformly.
Quick Start
Implement the Container interface for a MyList struct with Item as String.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 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: mesh-traits Download link: https://github.com/snowdamiz/mesh-lang/archive/main.zip#mesh-traits Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.