module-exports
OfficialEnforce clean, minimal public APIs for modules
Software Engineering#typescript#types#public-api#library-design#re-exports#export-patterns#factory-function
Authorzerobias-org
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Module authors often struggle with inconsistent library entry points, leading to brittle integrations and DI friction. This Skill provides a clear pattern to publish a clean, minimal public API by combining a factory-based export surface with comprehensive generated type re-exports.
Core Features & Use Cases
- Factory function as the primary export to create instances or connectors without exposing internal classes.
- Re-export of all generated API and model types to ensure a complete, stable public surface.
- Minimal public surface strategy with explicit guidance on what to export and what to keep internal.
Quick Start
Create a simple, explicit public API by exporting a factory function and re-exporting generated types.
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: module-exports Download link: https://github.com/zerobias-org/module/archive/main.zip#module-exports 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.