🛠️
QualityTypeScript

Code Formatter

by mgechev

Code Formatter is a Quality skill for Claude Code, published by mgechev in skillgrade.

684 stars48 forkson mgechev/skillgradeAdded 2026/08/23+1% in starsRepository updated 2026/08/20
agentclaude-codecodexevalgemini-cliskill
Install in seconds
Install Code Formatter
Copy Code Formatter into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/mgechev/skillgrade/tree/main/fixtures ~/.claude/skills/fixtures

Requires Node.js. Downloads this skill only — not the rest of the repository — into your Claude Code skills folder.

Without Node.js

git clone https://github.com/mgechev/skillgrade.git

Clones the whole repository, then copy the skill’s own directory into your skills folder yourself.

In this catalog

Source file
fixtures/code-formatter-skill.md in mgechev/skillgrade
Installs to
~/.claude/skills/fixtures
Collection
One of 5 skills cataloged from this repository
Category
Quality1354 skills

What Code Formatter does

Code Formatter formats source code files with the project's codeformat tool to fix style violations and match team standards. Use it when files need reformatting, not for linting, type-checking, or code review.

Code Formatter is cataloged under Quality on DirSkills. Code Formatter comes from a repository tagged agent, claude-code, codex, eval and gemini-cli.

Documentation

README

Code Formatter

Format source code files using the codeformat tool to ensure all files comply with the team's coding style.

Procedures

Step 1: Identify Files to Format

  1. List files with style violations: codeformat check .
  2. Review the output to identify which files need formatting.

Step 2: Apply Formatting

  1. Format all files: codeformat fix .
  2. Or format a specific file: codeformat fix --target <filename>

Step 3: Verify Results

  1. Run codeformat verify to confirm all files are properly formatted.
  2. The tool generates a .format-passed metadata file on success.

Error Handling

  • If codeformat verify fails, re-run codeformat fix . and try again.
  • If formatting introduces syntax errors, revert the file and report the issue.

Frequently asked about Code Formatter

  • What else does mgechev publish alongside Code Formatter?

    Code Formatter is one of 5 skills that DirSkills catalogs from mgechev/skillgrade, the repository it ships in. Its siblings there include Angular Modern APIs, Skillgrade and Skillgrade Graders. Each one is a separate skill with its own page in this directory, installs the same way Code Formatter does, and is maintained by mgechev in that same repository. The rest of the collection is listed on the mgechev/skillgrade page.

  • How does Code Formatter compare to other Quality skills?

    Code Formatter ranks #1060 by stars among the 1354 Quality skills in this catalog. The most-starred ones next to it are Benchmark, Benchmark Optimization Loop and API Design Patterns. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of Code Formatter against them. Open each page to compare what they document and how they install.