Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+23 more

    Vue Engineering

    by Andrey Shelamkoff

    1

    Design and implement type-safe Vue 3 applications using Composition API, Pinia, and robust architectural patterns.

    $5.99

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    Vue Engineering

    Vue Engineering

    Example session with this skill installed

    Create a composable for handling paginated API data using TanStack Query, including search filters and loading states.

    • Read your context and instructions
    • Compiled the vue engineering

    I have designed a paginated data composable using TanStack Query. It follows the async ownership rules to prevent stale writes and ensures reactive search filters are correctly tracked.

    usePaginatedData Composable

    import { computed, type Ref } from 'vue';
    import { useQuery, keepPreviousData } from '@tanstack/vue-query';
    
    interface PaginationParams {
      page: Ref<number>;
      pageSize: Ref<number>;
      search: Ref<string>;
    }
    
    export function useItems(params: PaginationParams) {
      const queryKey = computed(() => [
        'items',
        { 
          page: params.page.value, 
          pageSize: params.pageSize.value, 
          search: params.search.value 
        }
      ]);
    
      const {
        data,
        isLoading,
        isError,
        isPlaceholderData,
        error,
      } = useQuery({
        queryKey,
        queryFn: async ({ queryKey }) => {
          const [_key, { page, pageSize, search }] = queryKey as [string, any];
          const response = await fetch(
            `/api/items?page=${page}&limit=${pageSize}&q=${encodeURIComponent(search)}`
          );
          if (!response.ok) throw new Error('Network response was not ok');
          return response.json();
        },
        placeholderData: keepPreviousData,
      });
    
      const items = computed(() => data.value?.items ?? []);
      const total = computed(() => data.value?.total ?? 0);
      const totalPages = computed(() => Math.ceil(total.value / params.pageSize.value));
    
      return {
        items,
        total,
        totalPages,
        isLoading,
        isError,
        isPlaceholderData,
        error,
      };
    }
    

    Next steps

    • Integrate this composable into the ItemListView.vue component.
    • Add a debounce to the search ref to prevent excessive API calls during typing.
    • Implement a Vitest unit test using flushPromises to verify the loading state transitions.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Vue codebases often degrade into a mess of fragmented reactivity, leaky component boundaries, and inconsistent state ownership. This skill provides a rigorous engineering approach to Vue 3 and TypeScript development, ensuring your application remains maintainable as it scales.

    What it does

    • Architectural design establishes clear module boundaries using Feature-Sliced Design (FSD) or vertical slices.
    • State management implements authoritative ownership using Pinia, TanStack Query, or native Composition API composables.
    • Component implementation builds robust SFCs using <script setup>, defineModel, and strict TypeScript contracts.
    • Logic verification uses Test-Driven Development (TDD) with Vitest and Vue Test Utils to catch regressions early.
    • Performance auditing identifies bottlenecks in reactivity, bundle sizes, and rendering cycles.
    • SSR optimization handles request isolation and hydration specifically for Nuxt environments.

    How it works

    1. Analyze context by reading package manifests, tsconfig, and existing reactivity patterns.
    2. Define contracts for props, events, and state lifetimes before writing implementation code.
    3. Execute implementation using the Composition API while preserving reactive sources across function boundaries.
    4. Verify behavior through type-checking with vue-tsc and executing targeted behavior tests.

    Frameworks & tools

    Built for Vue 3, Nuxt, and TypeScript. Works with Pinia, TanStack Query, Vite, Vitest, and Vue Router. Supports Feature-Sliced Design (FSD) and Clean Architecture patterns.

    Why this beats prompting it yourself

    Generic prompts often produce outdated Options API code or brittle reactivity that breaks under concurrent operations. This skill enforces strict ownership rules and async safety, preventing common memory leaks and stale data writes.

    Use cases

    • Migrating a legacy Options API or JavaScript module to Vue 3 and TypeScript.
    • Designing a scalable component library with documented public APIs and slots.
    • Debugging complex race conditions in async composables or Pinia stores.
    • Implementing a Nuxt application with strict SSR hydration requirements.

    Known limitations

    Does not perform standalone visual design critiques or unrelated backend infrastructure work. Focuses strictly on the Vue/Nuxt ecosystem.

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Frontend & Web Apps.

    Excludes backend infrastructure, standalone visual design, and non-Vue translations. Limited to Vue/Nuxt ecosystem constraints.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed today

    Permissions

    Browser
    Read Files
    Write Files
    Network Access
    Listedtoday

    What's inside

    Frequently Asked Questions

    This skill helps you build and maintain Vue 3 applications by enforcing strict type safety and architectural patterns like Feature Sliced Design. It prevents common issues such as fragmented reactivity, memory leaks, and stale data writes that often occur with generic AI code generation.

    You simply need a Vue 3 or Nuxt project environment. The skill works with existing TypeScript configurations, package manifests, and tools like Pinia, Vitest, or TanStack Query already present in your repository.

    You can expect production ready SFCs using script setup, type safe composables, and Pinia stores with clear ownership rules. For architectural tasks, it provides module boundary designs and implementation plans, while for audits, it delivers impact ordered reports with observable evidence and suggested corrections.

    This skill focuses exclusively on the Vue and Nuxt ecosystem, including TypeScript implementation and SSR optimization. It does not perform standalone visual design critiques, translation services, or unrelated backend infrastructure work.

    You can ask your agent to design a new component library, migrate a legacy Options API module to the Composition API, or debug a complex race condition in your Pinia stores. It is also effective for auditing existing code for performance bottlenecks or SSR hydration issues.

    New in Frontend & Web Apps