type-project-organization
CommunityUnify type exports with a clean structure.
System Documentation
What problem does it solve?
This Skill provides a comprehensive convention for organizing and exporting types in TypeScript-based projects (e.g., apps/type), addressing issues like export conflicts, duplicated exports, and inconsistent export entry points. It guides how to structure directories, when to export all versus individual members, and how to consolidate common types within a predictable export surface.
Core Features & Use Cases
- Full export syntax: Always use export * from "./module" to re-export all members, avoiding scattered named exports.
- Unified export entry points: Create index.ts files at root and per-module levels to provide a single export surface.
- Avoid duplicate exports: Centralize shared types and options to prevent conflicts and streamline maintenance.
- Use-case: In a large type project, consolidating all types under apps/type with a consistent export path simplifies imports and reduces refactoring risk.
Quick Start
Tell the AI to apply the type project organization rules to the repository: replace scattered type exports with a unified export approach, create index.ts exports at each level, and move shared types to a common common/ area.
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: type-project-organization Download link: https://github.com/ruan-cat/11comm/archive/main.zip#type-project-organization 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 223,000+ vetted skills library on demand.