Official agent skill

Antfu

by JetBrains in JetBrains/skills

Anthony Fu's opinionated tooling and conventions for JavaScript/TypeScript projects.

OfficialNo licenceAuto-check passedDevelopment

Install Antfu

skills CLI
$ npx skills add JetBrains/skills --skill antfu -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install JetBrains/skills antfu --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/JetBrains/skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/antfu .claude/skills/antfu && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
antfu
GitHub stars
366
Used in
4 other repos
Token cost
~1k tokens
SKILL.md length
307 words
Files
6 (incl. references)
Skills in repo
76
Repo updated
First seen
Licence
None found

At a glance

Anthony Fu's opinionated tooling and conventions for JavaScript/TypeScript projects.

  • Setting up new projects
  • SKILL.md covers Coding Practices, Tooling Choices and References
  • Calls pnpm
  • Configuring ESLint/Prettier alternatives

What it does

Antfu is an agent skill from JetBrains/skills, published by the product's own GitHub organization. Anthony Fu's opinionated tooling and conventions for JavaScript/TypeScript projects. Use when setting up new projects, configuring ESLint/Prettier alternatives, monorepos, library publishing, or when the user mentions Anthony Fu's preferences.

Its SKILL.md is about 1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 6 other files, including reference files (for example `references/antfu-eslint-config.md`, `references/app-development.md` and `references/library-development.md`).

It sits in Development, covering Linting and formatting and Monorepo tooling. It works with ESLint, TypeScript, Prettier and JavaScript. The repository describes itself as: Curated agent skills collection verified by JetBrains.

When your agent uses it

  • Setting up new projects
  • Configuring ESLint/Prettier alternatives
  • Library publishing
  • The user mentions Anthony Fus preferences

Example prompts

  • “/antfu”

Requirements

  • Node.js

What it can do on your machine

Read from SKILL.md and the folder at commit e0f258b. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • pnpm

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use pnpm, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Antfu loads about 1k tokens when it runs, and up to ~4.3k if it reads all its reference files. Until then it costs about 62 tokens; SKILL.md has 307 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~62
When it runs · the whole SKILL.md, loaded when a task matches
~1k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~4.3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 307 words (~1,018 tokens).

“When completing tasks, run pnpm run lint --fix to format the code and fix coding style.”

— opening of SKILL.md by JetBrains
name
antfu
metadata.short-description
Apply Anthony Fu's TS/JS conventions
metadata.author
Anthony Fu
metadata.version
2026.02.03
metadata.source
https://github.com/antfu/skills/tree/main/skills/antfu

Read the full SKILL.md on GitHub

Files

SKILL.md and 5 other files (references) in antfu of JetBrains/skills.

  • SKILL.md
  • references/antfu-eslint-config.md
  • references/app-development.md
  • references/library-development.md
  • references/monorepo.md
  • references/setting-up.md

Open the folder on GitHubat commit e0f258b

Used in 4 other repositories

We found 4 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 4 other GitHub owners. This page covers the copy in JetBrains/skills, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Antfu next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Antfu compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Antfu this skillJetBrains/skills3664 repos~1kAutomated safety check: PassNone
Typescript Tooling MigrationArize-ai/phoenix12k—~2.8kAutomated safety check: PassApache-2.0
Monorepoavibebuilder/claude-prime120—~1.2kAutomated safety check: PassMIT
Code Qualityredis/RedisInsight8.9k—~1.2kAutomated safety check: PassCustom licence
Pnpm Engineteambit/bit18k—~1.9kAutomated safety check: PassCustom licence
Ultraciteagustinusnathaniel/nextarter-tailwind1252 repos~1.2kAutomated safety check: PassMIT

Similar skills

  • Migrate or upgrade TypeScript tooling in the Phoenix monorepo.

    12k GitHub stars~2.8k tokensUpdated today
    DevelopmentAuto-check passed
  • Monorepo

    avibebuilder/claude-prime

    MUST use for ANY query mentioning packages, monorepo, workspace, catalog, turbo, turborepo, or pnpm in a multi-package context.

    120 GitHub stars~1.2k tokensUpdated 4 mo ago
    DevelopmentAuto-check passed
  • Code Quality

    redis/RedisInsight

    Official

    Code-quality standards for RedisInsight: TypeScript strictness, naming conventions (camelCase, PascalCase, UPPERSNAKECASE), linting rules, no any without reason, no !important in styles, and…

    8.9k GitHub stars~1.2k tokensUpdated 4 days ago
    DevelopmentAuto-check passed
  • Pnpm Engine

    teambit/bit

    Work on the pnpm Rust engine (@pnpm/napi, the pacquet crates) that bit install runs through.

    18k GitHub stars~1.9k tokensUpdated today
    DevelopmentAuto-check passed
  • Ultracite

    agustinusnathaniel/nextarter-tailwind

    Ultracite is a zero-config linting and formatting preset for JavaScript/TypeScript projects.

    125 GitHub starsUsed in 2 repos~1.2k tokens
    DevelopmentAuto-check passed
  • Port Rule

    web-infra-dev/rslint

    Port a new ESLint core or plugin rule to rslint, including explicitly requested batches.

    461 GitHub stars~1.7k tokensUpdated today
    DevelopmentAuto-check passed

