mirror-types
CommunitySever external dependencies by mirroring types.
Software Engineering#type-safety#adapters#decoupling#wrappers#mirror-types#external-types#internal-types
Authorluyi985
Version1.0.0
Installs0
System Documentation
What problem does it solve?
When depending on external types, changes to those types can break your code. Mirroring types severs this dependency, useful when you want a subset of external types or want insulation from external changes.
Core Features & Use Cases
- Mirror external types into internal definitions to break tight coupling.
- Use in adapters or wrappers to shield internal code from external API changes.
- Applicable when external types are evolving, large, or rarely used internally.
Quick Start
Create internal mirrors for the external types your module uses, then replace references to the external types with the internal counterparts.
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: mirror-types Download link: https://github.com/luyi985/lyi-bash/archive/main.zip#mirror-types 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 471,000+ vetted skills library on demand.