skills README

The project's README from github.com/antfu/skills. As one markdown file: README.md.

Anthony Fu's Skills

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

Installation

This repo mainly hosts the skills. The recommended way to use them is @antfu/skills, a skills pack installed with skills-npm. Besides my own skills, the pack includes curated skills from other authors, and your package manager keeps them in sync:

pnpm i -D skills-npm @antfu/skills
pnpx skills-npm setup

See antfu/skills-pack for the full list of skills in the pack.

Install From This Repo

To install skills from this repo directly, use the skills CLI:

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

or to install all of them globally:

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

Skills

This repo 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.

Skill Description
antfu Anthony Fu's preferences and best practices for app/library projects (eslint, pnpm, vitest, vue, etc.)
antfu-create-pr Open reviewable PRs: Conventional Commits title, evidence-based body, before/after screenshots via gh --attach (adapted from moeru-ai/airi)
antfu-issue-triage Triage issues and PRs of the current repo: find fixed, duplicate, and spam items, suggest labels, gauge demand, and confirm an action table before acting
antfu-query Interview the user about a plan or decision in rounds via the agent's question tool until reaching shared understanding (adapted from mattpocock/skills)
antfu-review Review single or batched PRs in isolated worktrees: close spam or malicious PRs, approve first-time contributor CI, resolve conflicts, review maintenance surface strictly, push clear fixes, normalize the PR title, and label bot:reviewed
antfu-simplify Simplify the current PR or changes with an ablation study: keep only what is proven needed, with just-right abstraction, minimal, robust, and universal code
antfu-upgrade-deps Upgrade dependencies with taze: migrate majors from their changelogs, ask before user-facing breaking changes, dedupe the lockfile, verify checks, and open a PR

[!TIP] For design, see antfu/design, which ships the antfu-design skill alongside the @antfu/design package.

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.

Skill Description Source
vue Vue.js core - reactivity, components, composition API vuejs/docs
nuxt Nuxt framework - file-based routing, server routes, modules nuxt/nuxt
pinia Pinia - intuitive, type-safe state management for Vue vuejs/pinia
vite Vite build tool - config, plugins, SSR, library mode vitejs/vite
vitepress VitePress - static site generator powered by Vite vuejs/vitepress
vitest Vitest - unit testing framework powered by Vite vitest-dev/vitest
unocss UnoCSS - atomic CSS engine, presets, transformers unocss/unocss
pnpm pnpm - fast, disk space efficient package manager pnpm/pnpm.io

FAQ

What Makes This Collection Different?

This collection is opinionated, but the key difference is that it clones the source documentation locally (into the git-ignored sources/) and generates skills directly from it. This provides more reliable context and allows the skills to stay up-to-date with upstream changes over time.

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 sources and skills
  5. Run pnpm start init to clone the sources
  6. Run pnpm start sync to pull the latest source docs
  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.

skills (antfu/skills)

Searching Database…

What is this?It's Anthony Fu's curated collection of Agent Skills - reusable markdown files that teach AI coding agents his preferred tools, conventions, and best practices, mostly centered on the Vue/Vite/Nuxt ecosystem.
Is this a framework, or just a bunch of skill files I plug into my agent?It's not a framework - skills are plain markdown files that your coding agent pulls in on demand, organized by source: hand-maintained, generated from official docs, or vendored from other repos.
How do I install these skills?You can install individual skills or install all of them globally using the project's bundled CLI tool.
What do I need to generate my own skill collection from this?You fork the repo, run pnpm install, update meta.ts with your own sources, then use the CLI (init, sync) and ask your coding agent to generate each skill one at a time.
Is this production-ready or still experimental?It's explicitly a proof-of-concept for generating and syncing agent skills from source docs, and the author hasn't fully verified how well the skills perform in practice.
Is this useful if I don't work with Vue, Vite, or Nuxt?It's built as a one-stop collection for people mainly working in the Vue/Vite/Nuxt stack, but it's also designed as a flexible template for building your own skill collection for any stack.
Are all the skills MIT licensed like the repo?The repo's own code and hand-maintained skills are MIT, but vendored skills synced from external repositories keep their original licenses.
What's the difference between the hand-maintained, documentation-generated, and vendored skills?Hand-maintained skills are Anthony Fu's own opinionated preferences (e.g. for app/library setup); documentation-generated skills are built from official project docs like Vue, Nuxt, and Vite and lightly tuned by him; vendored skills are synced directly from other repos' own skill directories, like Slidev or VueUse.
Why use skills instead of just an AGENTS.md file?AGENTS.md loads everything upfront so agents always see it, while skills are shareable and on-demand - they get pulled in only when needed, which scales better than cramming everything into one context window.
Can I turn this into my own custom skill collection?Yes - the project is built to be forked as a template: swap in your own projects and sources in meta.ts, then run the CLI's cleanup, init, and sync commands to regenerate skills for your stack.
What makes this collection different from other agent-skill lists?It uses git submodules to reference source documentation directly, so skills stay in sync with upstream changes over time rather than going stale.
Creator
antfu
Size
1.5 MB
Stars
6.1K
Updated
CommitNov 16
Age
10mo
Commits · 90 Days