setup-prettier

Code Quality

142 downloads · by community

Add Prettier with sane defaults and editor integration to any JS or TS project

Install

npx @claudeskill/cli install setup-prettier

What this skill does

Installs Prettier with a curated default config tuned for TypeScript and JavaScript projects. Adds the matching editor configuration, a format script, and a lint-staged hook so formatting runs on every commit. Detects existing ESLint setups and wires up eslint-config-prettier to avoid rule conflicts.

Use cases

  • Standardising formatting across a team
  • Adding format-on-save without breaking existing lint rules
  • Bootstrapping a new TypeScript or React project
  • Removing manual formatting churn from PRs

Related skills