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
1. Changes your files
None of its skills edits your files.
github.com/larashero3-dotcom/lieflat-gongwen/blob/c17e885/2. Runs code on your machine
Step 6 of the workflow, and at the start and end of a revision: Your 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 only: scripts/strip_meta.py rewrites the pack's own _meta JSON files in place; the workflow does not call it.
github.com/larashero3-dotcom/lieflat-gongwen/blob/c17e885/3. Sends data
Only markdown plus one local check script that reads your draft. Install from github.com/larashero3-dotcom/lieflat-gongwen. The skill tells the assistant to mention the paid license when you say the use is commercial.
github.com/larashero3-dotcom/lieflat-gongwen/blob/c17e885/4. Commercial use
PolyForm Noncommercial 1.0.0; a separate paid license is needed
github.com/larashero3-dotcom/lieflat-gongwen/blob/c17e885/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
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.
| Repository | larashero3-dotcom/lieflat-gongwen · website |
|---|---|
| GitHub stars | 2,677 |
| Skills | 1 |
| Category | Documents, slides and spreadsheets |
| Last updated | Nov 11, 2026 · card checked Nov 18, 2026 at commit c17e885 |
| Install counts | larashero3-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
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
See it in action
Same task, same model, with and without the skill
Prompt: 起草《关于开展电动自行车充停设施补建和安全隐患整治攻坚的工作方案》。
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.
The skill defines what its answer looks like. Its own example:
【待补:xx】 missing number, document number, name or date; the user fills it in before the final version 【示意·待核】 a rough reference size; must be checked and replaced before use 【待核对原文】 a quoted statement or higher-level wording the writer is not sure of
From SKILL.md.
When to reach for it
| You want | Use |
|---|---|
| Find out a situation and propose fixes to higher levels | Ask for a research report (调研报告) |
| Deploy work and set demands at a meeting | Ask for a leader's speech (领导讲话) |
| Set rules for lower levels | Ask for a work opinion (工作意见) |
| Set goals, tasks, steps and responsibilities | Ask for a work plan (工作方案) |
| A short party-building or community write-up of about 1,000 characters | Ask for a party-building experience piece; the script key is 短经验材料 |
| Check an existing draft | python3 scripts/check_params.py draft.md --match |
Skills in larashero3-dotcom/lieflat-gongwen
| Skill | In plain words | Changes files? | What it does (author) |
|---|---|---|---|
| lieflat-gongwen | Plans, writes and checks Chinese official documents of seven types | No | 基于真实公文全量统计的公文写作 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
- 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 - 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 documentKeep 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 scenesAsk for an online commentary or a personal reflection essay
Use another writing skill for those
Both types were removed; the script reports them as unknownWrite 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 outlineUse 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 need | Pick |
|---|---|
| You need Chinese government or party-building documents written to measured style numbers, with a self-check | This pack |
| You want to distill and copy any writing style from your own samples | larashero3-dotcom/writing-dna-skill |
| You want to rewrite Chinese text so it stops sounding machine-written, for any channel | MrGeDiao/shuorenhua |
Works well with
- openai-codex: The author names Codex as a supported agent
- claude-code: The README installs it into ~/.claude/skills
May I use it like this?
| Use | Answer | Condition |
|---|---|---|
| In a commercial app | No | PolyForm Noncommercial 1.0.0; a separate paid license is needed |
| Work for clients | No | Paid writing and consulting are excluded without a separate written license |
| Passing the files on | With conditions | Noncommercial only, with the license or its link included |
| Shipped inside your app | No | Only 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
Put the whole folder into the agent's skills folder.
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
| When | What happens |
|---|---|
| Step 6 of the workflow, and at the start and end of a revision | Your 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 only | scripts/strip_meta.py rewrites the pack's own _meta JSON files in place; the workflow does not call it. |
| Maintainer only | assets/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
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
| # | Install | |||||
|---|---|---|---|---|---|---|
| 1 |
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 |
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 |
virgiliojr94/book-to-skill
Checked
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 |
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 |
AgriciDaniel/claude-seo
Checked
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 |
op7418/guizang-ppt-skill
Checked
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 |
No pack matches.