jeff-skill-install-prettier

Configure Prettier formatting with .prettierrc.json and .prettierignore files.

Updated Feb 8, 2026
One-click install
npx skills add https://github.com/jbaranski/jeff-claude --skill jeff-skill-install-prettier
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: jeff-skill-install-prettier
Source: https://github.com/jbaranski/jeff-claude/tree/main/.claude/skills/jeff-skill-install-prettier
Command: npx skills add https://github.com/jbaranski/jeff-claude --skill jeff-skill-install-prettier

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Install Prettier to standardize code formatting across a project, reducing manual formatting work and style disputes.

Core Features & Use Cases

  • Creates a standard configuration file (.prettierrc.json) with key formatting rules.
  • Adds a .prettierignore to exclude build, dist, and other directories from formatting.
  • Updates or creates package.json scripts for prettier:fix and prettier:check, or uses a Makefile if package.json is absent to run Prettier.
  • Removes conflicting formatting configuration to centralize formatting rules.

Quick Start

Execute this skill to add standard Prettier configuration to your project.

Frequently Asked Questions about jeff-skill-install-prettier

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure Prettier for a JavaScript or TypeScript project?

Configuring Prettier involves generating a .prettierrc.json file with formatting rules and a .prettierignore file to exclude directories like build and dist. This standardizes code style and automates formatting checks across JavaScript and TypeScript projects.

What is the best way to automate code formatting checks in a project?

The best way to automate code formatting checks is by adding prettier:fix and prettier:check scripts to package.json. If package.json is absent, a Makefile can be updated to run Prettier, ensuring automated formatting across the project.

Does Prettier configuration remove conflicting formatting rules?

Yes, centralizing Prettier configuration removes conflicting formatting configurations from your project. This ensures that .prettierrc.json standardizes code style, reducing manual formatting work and eliminating style disputes.

How do I exclude build and dist directories from code formatting?

You exclude build and dist directories from code formatting by adding a .prettierignore file. This ensures automated Prettier formatting checks skip specified directories and focus only on relevant source code.

Can I use Prettier in a project without a package.json file?

Yes, you can use Prettier without a package.json file. The configuration process creates or updates a Makefile to run Prettier commands, ensuring automated code formatting checks still execute properly across the project.