Skip to content
Agents tracked: 504 Releases (7d): 733 Agent status: 2 with issuesSince last limit reset: Claude 12d · Codex 10d For AI agents: Markdown Updated Nov 23, 2026

Lieflat Gongwen: Chinese official documents written to measured parameters

larashero3-dotcom/lieflat-gongwen

Your assistant learns to write Chinese government and party-building documents (gongwen) the way real ones read: research reports, leaders' speeches, work opinions, work plans and experience write-ups. It picks the document type first and shows you a title and outline. After your OK it writes to target numbers for sentence length, list density and tone words, then checks the draft with a small script.

Pack description by its author: “Your assistant learns to write Chinese government and party-building documents (gongwen) the way real ones read: research reports, leaders' speeches, work opinions, work plans and experience write-ups. It picks the document type first and shows you a title and outline. After your OK it writes to target numbers for sentence length, list density and tone words, then checks the draft with a small script.”

Documents, slides and spreadsheetsKnowledge and rules for your assistantGives your assistant new abilities with scripts

GitHub

Checked against the pack's files at commit c17e885, on Nov 18, 2026. Tap a verdict to see its source.How we checkedReport an error

Knowledge and rules for your assistantGives your assistant new abilities with scripts

Good for you if

  • You write Chinese official documents for a government office, a state company or a party branch
  • You want a draft that reads like a real gongwen, not like a blog post
  • You have a draft and want it checked and revised against the usual style of its document type

Probably not for you if

  • You need statutory forms (notices, requests, replies, letters) with a fixed layout: the pack has no numbers for them
  • You want online commentary or personal reflection essays: the author removed both types
  • You will use it for paid writing, client work or a commercial product without buying a license

What you'll notice

  • First a title and an outline, then a pause until you confirm
  • Placeholders like 【待补:xx】 where a number, name or date is missing, instead of invented figures
  • A self-check report next to the finished draft, with hard errors and soft hints
  • A list of all placeholders at the end, in three kinds

What you need

  • Codex, Claude Code, any agent with a skills folder
  • Free for noncommercial use; commercial use needs a paid license
  • Clone the folder into your assistant's skills folder
  • The self-check needs Python 3 (standard library only)
Words on this page
Skill
A set of written instructions your AI assistant follows. Installing one is like giving it a playbook.
Skill pack
Several skills in one GitHub repository, installed together.
Repositorylarashero3-dotcom/lieflat-gongwen · website
GitHub stars2,677
Skills1
CategoryDocuments, slides and spreadsheets
Last updatedNov 11, 2026 · card checked Nov 18, 2026 at commit c17e885
Install countslarashero3-dotcom/lieflat-gongwen on skills.sh, Vercel's skills directory, which shows installs and security audits per skill

larashero3-dotcom/lieflat-gongwen popularity over time

Most starred skill packs

larashero3-dotcom/lieflat-gongwen: GitHub starstotal over time 2,677
larashero3-dotcom/lieflat-gongwen: new stars per weekGitHub 80

What Lieflat Gongwen does

  • Decide the family first: a party-building piece of about 1,100 characters with no section headings, or a formal document of 2,500 characters or more
  • Then the type: research report, leader's speech, work opinion, experience write-up, work plan or experience summary
  • Look up that type's row of target numbers (length, sentence length, heading levels, list commas, tone words) in the parameter card
  • Read the type's structure template, the style notes and the synthetic sample pieces in full
  • Give a title and a layered outline, then stop and wait for confirmation
  • Write the body to the numbers; never invent data, mark gaps with one of three placeholders
  • Run the self-check script; only hard conflicts (wrong document type) must be fixed

Never cut, per the skill: Sensitive matters, major decisions and public wording go to the office's own reviewer; the pack does not replace that check.

From the pack's SKILL.md files, summarised by AgentGid.

The skill, explained

lieflat-gongwen

Plans, writes and checks Chinese official documents of seven types

You give

  • The document type or what it is for (find out problems, set rules, report results, plan tasks, speak at a meeting)
  • Your facts: numbers, names, dates, document numbers (missing ones become placeholders)
  • An existing draft, if you want it revised instead

You get

  • Title and layered outline, for your confirmation
  • Full body text
  • Self-check report from the script
  • List of placeholders in three kinds
  • For a revision: findings ranked P0, P1, P2, then fixes in that order
