Agent skill · software engineering · aiskillstore

antfu

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.

Why this skill is useful

Provides specific tooling and conventions for JavaScript/TypeScript projects that the AI wouldn't reliably generate on its own.

What it needs

Requires eslint, pnpm, typescript installed locally. About 3k tokens when loaded. Last updated 2026-08-07. 405 stars on the source repository.

What this skill does

Coding Practices Code Organization Single responsibility: Each source file should have a clear, focused scope/purpose Split large files: Break files when they become large or handle too many concerns Type separation: Always separate types and interfaces into types.ts or types/.ts Constants extraction: Move constants to a dedicated constants.ts file Runtime Environment Prefer isomorphic code: Write runtime-agnostic code that works in Node, browser, and workers whenever possible Clear runtime indicators: When code is environment-specific, add a comment at the top of the file: TypeScript Explicit return types: Declare return types explicitly when possible Avoid complex inline types: Extract complex types into dedicated type or interface declarations Explicitness Favor explicit, traceable code over implicit "magic". A reader (human or agent) should be able to follow where every name comes from without running tooling. Explicit imports: Prefer explicit import statements. Avoid auto-imports — when a framework provides them (e.g. Nuxt/Nitro), turn them off for new projects (see app-development). No path aliases by default: Use relative imports (./foo, ../bar). Only use path aliases (@/, ~/, #imports, etc.) when they are already configured in the project; don't introduce new ones for greenfield code. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills aiskillstore/antfu

View the source on GitHub

Browse the @skills marketplace