dokhacgiakhoa/antfu-coding-style
Opinionated coding style and tooling preferences by Anthony Fu.
npx skills add https://github.com/Dokhacgiakhoa/Agent-Skills-4-Vibe-Coding-CLI --skill antfu-coding-style
> Goal: Maximal Developer Experience (DX) through minimalism and smart defaults. "Works out of the box."
constants.ts.const count: number = 0const count = 0const assertion object or String Unions.type Mode = 'dark' | 'light' > enum Mode { ... }pnpm (Fast, disk efficient).ni (NPM/Yarn/PNPM/Bun Agnostic runner).ni -> installnr dev -> run devnu -> upgradeVitest (Fast, Jest compatible, Native ESM).*.test.ts.toMatchSnapshot() sparingly, prefer toMatchInlineSnapshot().<div text="red 4xl" hover="text-blue"> (Controversial but preferred by Antfu for clean template).<script setup lang="ts">.ref with .value or explicit .value macros if configured.defineProps and defineEmits at the top.watch / computed grouped together.The "Antfu" Vibe:
Take dokhacgiakhoa/antfu-coding-style from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.