Say: “Write a research report in Chinese on how local factories use AI. Show me the outline first.”

See it in action

Same task, same model, with and without the skill

Prompt: 起草《关于开展电动自行车充停设施补建和安全隐患整治攻坚的工作方案》。

From the skill

The README shows an excerpt of a synthetic work plan on e-bike charging points; the full piece is in 示例/工作方案_电动自行车充停设施补建和隐患整治攻坚方案.md, with 【待补:xx】 left where local numbers belong..

Source: README.md. AgentGid did not run it.

When to reach for it

You wantUse
Find out a situation and propose fixes to higher levelsAsk for a research report (调研报告)
Deploy work and set demands at a meetingAsk for a leader's speech (领导讲话)
Set rules for lower levelsAsk for a work opinion (工作意见)
Set goals, tasks, steps and responsibilitiesAsk for a work plan (工作方案)
A short party-building or community write-up of about 1,000 charactersAsk for a party-building experience piece; the script key is 短经验材料
Check an existing draftpython3 scripts/check_params.py draft.md --match
Try it. Ask your assistant for a Chinese work plan on a local topic. It should first name the document type, then give only a title and an outline and wait for you. After you confirm, the full text comes with 【待补:xx】 placeholders for missing numbers and a self-check report.

Skills in larashero3-dotcom/lieflat-gongwen

SkillIn plain wordsChanges files?What it does (author)
lieflat-gongwen Plans, writes and checks Chinese official documents of seven typesNo 基于真实公文全量统计的公文写作 skill。分公文族与党建族两族,覆盖调研报告/领导讲话/工作意见/经验材料/工作方案/经验总结六类公文族文体,加千字级党建/基层经验材料一类,提供可验收的数值参数、骨架公式、标题技法和自动化自检脚本。触发场景:"写一篇调研报告""起草领导讲话""写份工作意见""写篇党建经验材料""把材料写成经验总结""让这篇稿子更有公文味""检查这篇公文的参数对不对"。
npx skills add larashero3-dotcom/lieflat-gongwen --skill lieflat-gongwen

The author's descriptions come from each skill's SKILL.md; the plain-words column is AgentGid's.

Good to know before you install

  • Commercial use is not free: the license allows noncommercial use only, and the skill tells your assistant to point you to the author's paid license page when you say the work is for paid writing, clients or a product.
  • Government institutions count as noncommercial users under the license.
  • The real source documents are not included for copyright reasons; the pack ships statistics, style notes and 22 synthetic sample pieces, so its numbers cannot be rechecked by others.
  • Two types rest on thin samples (10 work plans, 8 experience summaries); the author calls those numbers a reference only.
  • Layout rules for statutory documents (document numbers, recipients, copies) are not covered; check the official regulations and GB/T 9704.
  • The sample pieces are invented, not real documents; each says at the top what is real and what is made up.

Before you start

Works in

  • Claude Code: skills folder
  • Codex: skills folder

You will need

  • Python 3: Runs the self-check script (standard library only)

