vue-patterns

vue-patterns is a skill for Claude Code, Codex from JunMystery/Agent-Guidance-Python. It costs 51 tokens per session (3,310 once invoked), scanned A, original, MIT.

A reference guide for building Vue.js applications with the Composition API, reusable components, shared state, routing, and server-side rendering.

In plain words
What is it for?
Use it when working on Vue, Nuxt, Vite with Vue, Pinia, Vue Router, Vue components, or Vue testing and server-rendering concerns.
Why use it?
It helps developers choose consistent Vue patterns and avoid common mistakes in application structure, reactivity, and state management.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when working on Vue, Nuxt, Vite with Vue, Pinia, Vue Router, Vue components, or Vue testing and server-rendering concerns.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/junmystery/agent-guidance-python/vue-patterns
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add JunMystery/Agent-Guidance-Python --skill vue-patterns
Clone the repo
git clone --depth 1 https://github.com/JunMystery/Agent-Guidance-Python

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for vue-patterns

README.md
[![agentmods](https://agentmods.dev/badge/skills/junmystery/agent-guidance-python/vue-patterns/github.svg)](https://agentmods.dev/skills/junmystery/agent-guidance-python/vue-patterns)
Your own site
<a href="https://agentmods.dev/skills/junmystery/agent-guidance-python/vue-patterns"><img src="https://agentmods.dev/badge/skills/junmystery/agent-guidance-python/vue-patterns/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for vue-patterns

Your own site · 80×15
<a href="https://agentmods.dev/skills/junmystery/agent-guidance-python/vue-patterns"><img src="https://agentmods.dev/badge/skills/junmystery/agent-guidance-python/vue-patterns.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,310 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00051 $0.03310
Opus 5.5 $0.00020 $0.01324
Sonnet 5.5 $0.00010 $0.00662
Haiku 4.5 $0.00005 $0.00331

Measured 2mo ago against content hash 1513dffa6a57, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

vue-patterns scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/vue-patterns/SKILL.md · 472 lines

How it starts

The opening of the file, as written. The whole thing — 472 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Vue.js Patterns and Best Practices

Comprehensive guide for Vue.js 3 development using Composition API (<script setup>), covering component design, reactivity, state management, routing, testing, and SSR patterns. Nuxt-specific guidance is included where it differs from vanilla Vue.

When to Activate

Activate this skill when:

  • The project uses Vue.js (any version), Nuxt, Vite + Vue, or Pinia.
  • The user asks about Vue component architecture, composables, reactivity, or state management.
  • Reviewing Vue Single-File Components (.vue files).
  • Setting up Vue Router, Pinia stores, or Vite/Vitest configuration.
  • Discussing Vue-specific performance, security, or SSR patterns.

1. Project Structure

Recommended Layout (Feature-First)

src/
├── api/              # API client and endpoint definitions
├── assets/           # Static assets (images, fonts, icons)
├── components/       # Shared/reusable components
│   ├── base/         # Base UI primitives (Button, Input, Modal)
│   └── features/     # Feature-specific shared components
├── composables/      # Reusable Composition API logic
├── layouts/          # Page layouts (optional)
├── pages/            # Route-level page components
├── router/           # Vue Router configuration
├── stores/           # Pinia stores
├── types/            # TypeScript type definitions
├── utils/            # Pure utility functions
└── App.vue           # Root component

File Naming

Convention When to Use
PascalCase.vue All components (enforced by vue/multi-word-component-names)
useCamelCase.ts Composables
camelCase.ts Utilities, API clients, types
kebab-case directories Route segments, feature folders

2. Component Architecture

Single-File Component Order

<script setup lang="ts">
// 1. Imports (vue → ecosystem → absolute → relative)
// 2. Props & Emits & Slots
// 3. Composables
// 4. Local state (ref/reactive)
// 5. Computed properties
// 6. Methods
// 7. Watchers
// 8. Lifecycle hooks
</script>

<template>
  <!-- Template content -->
</template>

<style scoped>
  /* Scoped styles */
</style>

Read the full file on GitHub · 472 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 472 lines · 51 tokens per session scan A 1513dffa6a57

Subscribe to this mod's changes

vue-patterns is a skill published in the GitHub repository JunMystery/Agent-Guidance-Python (2 stars, last pushed 14d ago), licensed MIT. It adds 51 tokens to every session and 3,310 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

vue-patterns compared with skills from other repositories

vue-patterns next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
vue-patternsJunMystery/Agent-Guidance-PythonSkill214d agoMITA51Claude Code, Codex
vue-idiomsirahardianto/awesome-agvSkill1631mo agoMITA47Claude Code, Codex
component-forgeEliasOulkadi/shokuninSkill1121mo agoMITA112Claude Code
shadcn-sveltekit-designMichael-Obele/shadcn-svelte-mcpSkill581mo agoMITA115Claude Code, Codex
portable-text-serializationsanity-io/agent-toolkitSkill203yesterdayMITA85Claude Code
svelte-devPlazmodium/odin-workflowSkill06mo agoMITA39Claude Code, Codex
vuejs-devPlazmodium/odin-workflowSkill06mo agoMITA48Claude Code, Codex