Visual Audit
pedrohcgs/claude-code-my-workflow
Adversarial visual-layout audit of a Quarto .qmd or Beamer .tex deck.
Checks the structure and quality of a finished Chinese official document with a section-checking script and a manual checklist, without rewriting it.
SKILL.md written in Chinese; this summary is our English description.
$ npx skills add zhaohui-yang/official-document-drafting --skill document-qa -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install zhaohui-yang/official-document-drafting document-qa --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/zhaohui-yang/official-document-drafting.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/document-qa .claude/skills/document-qa && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "document-qa" agent skill from https://github.com/zhaohui-yang/official-document-drafting/tree/main/skills/document-qa into .claude/skills/document-qa/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "document-qa", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/zhaohui-yang/official-document-drafting/tree/main/skills/document-qaType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add zhaohui-yang/official-document-drafting --skill document-qa -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install zhaohui-yang/official-document-drafting document-qa --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/zhaohui-yang/official-document-drafting.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/document-qa .agents/skills/document-qa && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "document-qa" agent skill from https://github.com/zhaohui-yang/official-document-drafting/tree/main/skills/document-qa into .agents/skills/document-qa/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "document-qa", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add zhaohui-yang/official-document-drafting --skill document-qa -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install zhaohui-yang/official-document-drafting document-qa --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/zhaohui-yang/official-document-drafting.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/document-qa .cursor/skills/document-qa && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "document-qa" agent skill from https://github.com/zhaohui-yang/official-document-drafting/tree/main/skills/document-qa into .cursor/skills/document-qa/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "document-qa", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/zhaohui-yang/official-document-drafting.git --path skills/document-qa--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add zhaohui-yang/official-document-drafting --skill document-qa -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install zhaohui-yang/official-document-drafting document-qa --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/zhaohui-yang/official-document-drafting.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/document-qa .gemini/skills/document-qa && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "document-qa" agent skill from https://github.com/zhaohui-yang/official-document-drafting/tree/main/skills/document-qa into .gemini/skills/document-qa/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "document-qa", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install zhaohui-yang/official-document-drafting document-qaInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add zhaohui-yang/official-document-drafting --skill document-qa -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/zhaohui-yang/official-document-drafting.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/document-qa .github/skills/document-qa && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "document-qa" agent skill from https://github.com/zhaohui-yang/official-document-drafting/tree/main/skills/document-qa into .github/skills/document-qa/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "document-qa", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add zhaohui-yang/official-document-drafting --skill document-qa -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install zhaohui-yang/official-document-drafting document-qa --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/zhaohui-yang/official-document-drafting.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/document-qa .opencode/skills/document-qa && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "document-qa" agent skill from https://github.com/zhaohui-yang/official-document-drafting/tree/main/skills/document-qa into .opencode/skills/document-qa/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "document-qa", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
document-qaChecks the structure and quality of a finished Chinese official document with a section-checking script and a manual checklist, without rewriting it.
This skill inspects a completed draft and does the opposite of drafting. A Python script, `src/scripts/check_sections.py`, covers all 22 document types and flags missing required sections, skipped heading levels, 一是 or 二是 items used as formal headings, third-level headings in documents under 10 pages, leftover placeholders and closing phrases that do not match the type. It also checks the GB/T 9704 formatting points: bracket style in document numbers, zero-padded dates, a stray period in titles and a leftover subject-words line.
The `--strict-facts` option lists every concrete, non-placeholder value such as numbers, dates, percentages and amounts so each can be traced to a source, and `--strict-structure` turns structure warnings into errors. Semantic points the script cannot judge are checked by hand against a quality checklist, including document type, title focus, sign-off and invented facts. The report states what is missing, what is irregular and which values look unsupported, and revisions go back to the drafting skill. The text is in Chinese.
5 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 6b4166a. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
python3From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Chinese Official Document QA loads about 466 tokens when it runs. Until then it costs about 44 tokens; SKILL.md has 68 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 68 words (~466 tokens).
Just SKILL.md in skills/document-qa of zhaohui-yang/official-document-drafting.
Open the folder on GitHubat commit 6b4166a
Chinese Official Document QA next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Chinese Official Document QA this skillzhaohui-yang/official-document-drafting | 140 | — | ~466 | Automated safety check: Pass | Custom licence | |
| Visual Auditpedrohcgs/claude-code-my-workflow | 1.6k | — | ~651 | Automated safety check: Notes | MIT | |
| WeChat Article Compliance Revieweraiworkskills/wechat-article-skills | 667 | — | ~1.5k | Automated safety check: Pass | Apache-2.0 | |
| Iflytek Text Proofreadiflytek/iFly-Skills | 209 | — | ~1.4k | Automated safety check: Pass | Apache-2.0 | |
| Markdown Article FormatterJimLiu/baoyu-skills | 26k | 7 repos | ~3.5k | Automated safety check: Pass | MIT | |
| Summarise Ecosystem Resultsastral-sh/ruff | 50k | 1 repos | ~2.2k | Automated safety check: Pass | MIT |
pedrohcgs/claude-code-my-workflow
Adversarial visual-layout audit of a Quarto .qmd or Beamer .tex deck.
aiworkskills/wechat-article-skills
Local, offline pre-publish review for a WeChat official account article: sensitive words, typos and platform compliance, producing an actionable fix list.
iflytek/iFly-Skills
iFlytek Official Document Proofreading (公文校对) — detect and correct errors in Chinese text including typos, punctuation, word order, factual mistakes, sensitive content, and more (27 error types).
JimLiu/baoyu-skills
Reformats plain text or Markdown articles with frontmatter, a title, a summary, headings, bold, lists and code blocks, and saves a separate formatted copy.
astral-sh/ruff
A skill your agent uses when a user says "summarise ecosystem results", "summarize this ty ecosystem report", "what changed in this ecosystem run?", or asks to summarise or summarize ty ecosystem…
xiaofenggan01/aigc-reduce
Reduces the AI-text detection rate of academic papers by scanning for templated phrasing and making small deterministic edits that keep citations, data and terminology.
zhaohui-yang/official-document-drafting
Drafts, rewrites and standardizes Chinese official documents and formal reports such as notices, requests and meeting minutes, and exports the result to Word.
zhaohui-yang/official-document-drafting
Decides which type of Chinese official document to write and in which direction it travels, using three questions, before handing off to the drafting skill.
zhaohui-yang/official-document-drafting
Exports a finished Chinese official-document Markdown draft to a .docx with government-style fonts and layout, with options to preview the font and layout plan first.
zhaohui-yang/official-document-drafting
Collects the latest updates from Chinese central ministry websites and drafts a daily formal report on them, optionally exported to Word.
zhaohui-yang/official-document-drafting
Collects policies and developments on one topic from Chinese central ministries and compiles them into a verified situation report, with optional Word export.
zhaohui-yang/official-document-drafting
从 prompts/ 单一主源生成并校验本项目的 skill 产物。Use when working on 构建/重新生成 SKILL.md、agent 接口、dist 副本、assets/templates/ 模板或离线提示词,校验产物是否与 prompts/ 主源同步(--check / 防漂移),或维护 prompts/ → 产物 的单一信息源构建范式。
Works with
Categories
Checks the structure and quality of a finished Chinese official document with a section-checking script and a manual checklist, without rewriting it. This skill inspects a completed draft and does the opposite of drafting.py`, covers all 22 document types and flags missing required sections, skipped heading levels, 一是 or 二是 items used as formal headings, third-level headings in documents under 10 pages, leftover placeholders and closing phrases that do not match the type.
Chinese Official Document QA fits situations like: reviewing a drafted official notice or report for missing sections; checking heading levels and closing phrases against the document type; listing every concrete figure and date in a draft so sources can be verified.
Run `npx skills add zhaohui-yang/official-document-drafting --skill document-qa -a claude-code`. Or copy the skill folder (skills/document-qa in zhaohui-yang/official-document-drafting) into .claude/skills/document-qa in your project. Claude Code loads it when a task matches its description.
Run `npx skills add zhaohui-yang/official-document-drafting --skill document-qa -a codex`. Or copy the skill folder (skills/document-qa in zhaohui-yang/official-document-drafting) into .agents/skills/document-qa in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add zhaohui-yang/official-document-drafting --skill document-qa -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/document-qa, .gemini/skills/document-qa, .github/skills/document-qa and .opencode/skills/document-qa in your project.
Going by SKILL.md and its folder, Chinese Official Document QA needs the command-line tools its instructions call (python3). Our summary lists: Python 3 to run the section-checking script; The finished draft as a Markdown file.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Chinese Official Document QA has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.
About 466 tokens (SKILL.md is roughly 1.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Chinese Official Document QA: Visual Audit (pedrohcgs/claude-code-my-workflow, 1.6k stars), WeChat Article Compliance Reviewer (aiworkskills/wechat-article-skills, 667 stars), Iflytek Text Proofread (iflytek/iFly-Skills, 209 stars) and Markdown Article Formatter (JimLiu/baoyu-skills, 26k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
zhaohui-yang (a GitHub user) maintains it in zhaohui-yang/official-document-drafting, which has 140 GitHub stars. The repository holds 8 skills in this directory. The repository was last updated on August 19, 2026.
Source: zhaohui-yang/official-document-drafting on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.