Skip to content
Agentmart
Submit a tool

code_formatter

代码与数据格式化工具。支持 JSON、YAML、XML 的美化排版、压缩、校验,并可自动检测格式。

Skill by HelloEveryboby

IndexedMIT★ 18
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/helloeveryboby-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

代码与数据格式化工具。支持 JSON、YAML、XML 的美化排版、压缩、校验,并可自动检测格式。

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 and code. 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
代码与数据格式化工具。支持 JSON、YAML、XML 的美化排版、压缩、校验,并可自动检测格式。
License
MIT
Instructions
28 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Agent Skills spec issues

  • name: only lowercase letters, digits and single hyphens allowed

Files (2)

  • SKILL.md
  • main.py

SKILL.md (first lines)

# 代码格式化器 (Code Formatter)

本技能提供 JSON、YAML、XML 三种常见数据格式的美化、压缩与校验能力,自动检测输入格式。

## 核心能力

### 1. 美化排版 (`format`)
- 自动检测格式(JSON / YAML / XML)
- 缩进美化,对齐层级
- 返回格式化后的文本

### 2. 压缩 (`minify`)
- 去除所有空白和换行
- 生成最小体积的文本

### 3. 校验 (`validate`)
- 检查语法是否合法
- 返回错误位置和原因

### 4. 格式转换 (`convert`)
- JSON ↔ YAML 互转

## 支持格式
- **JSON**: 标准 JSON 语法
- **YAML**: YAML 1.1/1.2(需 PyYAML,未安装时优雅降级)
- **XML**: 标准 XML 语法

From HelloEveryboby/Butler, MIT.

More from HelloEveryboby/Butler

Signals

Stars
18
Forks
5
Open issues
0
Last commit (this folder)
Sep 26, 2026 (1 month ago)

From GitHub (fetched Oct 24, 2026).

Details

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

More from HelloEveryboby

Cite this page

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