nuxt4
OfficialSecure, production-grade Nuxt 4 patterns fast.
Software Engineering#nuxt4#useFetch#zod validation#csrf protection#server routes#runtime config#ssr security
AuthorProbably-Group
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill prevents common Nuxt 4 security and reliability mistakes by enforcing safe patterns for server routes, runtime config, rendering, and data fetching.
Core Features & Use Cases
- Server route safety: Validates request inputs and applies CSRF protection for state-changing endpoints to reduce vulnerability risk.
- Runtime config correctness: Keeps secrets out of
runtimeConfig.publicwhile exposing only client-safe values. - SSR/XSS-safe rendering: Avoids unsafe
v-htmlusage with untrusted SSR content and recommends sanitization when HTML is required. - Nuxt 4 implementation patterns: Uses
useFetchwith typing and error handling, followscomposables/conventions, and applies Nuxt 4 directory structure and middleware best practices. - Use Case: You are implementing authentication-protected endpoints plus SSR pages in a Nuxt 4 app and want consistent validation, secure config handling, and robust fetching behavior without brittle ad-hoc code.
Quick Start
Ask your AI to generate Nuxt 4 server routes and page code that validate every input with Zod, keep secrets out of runtimeConfig.public, protect state-changing operations with CSRF, and fetch data using typed useFetch with proper loading and error handling.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 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: nuxt4 Download link: https://github.com/Probably-Group/Dev-AID/archive/main.zip#nuxt4 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.