create-package
Installation
SKILL.md
Create Package Workflow
Guide for creating or modifying packages in the gluestack-ui ecosystem. This includes working with gluestack-core (component creators) and gluestack-utils (utilities, hooks, styling helpers).
Package Types
gluestack-core
Contains component creators and core logic:
- Creator functions (factory pattern for components)
- ARIA hooks for accessibility
- Component-specific logic
- State management
Critical Export Requirements:
- All components need barrel exports in
src/[component]/index.tsx - Main index must export all components:
src/index.tsx - Deep imports enabled via
scripts/generate-barrel-exports.js(auto-runs on build) - TypesVersions in package.json for TypeScript deep import support