What problem does it solve?
This Skill eliminates the friction of working with OrangeHRM's Vue frontend data layer, removing the need to reverse-engineer API conventions, composable patterns, or validation rules from scattered source code. It provides a single reference for all frontend data operations, ensuring consistency with the platform's established backend and frontend contracts.
Core Features & Use Cases
- APIService & Reactive Data Loading: Reference for the axios wrapper that mirrors backend /api/v2/... routes 1:1, including 401/422 interceptors and ETag-based production caching, plus composables like usePaginate (for filterable, sortable paginated lists) and useSort that automatically re-fetch data when query parameters change.
- Form Handling & Validation: Covers form composables (useForm, useServerValidation for backend uniqueness checks), and a catalog of ~40 reusable client-side validation rules for common input types like dates, files, numbers, and formatted strings.
- Use Case: Use this Skill when building a new Vue component that calls OrangeHRM APIs, debugging why a list does not re-fetch when filters change, wiring server-side 422 validation errors to form fields, or selecting the correct validation rule for a specific input type.
Quick Start
Use the frontend-data skill to build a paginated, filterable list of employee job titles with sortable columns and client-side validation for the job title name field.