Skip to main content
Back to registry

antfu

antfu/skills

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

Installs5
Install command
npx skills add https://github.com/antfu/skills --skill antfu
Security audits
Gen Agent Trust HubPASS
SocketPASS
SnykPASS
About this skill
When completing tasks, run pnpm run lint --fix to format the code and fix coding style. For detailed configuration options: antfu-eslint-config Use named catalogs in pnpm-workspace.yaml for version management: Avoid the default catalog. Catalog names can be adjusted per project needs. - 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 - 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: - Explicit return types : Declare return types explicitly when possible - Avoid complex inline types : Extract complex types into dedicated type or interface declarations - Avoid unnecessary comments : Code should be self-explanatory - Explain "why" not "how" : Comments should describe the reasoning or intent, not what the code does - Test files: foo.ts → foo.test.ts (same directory) - Use describe / it API (not test ) - Use toMatchSnapshot for complex outputs - Use toMatchFileSnapshot with explicit path for language-specific snapshots

Source description provided by the upstream skill listing. Community reviews and install context appear in the sections below.

Community Reviews

Latest reviews

Sign in to review

No community reviews yet. Be the first to review.

Browse this skill in context
FAQ
What does antfu do?

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

Is antfu good?

antfu does not have approved reviews yet, so SkillJury cannot publish a community verdict.

What agent does antfu work with?

antfu currently lists compatibility with Agent compatibility has not been published yet..

What are alternatives to antfu?

Skills in the same category include telegram-bot-builder, flutter-app-size, sharp-edges, iterative-retrieval.

How do I install antfu?

npx skills add https://github.com/antfu/skills --skill antfu

Related skills

More from antfu/skills

Related skills

Alternatives in Software Engineering