
Nuxt Data
Handles Nuxt 4's data fetching and state management patterns, covering useFetch, useAsyncData, useState, and Pinia integration. Useful when you're wiring up reactive API calls, building custom composables, or debugging why your data isn't refreshing when params change. The skill emphasizes the shallow reactivity default in v4, which trips people up if they try to mutate data directly instead of calling refresh. Good coverage of SSR-safe patterns and the useState versus ref distinction, which is critical for shared state. If you're building auth flows, pagination, or anything with global state in Nuxt 4, this covers the essential patterns without the framework docs verbosity.
- skills.sh installs
- 400
- GitHub stars
- 248
- last updated
- Aug 21, 2026
Install
$ npx -y skills add secondsky/claude-skills --skill nuxt-data --agent claude-codeInstalls into .claude/skills of the current project.
Files
Nuxt 4 Data Management
Composables, data fetching, and state management patterns for Nuxt 4 applications.
Quick Reference
Data Fetching Methods
| Method | Use Case | SSR | Caching | Reactive |
|---|---|---|---|---|
useFetch | Simple API calls | Yes | Yes | Yes |
useAsyncData | Custom async logic | Yes | Yes | Yes |
$fetch | Client-side only, events | No | No | No |
Composable Naming
| Prefix | Purpose | Example |
|---|---|---|
use | State/logic composable | useAuth, useCart |
fetch | Data fetching only | fetchUsers (rare) |
When to Load References
Load references/composables.md when:
- Writing custom composables with complex state
- Debugging state management issues or memory leaks
- Implementing SSR-safe patterns with browser APIs
- Building authentication or complex state composables
- Understanding singleton vs per-call composable patterns
Sponsors
Details
- Repository
- github.com/secondsky/claude-skills
- Categories
- Frontend Development, Debugging
- First seen
- Jun 3, 2026
More from secondsky/claude-skills
All 146- Microservices Patterns398
- Multi Ai Consultant397
- Graphql Implementation393
- Mcp Management393
- Model Deployment393
- Jest Generator391
- Cloudflare Agents389
- Cloudflare Mcp Server388
- Thesys Generative Ui384
- Access Control Rbac381
- Maz Ui380
- React Best Practices380
- Woocommerce Backend Dev379
- Woocommerce Code Review379
- Bun Hono Integration376
- Bun Test Basics375
- Woocommerce Copy Guidelines374
- Woocommerce Dev Cycle374
- Cloudflare Workers Security369
- Bun Nextjs358
- Bun Package Manager358
- Bun Drizzle Integration353
- Bun Docker343
- Bun Runtime342