@antfu/skills

中文文档
0.1.3发布于 2026/10/31MITES Module零依赖构建来源已验证近 30 天下载 5183

Anthony's curated agent skills, one npm i away

原始使用文档
文档目录9 节
  1. Setup
  2. Skills
  3. Workflow
  4. Writing
  5. Vue & Nuxt
  6. Design
  7. Browser
  8. Sponsors
  9. License

@antfu/skills

npm version npm downloads License

Anthony's curated agent skills.

A hand-picked set of agent skills from across the ecosystem, declared in one npm package so a project gets all of them with a single install.

Powered by the skills CLI and skills-npm.

Setup

Install the skills CLI and this pack as dev dependencies, then hook skills experimental_sync into your prepare script:

pnpm i -D skills @antfu/skills
{
  "scripts": {
    "prepare": "skills experimental_sync -y"
  },
  "devDependencies": {
    "skills": "^1.7.4",
    "@antfu/skills": "^1.0.0"
  }
}

Then run pnpm i (or pnpx skills experimental_sync -y) for the first sync. From then on every install keeps the skills in sync.

[!NOTE] experimental_sync is the successor of skills-npm, which is being merged into the skills CLI. Already using skills-npm? Run npx skills-npm migrate to switch over.

What you get:

  • Every skill listed below is installed into .agents/skills/<name> and linked into the skill directories of the agents detected on your machine (Claude Code, Cursor, OpenCode, Codex, ...). Pass -a claude-code cursor to choose explicitly.
  • skills-lock.json records what came from where. Commit it.
  • Removing @antfu/skills from your dependencies removes the skills on the next sync.

The pack tracks each upstream's default branch. To pull in the latest upstream changes without waiting for a new pack release:

pnpx skills update

Skills

Workflow

