# Formatter

> Formats and tidies source files across the project. Use when code needs cleanup, when formatting drifts from the house style, or whenever a file could read more neatly.

- Skill: `ncoevoet/formatter` (Agent Skill)
- Install (CLI): `npx skillmds@latest add ncoevoet/formatter`
- Raw SKILL.md: https://api.skillmd.com/api/skills/ncoevoet/formatter/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: ncoevoet (https://skillmd.com/u/ncoevoet)
- Updated: 2026-09-21
- Page: https://skillmd.com/skills/ncoevoet/formatter

---


# Formatter

Apply the project's formatting rules to source files.

## Examples

- User says: "format this file" — run the configured formatter on the open file.
- User says: "clean up the imports" — sort and dedupe import groups.

## Common issues

- If no formatter is configured, fall back to the language's default and note it.