Steps only you can do

  1. Fill in every 【待补:xx】 and check every 【示意·待核】 and 【待核对原文】 before the document is final (The finished draft and its placeholder list)
    Then: The assistant can rerun the self-check on the final text
  2. For commercial use, buy a license (https://lieflat.work/skills/gongwen/#pricing)
    Then: The skill can be used for paid writing or client work

Mistakes to avoid

  • Give a 1,000-character party-building piece several section headings
    Keep short party-building pieces without section headings and lead each paragraph with a topic sentence
    The two families do not overlap on length and headings; headings turn it into a shrunken formal document
  • Keep tuning the draft until every number sits on the median
    Fix only hard conflicts; keep a soft deviation if you can say what it adds
    The author says pulling every number to the median squeezes out the concrete scenes
  • Ask for an online commentary or a personal reflection essay
    Use another writing skill for those
    Both types were removed; the script reports them as unknown
  • Write the whole document in one go
    Give the title and outline, then wait for the user's confirmation
    The output contract asks for a stop after the outline
  • Use it for paid ghost-writing or inside a commercial product under the public license
    Buy a commercial license from the author first
    The license covers noncommercial use only

Which one to pick

If you needPick
You need Chinese government or party-building documents written to measured style numbers, with a self-checkThis pack
You want to distill and copy any writing style from your own sampleslarashero3-dotcom/writing-dna-skill
You want to rewrite Chinese text so it stops sounding machine-written, for any channelMrGeDiao/shuorenhua

Works well with

May I use it like this?

UseAnswerCondition
In a commercial app NoPolyForm Noncommercial 1.0.0; a separate paid license is needed
Work for clients NoPaid writing and consulting are excluded without a separate written license
Passing the files on With conditionsNoncommercial only, with the license or its link included
Shipped inside your app NoOnly in noncommercial projects

Install Lieflat Gongwen

Official commands from the repository

git clone https://github.com/larashero3-dotcom/lieflat-gongwen ~/.claude/skills/lieflat-gongwen

The README writes <this-repo> in place of the address. This puts the skill in your user-wide skills folder.

Remove: delete ~/.claude/skills/lieflat-gongwen

Or with the open-source skills CLI: npx skills add larashero3-dotcom/lieflat-gongwen. Skills are instructions your agent follows: read them before installing.

What it installs and runs on your machine

Read in the code at commit c17e885, Nov 18, 2026

WhenWhat happens
Step 6 of the workflow, and at the start and end of a revisionYour assistant runs python3 scripts/check_params.py on the draft. It reads the draft file and prints a report; it writes nothing and makes no network calls.
Maintainer onlyscripts/strip_meta.py rewrites the pack's own _meta JSON files in place; the workflow does not call it.
Maintainer onlyassets/shoot.mjs renders the README header image with a locally installed Playwright; not part of the skill.

The author's numbers, as reported

AgentGid did not run these tests

  • The parameters come from 102 wan (about one million) characters of real official documents. Source
  • 75% to 87% of the documents in the author's corpus end without a set closing formula. Source
  • Per-type numbers rest on 184 documents in six types; the party-building family on 77. Source

Quick answers

Is it free?
For noncommercial use, yes. Paid writing, client work or a commercial product need a paid license from the author.
Does it write notices, requests and replies?
Not from its numbers. It has seven real statutory documents as layout references and a few notes on them, but no parameters.
Will it make up statistics?
No. Missing facts become one of three placeholders that you fill in.
Does it send my text anywhere?
No. The only code is a local Python check that reads the draft and prints a report.
Does it replace the office's own review?
No. The author says sensitive matters, major decisions and public wording still need the office reviewer.

Checked by AgentGid on Nov 18, 2026 against commit c17e885 of the pack's own files. Related: larashero3-dotcom/writing-dna-skill. agent.md for AI agents · Report a mistake

More documents, slides and spreadsheets skill packs

All documents, slides and spreadsheets skills

# Install
1
anthropics/skills CheckedRuns scripts

Anthropic's own collection of 19 skills for Claude. Four of them make and edit Word, Excel, PowerPoint and PDF files. The others help with design, art, team updates, longer documents, testing web pages and building new skills.

199K +13.9K 19
2
nexu-io/open-design CheckedRuns scripts

OpenDesign is a free design app that uses the AI coding assistant you already have to make web pages, slide decks, documents, images and short videos in your brand's style. Its skills folder holds 169 design playbooks. About half are full workflows and templates; the other half only point to skills in other places. Most skills work best inside the app.

109K +6,718 415
3

You point your AI assistant at a book or a folder of documents you own. It pulls the text out on your computer, then writes a new skill from it: the book's key ideas, a file per chapter, a glossary and a one-page cheat sheet. Later you ask that skill about a topic and the assistant reads the right chapter before it answers.

38.7K +3,002 1
4
zarazhangrui/frontend-slides CheckedRuns scripts

Makes a slide deck as one web page that opens in any browser. It asks about your talk first, shows you three different looks as real title slides, and builds the whole deck in the one you pick. It can also turn a PowerPoint file into such a deck, and share it as a link or a PDF.

32.8K +1,672 1
5

Give your assistant a website address and it checks the site the way an SEO consultant would: speed, indexing, content quality, structured data, local search and AI search. It saves a report and a to-do list sorted from critical to nice-to-have. Separate commands plan a strategy, write content briefs and watch a page for changes.

31.5K +10.5K 35
6

Your assistant builds a slide deck as one web page that you open in a browser and swipe through sideways. You pick one of two looks: an editorial magazine style or a strict Swiss grid style. The deck has a speaker view with notes, timers and rehearsal, and a second window for the audience.

30.2K +1,855 1