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.

ncoevoet Updated

File contents

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.

ncoevoet/claude-markdown-health-check/tree/main/tests/fixtures/ambiguous-trigger/dot-claude/skills/formatter commit 3f15064adc

Frequently asked questions

npx skillmds@latest add ncoevoet/formatter