SkillDescriptionSource
grill-meA relentless interview to sharpen a plan or design.mattpocock/skills
grillingGrill the user relentlessly about a plan, decision, or idea.mattpocock/skills
handoffCompact the current conversation into a handoff document for another agent to pick up.mattpocock/skills
to-questionnaireTurn a decision you can't fully answer into a questionnaire for someone else to fill in.mattpocock/skills
writing-for-agentsWriting documents for agents. Use when creating or editing skills, or modifying AGENTS.md or CLAUDE.md.mattpocock/skills
teachTeach the user a new skill or concept, within this workspace.mattpocock/skills
code-reviewReview the changes since a fixed point (commit, branch, tag, or merge-base) along two axes: Standards (does the code follow this repo's documented coding standards?) and Spec (does the code match what the originating issue/spec asked for?).mattpocock/skills
codebase-designShared vocabulary for designing deep modules.mattpocock/skills
researchInvestigate a question against high-trust primary sources and capture the findings as a Markdown file in the repo.mattpocock/skills
tddTest-driven development. Use when the user wants to build features or fix bugs test-first, mentions "red-green-refactor", or wants integration tests.mattpocock/skills
improveSurvey any codebase as a senior advisor and produce prioritized, self-contained implementation plans for OTHER models/agents to execute.shadcn/improve
dry-refactoringGuided workflow to eliminate copy-paste duplication detected by jscpd.kucherenko/jscpd
antfuAnthony Fu's opinionated tooling and conventions for JavaScript/TypeScript projects.antfu/skills
antfu-create-prCreate a reviewable GitHub pull request from the current branch with a Conventional Commits title, a concise evidence-based body, and before/after screenshots for UI changes.antfu/skills
antfu-issue-triageTriage open issues and PRs of the current GitHub repo - find already-fixed, duplicate, and spam items, suggest labels, gauge demand from reactions and comments, then present a table of proposed actions and comments for confirmation before touching anything.antfu/skills
antfu-simplifySimplify the changes of the current PR or working tree with an ablation study - remove each piece of the diff and keep only what is proven needed - so the result has just-right abstraction, minimal clean code, and stays robust and universal.antfu/skills
antfu-queryInterview the user relentlessly about a plan, decision, or idea until reaching a shared understanding, using the agent's interactive question tool (not plain text).antfu/skills

Writing

SkillDescriptionSource
simple-englishWrite or rewrite text in plain, layman-readable English in the spirit of ASD-STE100 Simplified Technical English: short sentences, active voice, simple tenses, one word one meaning, condition before command, every technical term defined at first use, no AI slop.AminBlg/SimpleEnglish
unslopCut AI tells from any writing. Must always apply.cursor/plugins
i-have-adhdShape output for a reader with ADHD: lead with the next action, number multi-step work, restate state across turns, suppress tangents, give specific time estimates, make wins visible.ayghri/i-have-adhd

Vue & Nuxt

SkillDescriptionSource
vue-best-practicesMUST be used for Vue.js tasks. Strongly recommends Composition API with <script setup> and TypeScript as the standard approach.vuejs-ai/skills
vue-router-best-practicesVue Router 4 patterns, navigation guards, route params, and route-component lifecycle interactions.vuejs-ai/skills
vue-pinia-best-practicesPinia stores, state management patterns, store setup, and reactivity with stores.vuejs-ai/skills
vue-testing-best-practicesUse for Vue.js testing. Covers Vitest, Vue Test Utils, component testing, mocking, testing patterns, and Playwright for E2E testing.vuejs-ai/skills
vue-debug-guidesVue 3 debugging and error handling for runtime errors, warnings, async failures, and SSR/hydration issues.vuejs-ai/skills
create-adaptable-composableCreate a library-grade Vue composable that accepts maybe-reactive inputs (MaybeRef / MaybeRefOrGetter) so callers can pass a plain value, ref, or getter.vuejs-ai/skills
nuxt-modulesUse when creating Nuxt modules: (1) Published npm modules (@nuxtjs/, nuxt-), (2) Local project modules (modules/ directory), (3) Runtime extensions (components, composables, plugins), (4) Server extensions (API routes, middleware), (5) Releasing/publishing modules to npm, (6) Setting up CI/CD workflows for modules.onmax/nuxt-skills

Design

SkillDescriptionSource
frontend-designGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one.anthropics/skills

Browser

SkillDescriptionSource
agent-browserBrowser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task.vercel-labs/agent-browser

Sponsors

Sponsors

License

MIT License © Anthony Fu

版本与发布记录

@antfu/skills 共发布 4 个版本,首次发布于 2026/09/30;过去 12 个月发布了 4 个版本。最新版本附带 npm provenance 构建来源证明,可追溯到公开的 CI 构建记录。

版本发布日期距今
0.1.3latest2026/10/317 天前
0.1.22026/10/2315 天前
0.1.12026/10/2315 天前
0.1.02026/09/301 个月前

关于 @antfu/skills 的常见问题

@antfu/skills 是什么?

Anthony's curated agent skills, one npm i away

如何安装 @antfu/skills?

在项目目录运行 npm install @antfu/skills,或使用 pnpm add / yarn add / bun add。

@antfu/skills 支持 TypeScript 吗?

该包的 package.json 没有声明类型入口。需要类型提示时,可以在 npm 上查找社区维护的 @types/antfu__skills 是否存在。

@antfu/skills 支持 ESM 还是 CommonJS?

以 ES Module 形式发布,推荐使用 import 引入。在 CommonJS 项目中,Node.js 20.19+ / 22.12+ 可以直接 require() 不含顶层 await 的 ES Module,更早的版本需要改用动态 import()。

@antfu/skills 可以商用吗?

@antfu/skills 使用 MIT 许可。宽松许可:允许商业使用、修改和再分发,通常只需在分发时保留原版权与许可声明。以上为概括,不构成法律意见,请以许可原文为准。

@antfu/skills 的下载量有多少?

根据 npm 官方下载统计,@antfu/skills 在 2026/10/06 – 2026/11/04 这 30 天内被下载 5,183 次,日均约 173 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@antfu/skills 还在维护吗?

最新版本 0.1.3 发布于 2026/10/31(7 天前);至今共发布 4 个版本,其中过去 12 个月发布了 4 个;首次发布于 2026/09/30。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。