injectable-trait
CommunityEnable trait injection in dependency injection with ease.
Authorjymchng
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Dependency injection with traits can be complex and error-prone. This Skill simplifies the process, making it easier to create mock implementations and use trait objects in DI.
Core Features & Use Cases
- Trait Injection: Allows traits to be injected into your application, simplifying the creation of mock implementations and the use of trait objects.
- Axum Compatibility: Traits can be used with Axum's typed extractor model, enabling seamless integration with your web application.
- Error Handling: Provides strong error handling and validation to catch issues early, ensuring a stable and reliable application.
Quick Start
Use the injectable-trait skill to define a new trait and create a service that implements it, then inject the service into your application container.
Dependency Matrix
Required Modules
None requiredComponents
scriptsreferences
💻 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: injectable-trait Download link: https://github.com/jymchng/injectable/archive/main.zip#injectable-trait 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 620,000+ vetted skills library on demand.