wefa-vue-cookbook

wefa-vue-cookbook is a skill for Codex from n-side-dev/wefa. It costs 109 tokens per session (1,249 once invoked), scanned A, original, Apache-2.0.

A shared set of conventions for building Vue interfaces in the WeFa ecosystem, a component library built on PrimeVue and Tailwind CSS. It covers component reuse, layout, translation, and related frontend choices.

In plain words
What is it for?
Use it when building or maintaining Vue features with @nside/wefa, choosing between WeFa, PrimeVue, and native HTML, or handling translated interface text.
Why use it?
It gives consuming applications and the WeFa library consistent decisions about which components and patterns to use.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: installed under .agents/ (shared by several agents); mentions AGENTS.md.

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.

agentmods
npx agentmods add skills/n-side-dev/wefa/wefa-vue-cookbook
Any agent
npx skills add n-side-dev/wefa --skill wefa-vue-cookbook
Clone the repo
git clone --depth 1 https://github.com/n-side-dev/wefa

Made for: 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 wefa-vue-cookbook

README.md
[![agentmods](https://agentmods.dev/badge/skills/n-side-dev/wefa/wefa-vue-cookbook.svg)](https://agentmods.dev/skills/n-side-dev/wefa/wefa-vue-cookbook)
Your own site
<a href="https://agentmods.dev/skills/n-side-dev/wefa/wefa-vue-cookbook"><img src="https://agentmods.dev/badge/skills/n-side-dev/wefa/wefa-vue-cookbook.svg" alt="Measured on agentmods" height="20"></a>
Per session 109 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,249 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00109 $0.01249
Opus 5 $0.00055 $0.00624
Sonnet 5 $0.00022 $0.00250
Haiku 4.5 $0.00011 $0.00125

Measured 6d ago against content hash 3313c70db1eb, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

wefa-vue-cookbook 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 6d 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.

.agents/skills/wefa-vue-cookbook/SKILL.md · 79 lines

How it starts

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

WeFa Vue Cookbook

This is the shared Vue skill for WeFa.

Use it in two situations:

  1. In consuming Vue projects that use @nside/wefa.
  2. Inside the WeFa vue/ package for the shared conventions that also apply to the library itself.

When the task is inside the WeFa vue/ package, pair this skill with wefa-vue-frontend, which is the maintainer skill for repo-specific export, docs, demo, generated-artifact, and quality-gate work.

Use this skill in two layers:

  1. Keep this SKILL.md loaded for the always-on rules.
  2. Load only the matching reference file when the task needs deeper checks.

Always-Loaded Rules

  1. Treat @nside/wefa as a PrimeVue superset styled through Tailwind 4 with tailwindcss-primeui.
  2. Follow the reuse hierarchy strictly: WeFa component/container -> PrimeVue composition -> native HTML fallback.
  3. Start by mirroring the nearest existing local pattern before inventing a new abstraction, prop API, fetch flow, or styling approach.
  4. Before adding helpers or infrastructure, check whether the current app, WeFa, or PrimeVue already provides the needed building block.
  5. Keep user-facing text translated through i18n keys, including labels, placeholders, validation copy, aria-label, and title.
  6. Prefer Tailwind utilities for routine styling. Use flex by default for layout, reach for grid when it clearly fits better, and do not add new CSS imports or routine <style> blocks.
  7. For server state, prefer typedApiClient when an OpenAPI-generated callable exists, then apiClient for straightforward URL-based GET or POST flows, then direct TanStack Query hooks only when the wrappers cannot model the behavior cleanly, then raw axiosInstance only for lower-level infrastructure or non-query-managed calls.
  8. TanStack Query already covers most fetch lifecycle, caching, retries, invalidation, and mutation state. Prefer built-in query and cache features over hand-rolled refs, watches, loading flags, or manual cache synchronization.
  9. Treat TanStack query data as immutable. Copy it before binding to v-model or mutating it locally.
  10. Put every changing query dependency into the query key, and avoid unwrapping reactive inputs too early if the query should react to them.
  11. Parent components own external layout and sizing context. Reusable children should not assume fill behavior or decorative outer chrome unless that is part of their explicit contract.
  12. When shared or public-facing behavior changes, update the surrounding tests, docs, and usage examples expected by that codebase.
  13. Run the validation commands that match the host project and the risk of the change. If working inside the WeFa repo, wefa-vue-frontend adds the exact repo gate.

Read the full file on GitHub · 79 lines

Files

What ships with it

6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 6d ago First seen · 79 lines · 109 tokens per session scan A 3313c70db1eb

Subscribe to this mod's changes

wefa-vue-cookbook is a skill published in the GitHub repository n-side-dev/wefa (11 stars, last pushed 3d ago), licensed Apache-2.0. It adds 109 tokens to every session and 1,249 once invoked, about $0.0005 per session on Opus 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-08-30.

Related

Other skills, from other repositories

shadcn-svelte

Pre-built shadcn-svelte components for json-render Svelte apps. Use when working with @json-render/shadcn-svelte, adding standard UI components to a Svelte catalog, or building Svelte web UIs with shadcn-svelte + Tailwind CSS components.

vercel-labs/json-render · 63 tokens

create-site

Creates a new Power Pages code site (SPA) using React, Angular, Vue, or Astro. Guides through the full process from initial concept to deployed site: requirements discovery, scaffolding, component planning, design, implementation, validation, and deployment. Use when the user wants to create, build, or scaffold a new…

microsoft/power-platform-skills · 73 tokens

v3-create-crud

创建增删改查(CRUD)页面,基于 Element Plus 组件库,包含表格、搜索、分页、新增/编辑弹窗、删除确认等功能。当用户提到以下任何场景时都应触发:创建管理页面、创建列表页、创建表格页。即使用户没有明确说 CRUD,只要意图是创建带表格和表单操作的后台页面就应该使用此 Skill。使用时需提供模块名称和字段信息。.

un-pany/v3-admin-vite · 108 tokens

v3-use-composables

项目内置组合式函数使用教程,涵盖设备检测、异步下拉、全屏加载、分页、路由监听、主题切换、动态标题、水印等组合式函数。当用户提到以下任何场景时都应触发:使用组合式函数、调用 Composables、判断设备类型、异步加载下拉选项、全屏 Loading、分页逻辑、监听路由变化、切换主题、设置页面标题、添加水印。即使用户没有明确说 Composables,只要意图是使用项目内置的组合式函数就应该使用此 Skill。.

un-pany/v3-admin-vite · 137 tokens

markstream-vue2-cli

Integrate markstream-vue2 into a Vue 2 Vue CLI or Webpack 4 app. Use when Codex needs Webpack 4-friendly setup, CDN worker fallbacks for Mermaid or KaTeX, dist/index.css imports, Vue 2 composition-api shims, or code block choices limited to stream-diffs or plain .

Simon-He95/markstream-vue · 83 tokens

markstream-svelte

Integrate the beta markstream-svelte package in Svelte 5 or SvelteKit apps. Use when Codex needs Svelte 5 runes, CSS and optional peers, smooth streaming, worker setup, renderer-local or scoped custom components, or SSR-safe boundaries. Svelte 4 is unsupported.

Simon-He95/markstream-vue · 67 tokens