Antfu

Anthony Fu's opinionated ESLint, TypeScript, and monorepo conventions for JS/TS projects.

Tested · Works

Test report

Verdict
Tested · Works
Score
9.6/10
Tested
Jul 10, 2026
Environment
Claude Code 2.x (agent harness)
Upstream re-checked
Aug 10, 2026 · 0e78e96

For a new TS library setup it surfaced concrete opinions a generic answer wouldn't reach alone: a pure-ESM build config, a one-line ESLint setup, and an exact git-hooks config, versus generic husky boilerplate.

Scored on four weighted criteria — install, triggering, output vs. baseline, docs. How scoring works

  • Installs cleanly 5/5
  • Triggers reliably 5/5
  • Output vs. baseline 9/10
  • Docs & honesty 5/5

What Antfu does

Applies Anthony Fu's tooling conventions to JavaScript/TypeScript projects: @antfu/eslint-config setup, strict tsconfig, ni/nr/nlx commands, simple-git-hooks + lint-staged, pnpm catalogs, and pure-ESM library publishing via tsdown. Triggers when scaffolding a new JS/TS project, configuring lint/monorepo/publishing, or when the user explicitly wants Anthony Fu's style; does not trigger for non-JS/TS tooling or plain code review.

How to install Antfu

git clone https://github.com/antfu/skills
cd skills
mkdir -p ~/.claude/skills
cp -r skills/antfu ~/.claude/skills/antfu

Skills live in ~/.claude/skills/ (global) or .claude/skills/ (per-project). Restart Claude Code after installing.

Commands — how to trigger Antfu

  • /antfu Anthony Fu's opinionated ESLint, TypeScript, and monorepo conventions for JS/TS projects.

It also activates on plain-language prompts like these:

  • Set up @antfu/eslint-config and strict tsconfig for this TS project
  • Configure simple-git-hooks and lint-staged the Anthony Fu way
  • Publish this library as pure ESM using tsdown

Frequently asked questions

Is the Antfu skill free?
Yes. The skill itself is free from antfu/skills. SkillProof publishes the install command and an independent test verdict at no cost.
Does Antfu work with Claude Code?
We tested it with Claude Code 2.x (agent harness) on Jul 10, 2026. Verdict: Tested · Works. For a new TS library setup it surfaced concrete opinions a generic answer wouldn't reach alone: a pure-ESM build config, a one-line ESLint setup, and an exact git-hooks config, versus generic husky boilerplate.
What is the Antfu SkillProof Score?
9.6/10 — installs cleanly 5/5, triggers reliably 5/5, output vs. baseline 9/10, docs & honesty 5/5.
How do I install Antfu?
Copy the install command from this page, run it in your terminal, and restart Claude Code. Skills live in ~/.claude/skills/ (global) or .claude/skills/ inside a project.
Can I use Antfu with Cursor, Copilot, Gemini CLI, Codex or other AI tools?
The SKILL.md format is native to Claude (Claude Code, Desktop, claude.ai). The instructions inside adapt to other assistants: Cursor rules, GitHub Copilot instructions, Windsurf rules, Custom GPTs, AGENTS.md for OpenAI Codex, and GEMINI.md for Google Gemini CLI — our conversion guides cover each, and the free converter on the tools page does the wrapping for you.