More from JetBrains/skills

All 76 skills in this repo
  • Playwright

    JetBrains/skills

    Official

    A skill your agent uses when the task requires automating a real browser from the terminal (navigation, form filling, snapshots, screenshots, data extraction, UI-flow debugging) via playwright-cli…

    366 GitHub starsUsed in 11 repos~986 tokens
    Auto-check passed
  • Skill Creator

    JetBrains/skills

    Official

    Guide for creating effective skills. An agent skill from JetBrains/skills.

    366 GitHub starsUsed in 122 repos~4.7k tokens
    Auto-check passed
  • Transcribe

    JetBrains/skills

    Official

    Transcribe audio files to text with optional diarization and known-speaker hints.

    366 GitHub starsUsed in 4 repos~776 tokens
    Auto-check passed
  • Imagegen

    JetBrains/skills

    Official

    A skill your agent uses when the user asks to generate or edit images via the OpenAI Image API (for example: generate image, edit/inpaint/mask, background removal or replacement, transparent…

    366 GitHub starsUsed in 3 repos~2.5k tokens
    Auto-check passed
  • Speech

    JetBrains/skills

    Official

    A skill your agent uses when the user asks for text-to-speech narration or voiceover, accessibility reads, audio prompts, or batch speech generation via the OpenAI Audio API; run the bundled CLI…

    366 GitHub starsUsed in 3 repos~1.9k tokens
    Auto-check passed
  • Screenshot

    JetBrains/skills

    Official

    A skill your agent uses when the user explicitly asks for a desktop or system screenshot (full screen, specific app or window, or a pixel region), or when tool-specific capture capabilities are…

    366 GitHub starsUsed in 6 repos~2k tokens
    Auto-check passed

Categories

Questions about Antfu

What does Antfu do?

Anthony Fu's opinionated tooling and conventions for JavaScript/TypeScript projects. Antfu is an agent skill from JetBrains/skills, published by the product's own GitHub organization. Anthony Fu's opinionated tooling and conventions for JavaScript/TypeScript projects.

When should I use Antfu?

Antfu fits situations like: setting up new projects; configuring ESLint/Prettier alternatives; library publishing; the user mentions Anthony Fus preferences.

How do I install Antfu in Claude Code?

Run `npx skills add JetBrains/skills --skill antfu -a claude-code`. Or copy the skill folder (antfu in JetBrains/skills) into .claude/skills/antfu in your project. Claude Code loads it when a task matches its description.

How do I install Antfu in Codex?

Run `npx skills add JetBrains/skills --skill antfu -a codex`. Or copy the skill folder (antfu in JetBrains/skills) into .agents/skills/antfu in your project. Codex loads it when a task matches its description.

Can I use Antfu in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add JetBrains/skills --skill antfu -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/antfu, .gemini/skills/antfu, .github/skills/antfu and .opencode/skills/antfu in your project.

What does Antfu need to run?

Going by SKILL.md and its folder, Antfu needs the command-line tools its instructions call (pnpm). Our summary lists: Node.js.

Does Antfu access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Antfu safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Antfu use?

No licence was found for Antfu or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Antfu use?

About 1k tokens (SKILL.md is roughly 4.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 3.3k tokens, read only when the agent opens those files.

What are the alternatives to Antfu?

Skills that share tags, products or a category with Antfu: Typescript Tooling Migration (Arize-ai/phoenix, 12k stars), Monorepo (avibebuilder/claude-prime, 120 stars), Code Quality (redis/RedisInsight, 8.9k stars) and Pnpm Engine (teambit/bit, 18k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Antfu?

JetBrains (a GitHub organization, an official publisher) maintains it in JetBrains/skills, which has 366 GitHub stars. The repository holds 76 skills in this directory. The repository was last updated on June 29, 2026.

Source: JetBrains/skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.