Skip to content
Agentmart
Submit a tool

code-formatter

格式化源代码文件,支持Python、JavaScript、JSON等语言,使用行业标准格式化工具。

Skill by AIDotNet

IndexedMIT★ 85
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/aidotnet-code-formatter

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

格式化源代码文件,支持Python、JavaScript、JSON等语言,使用行业标准格式化工具。

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Python package

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/code-formatter

What's inside

Skill name
code-formatter
Description
格式化源代码文件,支持Python、JavaScript、JSON等语言,使用行业标准格式化工具。
License
MIT
Metadata
short-description: 格式化源代码
Instructions
37 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (2)

  • SKILL.md
  • code_formatter.py · scripts/

SKILL.md (first lines)

# 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

```bash
# 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: ✅

From AIDotNet/MoYuCode, MIT.

More from AIDotNet/MoYuCode

Signals

Stars
85
Forks
17
Open issues
2
Last commit (this folder)
Jan 27, 2026 (9 months ago)
Last release
Jan 28, 2026 (9 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from AIDotNet

Cite this page

code-formatter skill. Agent Mart. https://agentmart.dev/skills/aidotnet-code-formatter (last updated 2026-10-24)