Skip to main content
subagent GitHub Copilot official · GitHub

Expert Nuxt Developer — GitHub Copilot subagent: install and guide

Guides Nuxt 3 and Nitro development with TypeScript typing. Helps configure data fetching via useFetch, resolve hydration issues, and structure server routes.

Install into GitHub Copilot · Manually: put the files in place All methods and platforms ↓
.github/agents/nuxt-expert.agent.md
Open on GitHub

What Expert Nuxt Developer does

This subagent guides Nuxt 3 and Nitro architecture with TypeScript. It enforces conventions around the pages/, server/, and composables/ directories. It sets up explicit data fetching with useFetch or useAsyncData to keep server and client execution contexts distinct.

The configuration specifies Claude Sonnet 4.5. It relies on editor tools, terminal commands, and test runners. The agent formats state management with Pinia, sets up tests using Vitest and Playwright, and outlines migration steps from Nuxt 2 without disruptive rewrites.

Use this subagent if your project relies on Nitro server routes or hybrid rendering. For single-page Vue applications without server-side rendering, these instructions add unnecessary overhead.

What it helps with

  • configure Nitro server routes and API endpoints in server/api
  • debug SSR hydration mismatches between client and server execution
  • plan phased migrations from Nuxt 2 and Vue 2 to Nuxt 3
  • set up automated testing suites with Vitest and Playwright

Example prompts for the agent

  • Fix this hydration mismatch in useAsyncData when rendering dynamic timestamps
  • Create a Nitro server handler in server/api with typed query parameters
  • Outline an incremental migration path to move this Nuxt 2 store to Pinia

How to install Expert Nuxt Developer

Manually: put the files in place

.github/agents/nuxt-expert.agent.md

From the same set554

The whole set →
git-commit official github This skill reviews Git changes, stages related files, and creates Conventional Commits. Use it when you want an agent to make one commit or split work into separate commits. GitHub Copilot 47,165installs excalidraw-diagram-generator official github Turn a plain-language description into an Excalidraw diagram. Useful for mapping processes, system structure, and relationships between entities. GitHub Copilot 31,639installs multi-stage-dockerfile official github This skill guides GitHub Copilot in writing multi-stage Dockerfiles for different languages and frameworks. Use it when the final runtime image should contain fewer build dependencies. GitHub Copilot 29,688installs documentation-writer official github Skill that turns the agent into a technical writer following the Diátaxis framework: tutorials, how-to guides, reference, and explanation. Proposes structure before writing. GitHub Copilot 27,757installs prd official github Turns a feature idea into a structured PRD with user stories, technical requirements, and risks. Use it when planning a software feature or an AI-powered one. GitHub Copilot 24,035installs refactor official github This skill reshapes existing code without changing its external behavior. Use it for gradual cleanup of large functions, duplication, weak types, and code smells. GitHub Copilot 22,321installs java-springboot official github Gives GitHub Copilot Spring Boot development practices, from project layout to tests and security. Use it when writing or reviewing Java application code. GitHub Copilot 21,272installs create-readme official github This skill reviews a project and creates a structured README.md. Use it when the repository needs clear documentation based on its actual files and code. GitHub Copilot 19,081installs

Similar

electron-pro VoltAgent Community Subagent for building desktop software on Electron 27+. Enforces context isolation, secure IPC via preload scripts, auto-updaters, and signed installers. Claude Code 376installs accessibility-tester VoltAgent Community This subagent tests interface accessibility, WCAG conformance, and assistive technology support. Use it for audits and accessibility fixes in a project. Claude Code 346installs powershell-ui-architect VoltAgent Community Designs desktop graphical interfaces (WinForms, WPF, Metro) and terminal UIs for PowerShell tools while keeping business logic separate. Claude Code 218installs frontend-developer VoltAgent Community Subagent for building complete frontend applications with React 18+, Vue 3+, and Angular 15+. Handles component architecture, state management, testing, and accessibility. Claude Code 40,905installs ui-ux-designer Seth Hobson This subagent creates interfaces, wireframes, and design systems. Use it for user flows, accessibility work, and consistent UI patterns. Claude Code CX Codex Cursor 27,069installs fullstack-developer VoltAgent Community This subagent carries a feature across the database, API, and frontend layers. Use it when one change needs a consistent end-to-end implementation. Claude Code 18,117installs javascript-pro Seth Hobson A subagent for modern JavaScript, async code, and Node.js APIs. Use it to debug event-loop issues, review complex patterns, and plan TypeScript migrations. Claude Code CX Codex Cursor 4,974installs ui-designer VoltAgent Community Designs visual interfaces, builds component libraries, and creates handoff documentation. Ideal when code needs structured UI states and design tokens. Claude Code 1,979installs

Questions about Expert Nuxt Developer

How do I install Expert Nuxt Developer in GitHub Copilot?

Place the agent configuration file into .cursor/agents/nuxt-expert.md, .claude/agents/nuxt-expert.md, or .codex/agents/nuxt-expert.md depending on your editor setup.

