Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
aidotnet avatar

Code Formatter

  • 21 installs
  • 84 repo stars
  • Updated January 28, 2026
  • aidotnet/moyucode

code-formatter is a Claude Code skill that formats source code files using industry-standard formatters like Black, with multi-language support.

About

code-formatter is a Claude Code skill that formats source code files using industry-standard formatters like Black for Python. It supports multiple languages and offers options for line length, check-without-modifying, and recursive directory formatting. A developer invokes it via /format to enforce consistent code style.

  • Formats source code using industry-standard formatters like Black for Python
  • Supports multiple languages including Python, JavaScript, and JSON
  • Runs via a CLI with line-length, check-only, and recursive-directory flags

Code Formatter by the numbers

  • 21 all-time installs (skills.sh)
  • Ranked #723 of 1,352 Code Review & Quality skills by installs in the Skillselion catalog
  • Data as of Jul 28, 2026 (Skillselion catalog sync)
At a glance

code-formatter capabilities & compatibility

Capabilities
code formatting · code style check
Use cases
refactoring · code review
Pricing
Free
From the docs

What code-formatter says it does

Format source code files using industry-standard formatters like Black for Python, with support for multiple languages.
SKILL.md
python scripts/code_formatter.py file.py --check
SKILL.md
npx skills add https://github.com/aidotnet/moyucode --skill code-formatter

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs21
repo stars84
Last updatedJanuary 28, 2026
Repositoryaidotnet/moyucode

What it does

Format source code files (Python, JavaScript, JSON) with tools like Black via a CLI.

Who is it for?

Enforcing consistent code style across Python, JavaScript, and JSON files.

Skip if: Linting for logic errors or security review beyond formatting.

When should I use this skill?

A developer needs to format code or enforce consistent style.

What you get

Source files reformatted to a consistent, standard style.

  • Reformatted source files

Files

SKILL.mdMarkdownGitHub ↗

Code Formatter Tool

Description

Format source code files using industry-standard formatters like Black for Python, with support for multiple languages.

Trigger

  • /format command
  • User needs to format code
  • User wants consistent code style

Usage

# Format Python file
python scripts/code_formatter.py file.py

# Format with specific line length
python scripts/code_formatter.py file.py --line-length 100

# Format JSON
python scripts/code_formatter.py config.json

# Check without modifying
python scripts/code_formatter.py file.py --check

# Format directory
python scripts/code_formatter.py ./src/ --recursive

Tags

format, code, python, black, style

Compatibility

  • Codex: ✅
  • Claude Code: ✅

Related skills

FAQ

Which languages are supported?

Python, JavaScript, JSON, and more, using standard formatters like Black.

Can it check without changing files?

Yes, pass --check to verify formatting without modifying files.

Code Review & Qualitybackendfrontend

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.