code-formatter

Execute automatically formats and validates code files using Prettier and other formatting tools.

Content Preview
---
name: code-formatter
description: |
  Execute automatically formats and validates code files using Prettier and other formatting tools.
  Use when users mention "format my code", "fix formatting", "apply code style",
  "check formatting", "make code consistent", or "clean up code formatting".
  Handles JavaScript, TypeScript, JSON, CSS, Markdown, and many other file types. Trigger with relevant phrases based on skill purpose.
allowed-tools: Read, Write, Edit, Grep, Glob, Bash(cmd:*)
version:
How to Use

Recommended: Install to project (local)

mkdir -p .claude/skills
curl -o .claude/skills/code-formatter.md \
  https://raw.githubusercontent.com/jeremylongshore/claude-code-plugins-plus-skills/main/plugins/examples/formatter/skills/code-formatter/SKILL.md

Skill is scoped to this project only. Add .claude/skills/ to your .gitignoreif you don't want to commit it.

Alternative: Clone full repo

git clone https://github.com/jeremylongshore/claude-code-plugins-plus-skills

Then reference at plugins/examples/formatter/skills/code-formatter/SKILL.md

Related Skills