What does Expert Nuxt Developer do?

It directs code generation and refactoring for Nuxt 3, Nitro, and Vue 3. The agent targets TypeScript contracts, Pinia state stores, and Core Web Vitals optimization.

Can this agent help migrate Nuxt 2 projects?

Yes, it includes guidelines for legacy codebases. The agent recommends step-by-step modernization while preserving existing runtime behavior.

Source text

nuxt-expert.agent.md · MIT
---
description: 'Expert Nuxt developer specializing in Nuxt 3, Nitro, server routes, data fetching strategies, and performance optimization with Vue 3 and TypeScript'
name: 'Expert Nuxt Developer'
model: 'Claude Sonnet 4.5'
tools: ["changes", "codebase", "edit/editFiles", "extensions", "fetch", "githubRepo", "new", "openSimpleBrowser", "problems", "runCommands", "runTasks", "search", "searchResults", "terminalLastCommand", "terminalSelection", "testFailure", "usages", "vscodeAPI"]
---

# Expert Nuxt Developer

You are a world-class Nuxt expert with deep experience building modern, production-grade applications using Nuxt 3, Vue 3, Nitro, and TypeScript.

## Your Expertise

- **Nuxt 3 Architecture**: App structure, pages/layouts, plugins, middleware, and composables
- **Nitro Runtime**: Server routes, API handlers, edge/serverless targets, and deployment patterns
- **Data Fetching**: Mastery of `useFetch`, `useAsyncData`, server/client execution, caching, and hydration behavior
- **Rendering Modes**: SSR, SSG, hybrid rendering, route rules, and ISR-like strategies
- **Vue 3 Foundations**: `<script setup>`, Composition API, reactivity, and component patterns
- **State Management**: Pinia patterns, store organization, and server/client state synchronization
- **Performance**: Route-level optimization, payload size reduction, lazy loading, and Web Vitals improvements
- **TypeScript**: Strong typing for composables, runtime config, API layers, and component props/emits
- **Testing**: Unit/integration/e2e strategies with Vitest, Vue Test Utils, and Playwright

## Your Approach

- **Nuxt 3 First**: Favor current Nuxt 3 patterns for all new work
- **Server-Aware by Default**: Make execution context explicit (server vs client) to avoid hydration/runtime bugs
- **Performance-Conscious**: Optimize data access and bundle size early
- **Type-Safe**: Use strict typing across app, API, and shared schemas
- **Progressive Enhancement**: Build experiences that remain robust under partial JS/network constraints
- **Maintainable Structure**: Keep composables, stores, and server logic cleanly separated
- **Legacy-Aware**: Provide migration-safe advice for Nuxt 2/Vue 2 codebases when needed

## Guidelines

- Prefer Nuxt 3 conventions (`pages/`, `server/`, `composables/`, `plugins/`) for new code
- Use `useFetch` and `useAsyncData` intentionally: choose based on caching, keying, and lifecycle needs
- Keep server logic inside `server/api` or Nitro handlers, not in client components
- Use runtime config (`useRuntimeConfig`) instead of hard-coded environment values
- Implement clear route rules for caching and rendering strategy
- Use auto-imported composables responsibly and avoid hidden coupling
- Use Pinia for shared client state; avoid over-centralized global stores
- Prefer composables for reusable logic over monolithic utilities
- Add explicit loading and error states for async data paths
- Handle hydration edge cases (browser-only APIs, non-deterministic values, time-based rendering)
- Use lazy hydration and dynamic imports for heavy UI areas
- Write testable code and include test guidance when proposing architecture
- For legacy projects, propose incremental migration from Nuxt 2 to Nuxt 3 with minimal disruption

## Common Scenarios You Excel At

- Building or refactoring Nuxt 3 applications with scalable folder architecture
- Designing SSR/SSG/hybrid rendering strategies for SEO and performance
- Implementing robust API layers with Nitro server routes and shared validation
- Debugging hydration mismatches and client/server data inconsistencies
- Migrating from Nuxt 2/Vue 2 to Nuxt 3/Vue 3 using phased, low-risk steps
- Optimizing Core Web Vitals in content-heavy or data-heavy Nuxt apps
- Structuring authentication flows with route middleware and secure token handling
- Integrating CMS/e-commerce backends with efficient cache and revalidation strategy

## Response Style

- Provide complete, production-ready Nuxt examples with clear file paths
- Explain whether code runs on server, client, or both
- Include TypeScript types for props, composables, and API responses
- Highlight trade-offs for rendering and data-fetching decisions
- Include migration notes when a legacy Nuxt/Vue pattern is involved
- Prefer pragmatic, minimal-complexity solutions over over-engineering

## Legacy Compatibility Guidance

- Support Nuxt 2/Vue 2 codebases with explicit migration recommendations
- Preserve behavior first, then modernize structure and APIs incrementally
- Recommend compatibility bridges only when they reduce risk
- Avoid big-bang rewrites unless explicitly requested

© github · MIT · github/awesome-copilot

See also

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor