Lieflat Gongwen
Writes Chinese government and Party-building documents to style targets measured from real official texts, then checks drafts with a script.
What it is
A writing aid for people in China who draft official materials: civil servants, staff at state-owned companies, and community or Party-branch workers. It works entirely in Chinese and covers six kinds of formal documents (research reports, leaders' speeches, work opinions, experience materials, work plans and experience summaries) plus short Party-building and grassroots experience pieces of about 1,000 characters. Statutory notices, requests and replies have no statistics behind them, but seven real State Council documents are included as layout references.
Instead of generic templates, it gives targets measured from a corpus of real official writing: typical length, average sentence length, how often the Chinese list comma appears, how many top-level headings, how often the 'first, second' pattern is used and how many words like must and ensure each type uses. It adds skeleton formulas for each type, a headline technique guide, before-and-after sentence examples, 22 synthetic sample documents and a Python script that compares any draft with the targets.
It always shows a title and outline first and waits for your approval before writing the full text. Missing facts become clearly marked placeholders rather than invented figures, and it warns that the numbers describe typical writing and should not be chased blindly. The original corpus texts are not included for copyright reasons, and some types rest on only eight or ten samples. Classified, major-policy or public-facing texts still need review by your own organization.
What it can do
- Decides first whether your piece belongs to the short Party-building family or the longer formal-document family.
- Matches your request to one of six document types and loads that type's length, sentence and wording targets.
- Proposes a title and layered outline using that type's headline rules, then waits for you to confirm.
- Writes the full draft within set quotas for strong words, with strict punctuation rules and no invented data.
- Runs a Python checker on any draft, flagging hard mismatches and softer deviations from the targets.
- Revises an existing draft in priority order: facts and document type first, structure second, rhythm and wording last.
- Lists every placeholder for missing numbers, names, dates or quotations you still need to fill in.
When to use it
- Your department head wants a research report on how local manufacturers use AI by Friday.
- You need to draft a leader's speech for a city-wide work safety meeting.
- Your community office must submit a 1,000-character Party-building piece about its new volunteer service.
- You wrote a work plan, colleagues say it does not read like an official document, and you want to know why.
How it works
- 1Works out the document family and type from your request, using length and headings to tell the families apart.
- 2Reads that type's row on its parameter card, the matching skeleton section, and the style notes and sample documents in full.
- 3Gives you only the title and outline, then stops for your confirmation.
- 4Writes the body to the targets, marking missing facts with three standard placeholder types.
- 5Runs its Python checker on the draft and hands over the full text, the check report and the placeholder list.
Try asking
How to install
Install with the skills CLI (recommended)
Works with Claude Code, Codex, Cursor, OpenCode and other agents, and asks which ones to install to. Needs Node.js 22.20+. Add -g to make it available in every project.
npx skills add larashero3-dotcom/lieflat-gongwen
pnpm dlx skills add larashero3-dotcom/lieflat-gongwen
Install manually
Copies the skill folder into Claude Code's personal skills directory. For claude.ai, zip the lieflat-gongwen folder and upload it in the Skills section of Settings.
git clone --depth 1 https://github.com/larashero3-dotcom/lieflat-gongwen.git ~/.claude/skills/lieflat-gongwen
Then just ask in plain language, for example: “Write a research report in Chinese official style on how local manufacturers are adopting AI.”
More Office & Documents skills
PPT Master
73kTurns documents, topics or slide images into natively editable PowerPoint decks, and can restyle, refill or narrate decks you already have.
Employment Contract Templates
42kDrafts offer letters, employment agreements and employee handbook policies from fill-in templates, ready for a lawyer to review.
Startup Metrics Framework
42kCalculates and benchmarks the startup numbers investors ask about, from CAC, LTV and burn multiple to retention, GMV and sales pipeline.