/ 디렉터리 / 플레이그라운드 / document-format-skills
● 커뮤니티 KaguraNanaga ⚡ 바로 사용

document-format-skills

제작: KaguraNanaga · KaguraNanaga/document-format-skills

Formats Chinese .docx files to Chinese government / academic / legal standards — fixes indentation, punctuation, fonts, numbering with python-docx.

A focused Claude Code skill for Chinese Word document formatting. Detects mixed Chinese/English punctuation, inconsistent fonts, and spacing issues, then applies one of three style presets: GB/T 9704-2012 official documents, academic papers, or legal documents. Python-based, depends on python-docx.

왜 쓰나요

핵심 기능

라이브 데모

실제 사용 모습

document-format-skill.replay ▶ 준비됨
0/0

설치

클라이언트 선택

~/Library/Application Support/Claude/claude_desktop_config.json  · Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "document-format-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/KaguraNanaga/document-format-skills",
        "~/.claude/skills/document-format-skills"
      ],
      "_inferred": true
    }
  }
}

Claude Desktop → Settings → Developer → Edit Config 열기. 저장 후 앱 재시작.

~/.cursor/mcp.json · .cursor/mcp.json
{
  "mcpServers": {
    "document-format-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/KaguraNanaga/document-format-skills",
        "~/.claude/skills/document-format-skills"
      ],
      "_inferred": true
    }
  }
}

Cursor는 Claude Desktop과 동일한 mcpServers 스키마 사용. 프로젝트 설정이 전역보다 우선.

VS Code → Cline → MCP Servers → Edit
{
  "mcpServers": {
    "document-format-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/KaguraNanaga/document-format-skills",
        "~/.claude/skills/document-format-skills"
      ],
      "_inferred": true
    }
  }
}

Cline 사이드바의 MCP Servers 아이콘 클릭 후 "Edit Configuration" 선택.

~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "document-format-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/KaguraNanaga/document-format-skills",
        "~/.claude/skills/document-format-skills"
      ],
      "_inferred": true
    }
  }
}

Claude Desktop과 같은 형식. Windsurf 재시작 후 적용.

~/.continue/config.json
{
  "mcpServers": [
    {
      "name": "document-format-skill",
      "command": "git",
      "args": [
        "clone",
        "https://github.com/KaguraNanaga/document-format-skills",
        "~/.claude/skills/document-format-skills"
      ]
    }
  ]
}

Continue는 맵이 아닌 서버 오브젝트 배열 사용.

~/.config/zed/settings.json
{
  "context_servers": {
    "document-format-skill": {
      "command": {
        "path": "git",
        "args": [
          "clone",
          "https://github.com/KaguraNanaga/document-format-skills",
          "~/.claude/skills/document-format-skills"
        ]
      }
    }
  }
}

context_servers에 추가. 저장 시 Zed가 핫 리로드.

claude mcp add document-format-skill -- git clone https://github.com/KaguraNanaga/document-format-skills ~/.claude/skills/document-format-skills

한 줄 명령. claude mcp list로 확인, claude mcp remove로 제거.

사용 사례

실전 활용법: document-format-skills

Format a government report to GB/T 9704-2012 standard

👤 Chinese government / SOE staff, secretaries ⏱ ~15 min beginner

언제 쓸까: You received a draft 公文 and need it to pass 公文处理 review.

사전 조건
  • Python 3 + python-docx installed — pip install python-docx
  • Skill cloned — git clone https://github.com/KaguraNanaga/document-format-skills ~/.claude/skills/document-format-skills
흐름
  1. Analyze first
    分析 report.docx 的格式问题,按 GB/T 9704-2012 标准列出所有偏差。✓ 복사됨
    → A list of deviations grouped by category
  2. Apply preset
    按公文标准自动修复,保留原内容。输出到 report-fixed.docx。✓ 복사됨
    → New file generated, diff summary printed

결과: A report that passes internal formatting review without manual reformatting.

함정
  • Complex tables get re-rendered incorrectly — Review tables manually — the skill is conservative there
함께 쓰기: filesystem

Clean punctuation and formatting in a Chinese academic paper

👤 Chinese-language graduate students and researchers ⏱ ~20 min beginner

언제 쓸까: Before submitting to a Chinese journal that enforces strict punctuation standards.

흐름
  1. Punctuation pass
    修正 paper.docx 中所有中英文标点混用问题,统一为中文全角标点。✓ 복사됨
    → Every ( and , normalized
  2. Apply academic preset
    按学术论文标准应用格式预设。✓ 복사됨
    → Consistent heading, indent, spacing

결과: A submission-ready paper.

함정
  • Code blocks or English quotations get over-converted — Ask the skill to preserve English-only paragraphs — specify section ranges to exclude

조합

다른 MCP와 조합해 10배 효율

document-format-skill + filesystem

Batch-format every .docx in a folder

遍历 reports/ 下所有 .docx,全部按公文标准格式化,输出到 reports-fixed/。✓ 복사됨

도구

이 MCP가 노출하는 것

도구입력언제 호출비용
analyze_format path to .docx Before applying any changes 0 — local
fix_punctuation path, target (cn|mixed) Chinese/English punctuation unification 0
apply_preset path, preset (gov|academic|legal) After analysis, main transform 0

비용 및 제한

운영 비용

API 쿼터
None
호출당 토큰
Minimal — the skill mostly drives a Python script
금액
Free
Run analyze_format once, then apply_preset — don't ask Claude to do the formatting by hand in tokens

보안

권한, 시크릿, 파급범위

자격 증명 저장: None
데이터 외부 송신: None — fully local via python-docx

문제 해결

자주 발생하는 오류와 해결

ModuleNotFoundError: python-docx

pip install python-docx

확인: python -c 'import docx'
Tables misrender after formatting

Revert and run preset with tables excluded

Fonts missing on the final machine

Preset uses 宋体/仿宋/黑体 — install Chinese fonts on the system that opens the file

확인: fc-list :lang=zh

대안

document-format-skills 다른 것과 비교

대안언제 쓰나단점/장점
Manual Word stylesOne-off doc, you already know Word wellNo batch, easy to be inconsistent

더 보기

리소스

📖 GitHub에서 공식 README 읽기

🐙 열린 이슈 보기

🔍 400+ MCP 서버 및 Skills 전체 보기