Agent skill

prettier-config-generator

Generate Prettier configuration files for consistent code formatting across JavaScript, TypeScript, CSS, and other file types. Triggers on "create prettier config", "generate prettier configuration", "prettier setup", "code formatting config".

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/development/prettier-config-generator-ehtbanton-claudeskillsrepo

SKILL.md

Prettier Config Generator

Generate Prettier configuration files for consistent code formatting.

Output Requirements

File Output: .prettierrc, .prettierrc.js, or prettier.config.js Format: Valid Prettier configuration Standards: Prettier 3.x

When Invoked

Immediately generate a complete Prettier configuration with formatting rules for the project type.

Configuration Template

json
{
  "semi": true,
  "singleQuote": true,
  "tabWidth": 2,
  "trailingComma": "es5",
  "printWidth": 100,
  "bracketSpacing": true,
  "arrowParens": "avoid"
}

Example Invocations

Prompt: "Create prettier config for TypeScript project" Output: Complete .prettierrc with TypeScript-friendly settings.

Didn't find tool you were looking for?

Be as detailed as possible for better results