document-format-skills

Diagnose and fix formatting defects in Word DOCX files.

211|19|Updated Jan 30, 2026
One-click install
npx skills add https://github.com/KaguraNanaga/document-format-skills --skill document-format-skills
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: document-format-skills
Source: https://github.com/KaguraNanaga/document-format-skills/tree/main
Command: npx skills add https://github.com/KaguraNanaga/document-format-skills --skill document-format-skills

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires python-docx, and includes scripts (resource) components.

What problem does it solve?

Document formatting issues in Word DOCX files cause miscommunication and reduce readability. This Skill diagnoses formatting problems, fixes punctuation, and standardizes styles to produce clean, consistent documents ready for sharing.

Core Features & Use Cases

  • Format Diagnosis: analyzes documents for indentation, line spacing, fonts, and table layouts to surface issues.
  • Punctuation Fixing: fixes mixed Chinese/English punctuation and normalizes quotes and spacing.
  • Format Unification: applies predefined presets (official, academic, legal) to body text, headings, and metadata.
  • Table Auto-adjustment: optimizes table layouts and widths to improve readability.
  • Page/Layout Consistency: ensures margins and page structure align with the selected preset.

Quick Start

Run uv with the included scripts on input.docx to diagnose issues and apply punctuation and style fixes.

Frequently Asked Questions about document-format-skills

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fix inconsistent punctuation and formatting in a Word docx file?

To fix inconsistent punctuation and formatting in a docx file, run the included scripts to normalize mixed quotes, spacing, indentation, and line spacing. The tool diagnoses layout defects and standardizes the document automatically.

Can I apply official or academic document presets to an existing Word file?

Yes, you can apply predefined official, academic, or legal format presets to an existing docx file. The tool adjusts body text, headings, metadata, margins, and page layouts to match the selected standard.

How do I automatically adjust table layouts and widths in a Word document?

You can automatically adjust table layouts and widths in a Word document by running the formatting diagnosis tool. It optimizes table structures and widths to improve overall readability.

Do I need python-docx installed to format Word documents?

Yes, you need the python-docx library installed to format Word documents. The tool operates on .docx file extensions and relies on this dependency to parse and generate corrected outputs.

What is the best way to standardize mixed Chinese and English punctuation in docx?

The best way to standardize mixed Chinese and English punctuation in docx is using the punctuation fixing feature. It identifies mixed punctuation defects and normalizes quotes and spacing for consistency.