Skip to content
Back to skills

Forge Vue Nuxt Apps

ASecurity

Build and change Vue 3 and Nuxt apps: Composition API, reactivity pitfalls, data fetching, SSR and testing

  • 7 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 30, 2026
ai-agentsreactvuetestingapi

Works with

  • cli
  • api

Security analysis

A100/100

Scanned November 30, 2026

npx -y skills add ansh44233/forge --skill forge-vue-nuxt-apps --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Forge Vue Nuxt Apps?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Forge Vue Nuxt Apps
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ansh44233-forge-vue-nuxt-apps/badge)](https://www.skillsdirectory.com/skills/ansh44233-forge-vue-nuxt-apps)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: forge-vue-nuxt-apps
description: "Build and change Vue 3 and Nuxt apps: Composition API, reactivity pitfalls, data fetching, SSR and testing"
---

<!-- Generated from catalog/skills/vue-nuxt-apps/SKILL.md by scripts/build-plugin.ts. Edit the catalog, not this file. -->

# Vue and Nuxt apps

Use when changing Vue 3 or Nuxt code.

## Components
- `<script setup lang="ts">` with typed `defineProps` and `defineEmits`. Props flow down and events flow up. Never mutate a prop.
- Extract reusable logic into composables (`useX`) that return refs and functions.
- Keep templates simple. Move logic into `computed` values.

## Reactivity pitfalls
- Destructuring a reactive object loses reactivity: use `toRefs`, or keep refs.
- Use `computed` for derived state, not `watch` plus a copy.
- Replace or deep-watch nested objects deliberately. Large reactive objects are expensive, so use `shallowRef` for big immutable data.

## State and data
- Use Pinia for shared state, and local state everywhere else.
- In Nuxt, fetch with `useFetch` or `useAsyncData` with a stable key, so SSR data hydrates without double-fetching. Handle `pending` and `error`.
- Keep secrets in `runtimeConfig` (server-only keys); only `public` keys reach the client.

## SSR
No `window` or `document` access during setup on the server. Use `onMounted` or `<ClientOnly>`. Avoid hydration mismatches from random values or dates rendered differently on the two sides.

## Verify
Vitest plus Vue Test Utils for components, type check with `vue-tsc`, and an end-to-end test for the main flow.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.