What problem does it solve?
This Skill provides the foundational core services for Hai Framework apps, including configuration loading, structured logging, internationalization (i18n), and HaiResult-based error handling and module lifecycle helpers, enabling consistent behavior across modules.
Core Features & Use Cases
- Configuration loading: centralized, validated config retrieval with reload/watch capabilities.
- Logging & observability: standardized log formats, levels, and child loggers for modules.
- Internationalization: global locale management and message retrieval.
- HaiResult error handling: unified success/error shapes with clear causes and suggestions.
- Module lifecycle: standardized init/use/close pattern across modules.
- Use Case: adopt core across services to ensure predictable startup, error handling, and messaging.
Quick Start
Initialize core by calling core.init with your project configuration directory, then use core.config, core.logger, and core.i18n to build and manage modules.