Bookforge Korean Ebook PDF Maker
gongnyang/bookforge
Produces book-style Korean ebook PDFs from a topic or finished manuscript, with six design styles, real book parts and quality-check gates before output.
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.
SKILL.md written in Chinese; this summary is our English description.
$ npx skills add zhaohui-yang/official-document-drafting --skill doc-type-routing -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install zhaohui-yang/official-document-drafting doc-type-routing --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/doc-type-routing .claude/skills/doc-type-routing && 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 "doc-type-routing" agent skill from https://github.com/zhaohui-yang/official-document-drafting/tree/main/skills/doc-type-routing into .claude/skills/doc-type-routing/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "doc-type-routing", 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/doc-type-routingType 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 doc-type-routing -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install zhaohui-yang/official-document-drafting doc-type-routing --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/doc-type-routing .agents/skills/doc-type-routing && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "doc-type-routing" agent skill from https://github.com/zhaohui-yang/official-document-drafting/tree/main/skills/doc-type-routing into .agents/skills/doc-type-routing/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "doc-type-routing", 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 doc-type-routing -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install zhaohui-yang/official-document-drafting doc-type-routing --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/doc-type-routing .cursor/skills/doc-type-routing && 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 "doc-type-routing" agent skill from https://github.com/zhaohui-yang/official-document-drafting/tree/main/skills/doc-type-routing into .cursor/skills/doc-type-routing/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "doc-type-routing", 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/doc-type-routing--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 doc-type-routing -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install zhaohui-yang/official-document-drafting doc-type-routing --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/doc-type-routing .gemini/skills/doc-type-routing && 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 "doc-type-routing" agent skill from https://github.com/zhaohui-yang/official-document-drafting/tree/main/skills/doc-type-routing into .gemini/skills/doc-type-routing/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "doc-type-routing", 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 doc-type-routingInstalls 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 doc-type-routing -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/doc-type-routing .github/skills/doc-type-routing && 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 "doc-type-routing" agent skill from https://github.com/zhaohui-yang/official-document-drafting/tree/main/skills/doc-type-routing into .github/skills/doc-type-routing/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "doc-type-routing", 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 doc-type-routing -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 doc-type-routing --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/doc-type-routing .opencode/skills/doc-type-routing && 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 "doc-type-routing" agent skill from https://github.com/zhaohui-yang/official-document-drafting/tree/main/skills/doc-type-routing into .opencode/skills/doc-type-routing/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "doc-type-routing", 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.
doc-type-routingDecides which type of Chinese official document to write and in which direction it travels, using three questions, before handing off to the drafting skill.
Choosing the wrong document type undermines everything after it, such as a report written as a request or a letter written as a notice. The skill narrows the choice with three questions: the direction of the document, meaning upward, downward, parallel or public; its purpose, such as asking for approval, reporting, deploying work, replying or announcing; and whether the other side must respond. A quick routing list then maps cases to types like request, reply, report, notice, letter, announcement, minutes and decision.
It also lists frequent mix-ups, including report versus request, decision versus resolution, circular versus public notice and why bodies without a reporting line always use a letter. The skill only judges type and direction and never writes the body, which goes to the drafting skill, and a later check goes to document-qa. The criteria come from two core prompt files that are also inlined in the offline system prompt. The SKILL.md is in Chinese.
3 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.
No scripts in the folder and no shell commands in SKILL.md.
From 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.
Official Document Type Routing loads about 441 tokens when it runs. Until then it costs about 39 tokens; SKILL.md has 77 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 77 words (~441 tokens).
Just SKILL.md in skills/doc-type-routing of zhaohui-yang/official-document-drafting.
Open the folder on GitHubat commit 6b4166a
Official Document Type Routing 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 |
|---|---|---|---|---|---|---|
| Official Document Type Routing this skillzhaohui-yang/official-document-drafting | 140 | — | ~441 | Automated safety check: Pass | Custom licence | |
| Bookforge Korean Ebook PDF Makergongnyang/bookforge | 316 | 1 repos | ~1.7k | Automated safety check: Pass | MIT | |
| Typst Authorjihe520/MathModelAgent | 6.2k | 1 repos | ~2.3k | Automated safety check: Pass | None | |
| Markdown to HTML ReportMegaSuperKitty/WeClaw | 370 | — | ~456 | Automated safety check: Pass | MIT | |
| Industry Bid Document WriterGet00/BiaoShu-SKILL | 173 | — | ~4.6k | Automated safety check: Pass | Apache-2.0 | |
| Video Transcript Report Builderimexlovery/video-report-agent | 195 | — | ~1.9k | Automated safety check: Pass | None |
gongnyang/bookforge
Produces book-style Korean ebook PDFs from a topic or finished manuscript, with six design styles, real book parts and quality-check gates before output.
jihe520/MathModelAgent
Generates, edits and debugs Typst (.typ) documents using the bundled Typst documentation as the source of truth, with formatting checks after each edit.
MegaSuperKitty/WeClaw
Drafts a report in Markdown with numbered inline citations and a references section, then renders it to a styled HTML file through a Jinja2 template on Windows.
Get00/BiaoShu-SKILL
Converts a tender document into Markdown, extracts scoring criteria and requirements, then drafts an industry-formatted technical bid as a Word file.
imexlovery/video-report-agent
Edits a video transcript or long text into a self-contained HTML reading report, organized by what the content is about instead of a fixed outline.
HybridAIOne/hybridclaw
Use Hermes3000 to plan, draft, revise, save, check consistency, and export long-form manuscripts through the Hermes3000 AI writing portal API.
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
Checks the structure and quality of a finished Chinese official document with a section-checking script and a manual checklist, without rewriting it.
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/ → 产物 的单一信息源构建范式。
Categories
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. Choosing the wrong document type undermines everything after it, such as a report written as a request or a letter written as a notice. The skill narrows the choice with three questions: the direction of the document, meaning upward, downward, parallel or public; its purpose, such as asking for approval, reporting, deploying work, replying or announcing; and whether the other side must respond.
Official Document Type Routing fits situations like: unsure whether to write a notice, report, request or letter; deciding whether a document goes upward, downward or across to a peer body; checking whether the other side must reply before drafting.
Run `npx skills add zhaohui-yang/official-document-drafting --skill doc-type-routing -a claude-code`. Or copy the skill folder (skills/doc-type-routing in zhaohui-yang/official-document-drafting) into .claude/skills/doc-type-routing in your project. Claude Code loads it when a task matches its description.
Run `npx skills add zhaohui-yang/official-document-drafting --skill doc-type-routing -a codex`. Or copy the skill folder (skills/doc-type-routing in zhaohui-yang/official-document-drafting) into .agents/skills/doc-type-routing 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 doc-type-routing -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/doc-type-routing, .gemini/skills/doc-type-routing, .github/skills/doc-type-routing and .opencode/skills/doc-type-routing in your project.
SKILL.md names no scripts, command-line tools or credentials: Official Document Type Routing is instructions for the agent only.
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.
Official Document Type Routing has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.
About 441 tokens (SKILL.md is roughly 1.8k 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 Official Document Type Routing: Bookforge Korean Ebook PDF Maker (gongnyang/bookforge, 316 stars), Typst Author (jihe520/MathModelAgent, 6.2k stars), Markdown to HTML Report (MegaSuperKitty/WeClaw, 370 stars) and Industry Bid Document Writer (Get00/BiaoShu-SKILL, 173 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.