code-formatter

📁 aidotnet/moyucode 📅 Jan 28, 2026
4
总安装量
2
周安装量
#48769
全站排名
安装命令
npx skills add https://github.com/aidotnet/moyucode --skill code-formatter

Agent 安装分布

opencode 2
claude-code 2
cursor 2
mcpjam 1
zencoder 1

Skill 文档

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: âœ