prettier

Installation
SKILL.md

Prettier

Prettier ended the "Style Wars". It accepts your code and reprints it with its own rules. v3.x runs as ESM and supports plugins.

When to Use

  • Opinionated Code Formatting: Enforcing consistent code formatting across JavaScript, TypeScript, CSS, HTML, JSON, and Markdown.
  • Automated CI/CD Quality Gates: Verifying formatting compliance using prettier --check before merging pull requests.
  • Pre-Commit Hook Formatting: Automatically formatting staged files with Husky and lint-staged.
  • Framework Plugin Integration: Sorting Tailwind CSS classes (prettier-plugin-tailwindcss) and Prisma schemas.

Quick Start

1. Minimal .prettierrc

Installs
9
GitHub Stars
15
First Seen
Feb 10, 2026