App Service Manager
Manages Reatom service functions and architectural wiring for state-driven applications.
The manage-app-services skill streamlines the development of service-oriented architectures within Reatom-based projects. It automates the creation and updating of service functions in the stores directory, handles complex side effects, and manages the wiring of services to DOM tasks. By enforcing best practices like calling services through event-driven tasks rather than direct component calls, it ensures a decoupled, type-safe, and maintainable codebase. This skill is particularly useful for developers using Reatom-UI5 patterns who need to maintain consistency across service registrations and store updates.
Key Features
01Automates creation of service functions in src/stores/*.service.ts
02Ensures type-safe service signatures and explicit return types
03Updates all service call sites and task registrations across the repository
04Implements withConnectHook for automatic data loading on atom connection
05Wires services to DOM tasks using registerTaskHandler in setup files
061 GitHub stars
Use Cases
01Decoupling UI components from business logic by implementing task-based dispatching.
02Refactoring existing service parameters and updating all related task handlers.
03Adding a new API-backed service that updates a Reatom store automatically.