Ein bestehendes Vue-Projekt verstehen
Erkundet ein Vue-Projekt, damit neue Funktionen zu tatsächlichen Versionen, vorhandenen Bausteinen und Zuständigkeiten für Daten passen.
vue-codebase-discovery
Entdecke, wie der Skill hilftWann ist der Skill hilfreich?
Nutze diesen Skill beim Einstieg in eine fremde Vue-Codebasis oder vor Änderungen über mehrere Seiten und Datenquellen hinweg.
Wobei hilft er dir?
- Prüft Framework- und Buildversionen sowie die vorhandenen Test- und Typprüfungsbefehle.
- Findet wiederverwendbare Komponenten, Composables und Gestaltungskonventionen.
- Unterscheidet Serverdaten, URL-Zustand, lokale Entwürfe und gemeinsam genutzten Zustand.
Das könntest du fragen
Untersuche unseren Produkteditor vor einer Massenbearbeitung. Finde Route, API-Aufrufe, vorhandene Bedienelemente und Datenverantwortung und schlage den passenden Änderungsort vor. Verfolge eine bestehende Produktspeicherung von Seite bis API-Antwort. Benenne gemeinsame Validierung und Auswahlverhalten, die Sammelbearbeitung erhalten muss.
Ausführliche Dokumentation
Hier findest du die ursprüngliche Anleitung, Beispiele und Prüfschritte des Skills in ihrer Originalsprache.
Weniger anzeigen
Vue Codebase & Version Discovery
Verify the project's actual Vue, TypeScript, router, state, server-bridge and build versions and conventions from its manifests and source before proposing or writing code.
1. Versions, manifests and tooling
- Read
package.json, the lockfile (package-lock.json,pnpm-lock.yaml,yarn.lock,bun.lock*) andtsconfig*.json/vite.config.*before assuming any framework API exists:- Vue: Vue 3.5+ (
useTemplateRef, reactive props destructuring,onWatcherCleanup,useId), Vue 3.4 (defineModelstable,:idshorthand), Vue 3.3 (<script setup generic="T">,defineOptions,defineSlots,toRef/toValue), or Vue 2.7 / Options API. - Bridge & routing:
@inertiajs/vue3(v1 vs v2<Deferred>,<Form>,usePoll,whenVisible),vue-router(v4 vsunplugin-vue-routertyped routes), or Nuxt. - State & utilities:
pinia,@vueuse/core,@tanstack/vue-query, form libraries (vee-validate,zod), and i18n (vue-i18nor custom catalog).
- Vue: Vue 3.5+ (
- Collect the exact scripts the repo defines for
typecheck(vue-tsc),lint,buildandtest(vitest,playwright). - When version-specific behavior is uncertain, inspect the installed package types in
node_modulesor the official docs for that exact version.
2. Existing components, composables and tokens
- Map the frontend layout: pages/views, shared UI primitives, domain components, composables (
use*), stores, API/Inertia helpers and types. Resolve path aliases (@/,~/) fromtsconfigandvite.config. - Inspect 2–3 sibling components and composables in the area you will touch to match conventions:
<script setup lang="ts">vs Options API, block ordering, prop/emit typing style, and styling (Tailwind, scoped CSS, CSS Modules, design tokens). - Reuse existing UI primitives (buttons, inputs, dialogs, tables, toasts, empty/error states) and composables (
@vueuse/coreor localuse*) before creating new ones.
3. State ownership and data flow map
- Trace the user flow end to end and classify every piece of data with a single source of truth:
- Server data: page props from Inertia or responses from API queries.
- URL state: route params, search filters, sort order, active tab or pagination that should survive reload or link sharing.
- Local UI state: open/closed toggles, form drafts and transient modal state kept in the narrowest owning component.
- Shared client state: cross-route session or workspace state that genuinely belongs in Pinia or scoped
provide/inject. - Derived state: values computed via
computed(), never duplicated in a secondrefsynced by watchers.
Before you finish
-
package.json, lockfile,tsconfigand build config checked; exact Vue, router, Pinia and Inertia versions known. - Existing components, composables, styling tokens and i18n conventions inspected and reused.
- Server data, URL state, local UI state, shared state and derived values classified with one owner each.
Enthaltene Dateien 2
LICENSE.txtSKILL.md
Über dieses Skill-Paket
vue-codebase-discovery
vue-codebase-discovery: Entwickelt Vue-Oberflächen mit vorhersehbarer Reaktivität, wiederverwendbaren Komponenten sowie zuverlässigem Routing, Formularen und Server-Rendering.
Weniger anzeigen
vue-codebase-discovery
vue-codebase-discovery: Entwickelt Vue-Oberflächen mit vorhersehbarer Reaktivität, wiederverwendbaren Komponenten sowie zuverlässigem Routing, Formularen und Server-Rendering.
Enthält den vollständigen Skill und seine Begleitdateien (2 Dateien). Der genaue, ursprünglich verfasste Anwendungsbereich bleibt unten erhalten.
Ursprüngliche Skill-Beschreibung (Quellsprache)
Use when exploring or mapping a Vue frontend codebase, checking Vue, TypeScript, router, state management, Inertia and build tool versions in package.json and lockfiles, or discovering project conventions, existing components, composables and design tokens before planning or implementing UI changes.
Installiere den Skill, prüfe seine Quelle und Vertrauenseinstellungen und aktiviere ihn für das passende Projekt oder den Agenten.
Voraussetzungen
- Orqestria auf deinem Computer installiert.
