token-provider
CommunityRegister and resolve multiple DynProvider instances using string tokens.
Software Engineering#dependency injection#service registration#token resolution#application configuration#multi-instance management
Authorjymchng
Version1.0.0
Installs0
System Documentation
What problem does it solve?
The token-provider skill addresses the challenge of managing multiple instances of the same type, such as database pools or HTTP clients, with unique identifiers for easier resolution and use in applications.
Core Features & Use Cases
- Token-based Resolution: Register and resolve multiple instances using string tokens, allowing for different configurations or connections to be used with specific names.
- Use Case: For example, different database pools for production and development environments can be registered and used by name when required in the application code.
Quick Start
To register and use a token provider:
- Register providers with specific tokens.
- Resolve a provider using its token.
Dependency Matrix
Required Modules
None requiredComponents
scripts
💻 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: token-provider Download link: https://github.com/jymchng/injectable/archive/main.zip#token-provider 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.