Sandbox
@antfu/skills

Agent skills collection for Vue, Vite, and Nuxt

Anthony Fu's repository collects agent skills for common Vue and Vite ecosystem work. Some skills are hand-maintained, while others are generated from official docs or vendored from upstream skill repos.

5,871 stars331 forksTypeScriptUpdated 2mo ago
Who it's for

Builders who want reusable skills for agents working across Vue, Nuxt, Vite, and related tooling.

What it delivers

You can add opinionated, shareable agent skills instead of re-explaining the same project conventions.

What it does

Hand-maintained skills

Includes `skills/antfu` for Anthony Fu's app and library preferences, and `skills/antfu-design` for UnoCSS-centered UI patterns.

Generated documentation-based skills

Provides generated skills for `vue`, `nuxt`, `pinia`, `vite`, `vitepress`, `vitest`, `unocss`, and `pnpm`.

Vendored upstream skills

Bundles synced skills for `slidev`, `tsdown`, `turborepo`, `vueuse-functions`, and Vue best-practice topics.

Source-backed sync flow

Uses `sources/`, `instructions/`, and `scripts/cli.ts` to generate and keep skills aligned with upstream documentation.

Collection installation

Lets you install the whole set or select skills through the `skills` CLI.

How to get it

  1. 1Run
    pnpx skills add antfu/skills --skill='*'
  2. 2or to install all of them globally
    pnpx skills add antfu/skills --skill='*' -g

README

Anthony Fu's Skills

A curated collection of Agent Skills reflecting Anthony Fu's preferences, experience, and best practices, along with usage documentation for the tools.

[!IMPORTANT] This is a proof-of-concept project for generating agent skills from source documentation and keeping them in sync. I haven't fully tested how well the skills perform in practice, so feedback and contributions are greatly welcome.

Installation

pnpx skills add antfu/skills --skill='*'

or to install all of them globally:

pnpx skills add antfu/skills --skill='*' -g

Learn more about the CLI usage at skills.

Skills

This collection is aim to be a one-stop collection of you are mainly working on Vite/Nuxt. It includes skills from different sources with different scopes.

Hand-maintained Skills

Opinionated

Manually maintained by Anthony Fu with his preferred tools, setup conventions, and best practices.

SkillDescription
antfuAnthony Fu's preferences and best practices for app/library projects (eslint, pnpm, vitest, vue, etc.)
antfu-designUnoCSS-centered design principles, semantic tokens, and UI presentation patterns from Anthony Fu's tooling UIs

Skills Generated from Official Documentation

Unopinionated but with tilted focus (e.g. TypeScript, ESM, Composition API, and other modern stacks)

Generated from official documentation and fine-tuned by Anthony.

SkillDescriptionSource
vueVue.js core - reactivity, components, composition APIvuejs/docs
nuxtNuxt framework - file-based routing, server routes, modulesnuxt/nuxt
piniaPinia - intuitive, type-safe state management for Vuevuejs/pinia
viteVite build tool - config, plugins, SSR, library modevitejs/vite
vitepressVitePress - static site generator powered by Vitevuejs/vitepress
vitestVitest - unit testing framework powered by Vitevitest-dev/vitest
unocssUnoCSS - atomic CSS engine, presets, transformersunocss/unocss
pnpmpnpm - fast, disk space efficient package managerpnpm/pnpm.io

Vendored Skills

Synced from external repositories that maintain their own skills.

SkillDescriptionSource
slidev (Official)Slidev - presentation slides for developersslidevjs/slidev
tsdown (Official)tsdown - TypeScript library bundler powered by Rolldownrolldown/tsdown
turborepo (Official)Turborepo - high-performance build system for monoreposvercel/turborepo
vueuse-functions (Official)VueUse - 200+ Vue composition utilitiesvueuse/skills
vue-best-practicesVue 3 + TypeScript best practicesvuejs-ai/skills
vue-router-best-practicesVue Router best practicesvuejs-ai/skills
vue-testing-best-practicesVue testing best practicesvuejs-ai/skills
web-design-guidelinesWeb design guidelines for building beautiful interfacesvercel-labs/agent-skills

FAQ

What Makes This Collection Different?

This collection is opinionated, but the key difference is that it uses git submodules to directly reference source documentation. This provides more reliable context and allows the skills to stay up-to-date with upstream changes over time. If you primarily work with Vue/Vite/Nuxt, this aims to be a comprehensive one-stop collection.

The project is also designed to be flexible - you can use it as a template to generate your own skills collection.

Skills vs llms.txt vs AGENTS.md

To me, the value of skills lies in being shareable and on-demand.

Being shareable makes prompts easier to manage and reuse across projects. Being on-demand means skills can be pulled in as needed, scaling far beyond what any agent's context window could fit at once.

You might hear people say "AGENTS.md outperforms skills". I think that's true — AGENTS.md loads everything upfront, so agents always respect it, whereas skills can have false negatives where agents don't pull them in when you'd expect. That said, I see this more as a gap in tooling and integration that will improve over time. Skills are really just a standardized format for agents to consume—plain markdown files at the end of the day. Think of them as a knowledge base for agents. If you want certain skills to always apply, you can reference them directly in your AGENTS.md.

Generate Your Own Skills

Fork this project to create your own customized skill collection.

  1. Fork or clone this repository
  2. Install dependencies: pnpm install
  3. Update meta.ts with your own projects and skill sources
  4. Run pnpm start cleanup to remove existing submodules and skills
  5. Run pnpm start init to clone the submodules
  6. Run pnpm start sync to sync vendored skills
  7. Ask your agent to Generate skills for \<project\> (recommended one at a time to manage token usage)

See AGENTS.md for detailed generation guidelines.

Sponsors

Sponsors

License

Skills and the scripts in this repository are MIT licensed.

Vendored skills from external repositories retain their original licenses - see each skill directory for details.

Files in the repo

Repository payload18 top-level entries
  • .github
  • .vscode
  • instructions
  • scripts
  • skills
  • sources
  • vendor
  • .gitignore
  • .gitmodules
  • AGENTS.md
  • eslint.config.js
  • LICENSE.md
  • meta.ts
  • package.json
  • pnpm-lock.yaml
  • pnpm-workspace.yaml
  • README.md
  • tsconfig.json

Discussion (0)

Ask about usage, or say what you built with it

Sign in to join the discussion.

No comments yet. Be the first to say what this is good for.

More collections

The awesome collection of OpenClaw skills. 5,400+ skills filtered and categorized from the official OpenClaw Skills Registry.🦞

52k

Extracted system prompts from Anthropic - Claude Fable 5.1, Opus 5, Claude Design, Claude Code. OpenAI - ChatGPT GPT-6-Astra, Codex. Google - Gemini 3.8 Flash, 3.1 Pro, Antigravity. xAI - Grok, Grok Bot, Cursor, Kimi and more! Updated regularly.

65k
1 add