external-types

Community

Integrate external types for dependency injection in Rust applications.

Authorjymchng
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill addresses the challenge of injecting external, third-party types (like databases and HTTP clients) into Rust applications that cannot be annotated with the standard #[injectable] attribute.

Core Features & Use Cases

  • Inject External Types: Facilitates the integration of types from external libraries that are not #[injectable].
  • Custom Factories: Supports the creation of custom factories for external types that require specific setup or configuration.
  • Use Case: Ideal for setting up database connections, HTTP clients, or any other type that needs a more complex initialization process.

Quick Start

To use the external-types skill, define a factory function for your external type and register it as a provider in your application container.

Dependency Matrix

Required Modules

None required

Components

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: external-types
Download link: https://github.com/jymchng/injectable/archive/main.zip#external-types

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 620,000+ vetted skills library on demand.