0112-nuxt-repositories
CommunityUse typed repositories with hydrated models
AuthorMrJmpl3
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill helps you build a clean, consistent data access layer for Nuxt apps so API calls return ready-to-use, typed models instead of raw JSON scattered across your codebase.
Core Features & Use Cases
- Typed CRUD repositories: Define repositories around API resource paths for standard list/get/create/update/delete operations.
- Automatic model hydration: Convert API responses into model instances via a
ModelHydrator, returning hydrated models for both single entities and collections. - Custom repository methods: Add domain-specific actions (e.g., “list posts by author”) using the underlying JSON request helpers.
- Repository registration & usage: Register repositories in app config and retrieve them at runtime via
useRepository.
Quick Start
Use repositories by registering your repository classes in app config, then call useRepository("posts") to list and get hydrated models.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 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: 0112-nuxt-repositories Download link: https://github.com/MrJmpl3/codex_____data_____configuration/archive/main.zip#0112-nuxt-repositories 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 471,000+ vetted skills library on demand.