gitwtfhub

wtf is common-official-document-format-skill?

verona136/common-official-document-format-skill — explained in plain English

Analysis updated 2026-05-18

1ShellAudience · writerComplexity · 2/5Setup · easy

TL;DR

Chinese-language skill pack for Codex, Claude, and openclaw that makes the assistant produce .docx files following standard official Chinese government document layout, margins, fonts, and spacing rules.

Mindmap

mindmap
  root((official-doc-skill))
    Inputs
      User prompt in Chinese
      Document type request
    Outputs
      .docx Word file
      Official layout formatting
    Use Cases
      Government notices
      Internal reports
      Meeting minutes
      Formal replies
    Tech Stack
      Shell
      Markdown
      Codex
      Claude
      openclaw

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Why would anyone build with this?

REASON 1

Install the skill into Claude Code so it auto formats formal Chinese notices and replies as .docx.

REASON 2

Plug into Codex CLI to generate meeting minutes that follow standard government margin and font rules.

REASON 3

Reuse the layout spec as a reference when writing a custom Python or docx generator.

REASON 4

Drop into openclaw for batch generation of internal reports without hand setting fonts.

What's in the stack?

ShellMarkdownCodexClaudeopenclaw

How it stacks up

verona136/common-official-document-format-skillanthonyhann/knowledge-wikibaiyuetribe/test-heroku
Stars111
LanguageShellShellShell
Last pushed2021-06-30
MaintenanceDormant
Setup difficultyeasymoderatehard
Complexity2/53/51/5
Audiencewriterdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you spin it up?

Difficulty · easy Time to first run · 5min

Just run install.sh with the right host flag, or copy the folder into the host skills directory and restart.

Wtf does this do

This repository is a small skill pack written in Chinese, meant to be plugged into AI coding assistants such as Codex, Claude, and openclaw. Its job is narrow. When the assistant sees that the user is asking for a formal Chinese government or organisational document, things like notices, reports, requests, replies, minutes, decisions, announcements, and so on, the skill tells the assistant to produce a .docx Word file using a standard official Chinese document layout. The README spells out the layout rules in detail. The page is A4 portrait with specific margins, 3.3 cm at the top, 3.4 cm at the bottom, and 2.7 cm on the left and right. The title uses Founder Xiaobiao Song Simplified font, centred. First-level headings use Heihei size three, second-level headings use Kaiti GB2312 size three, and body text uses Fangsong GB2312, all with the first line indented by two characters. Line spacing is fixed at 28 points, with no extra space before or after paragraphs and standard character spacing. Page numbers sit in the bottom-right corner in Fangsong GB2312 size four, formatted with dashes, and odd and even pages are treated differently. The skill also cleans up things like extra blank lines, leading spaces, trailing spaces, repeated spaces, and stray automatic numbering. There is an install script that wires the skill into one of three host tools. You run install.sh with a target flag of codex, claude, or openclaw, and pass force if you want to overwrite an existing copy. The script handles where the skill folder needs to live so the host can find it. If you would rather not use the script, the README describes a manual install. You copy the common-official-document-format-skill folder into the host's skills directory, for example into the .codex/skills location in your home folder, and restart the host. After that the skill is available and the assistant will follow these formatting rules by default when the conversation calls for a formal document. The repository itself is small. It is mostly the skill description and the install shell script, with no example documents or template files shown in the README. Stars on the project are low, which fits its niche focus on a specific Chinese office writing convention.

Yoink these prompts

Prompt 1
Run install.sh from common-official-document-format-skill with target claude and force, then verify the skill folder lands in the right place.
Prompt 2
Manually copy the common-official-document-format-skill into my ~/.codex/skills folder and restart Codex so it picks up the new skill.
Prompt 3
Use this skill to draft a formal notice in Chinese about a holiday schedule change, output as a .docx with the prescribed Founder Xiaobiao Song title font.
Prompt 4
Reproduce the layout rules from this skill as a Python python-docx script that writes the same A4 margins, Heihei headings, and Fangsong body text.
Prompt 5
Adapt the cleanup rules in this skill to also strip Chinese full-width spaces and double punctuation from the input text.

Frequently asked questions

wtf is common-official-document-format-skill?

Chinese-language skill pack for Codex, Claude, and openclaw that makes the assistant produce .docx files following standard official Chinese government document layout, margins, fonts, and spacing rules.

What language is common-official-document-format-skill written in?

Mainly Shell. The stack also includes Shell, Markdown, Codex.

How hard is common-official-document-format-skill to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is common-official-document-format-skill for?

Mainly writer.

View the repo → Decode another repo

This repo across BitVibe Labs

Don't trust strangers blindly. Verify against the repo.