Antfu Coding Style

🌐Community
by dokhacgiakhoa · vlatest · Repository

Enforces a consistent and modern coding style for Laravel/PHP projects using Antfu's rules, improving readability and maintainability.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add antfu-coding-style npx -- -y @trustedskills/antfu-coding-style
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "antfu-coding-style": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/antfu-coding-style"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

What it does

This skill enforces the Ant Design coding style for JavaScript and TypeScript projects. It automatically formats code according to the established conventions, ensuring consistency across a codebase. The skill primarily focuses on formatting and linting, improving readability and maintainability of project files.

When to use it

  • When you want to ensure your JavaScript/TypeScript code adheres to the Ant Design coding style.
  • During development to automatically format changes as you write them.
  • Before committing code to a repository to enforce consistent formatting across the team.
  • As part of a CI/CD pipeline to maintain code quality and consistency.

Key capabilities

  • Ant Design coding style enforcement
  • JavaScript & TypeScript support
  • Automatic code formatting
  • Linting

Example prompts

  • "Format this JavaScript file according to Ant Design standards."
  • "Apply the Ant Design coding style to all files in this directory."
  • "Check for any linting errors related to the Ant Design style guide."

Tips & gotchas

  • Requires familiarity with the Ant Design coding style.
  • The skill's effectiveness depends on having a project already structured or intended to follow Ant Design principles.

Tags

🛡️

TrustedSkills Verification

Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.

Security Audits

Gen Agent Trust HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
dokhacgiakhoa
Installs
4

🌐 Community

Passed automated security scans.