antfu-coding-style

Community

Opinionated coding style by Anthony Fu.

Authorntuan2502
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill enforces a consistent, opinionated coding style and tooling preference, aiming to maximize developer experience through minimalism and smart defaults, ensuring code "works out of the box."

Core Features & Use Cases

  • Code Organization: Promotes single responsibility, clear export strategies, and constant extraction.
  • TypeScript Preferences: Favors implicit typing, explicit return types for public APIs, and avoids enums in favor of const assertions or string unions.
  • Tooling Stack: Recommends pnpm for package management, ni for agnostic running, and Vitest for fast testing.
  • Styling: Advocates for UnoCSS with Attributify for atomic CSS.
  • Vue.js Specifics: Encourages <script setup>, explicit .value usage, and a structured component layout.

Quick Start

Apply the Antfu coding style guidelines to the current project's codebase.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: antfu-coding-style
Download link: https://github.com/ntuan2502/piggy/archive/main.zip#antfu-coding-style

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.