A Codex skill for drafting, standardizing, and exporting Chinese official documents and formal reports to Markdown and Word (.docx).
Supply asset profile
Deep research, source comparison, literature review, RAG, knowledge search, and reports.
Scenario
Document processing
I need my agent to read PDFs, extract tables, and turn documents into structured data.
Agent fit
Claude Code + OpenAI Agents + CLI
Codex, Claude Code, Cursor, CLI, or custom agents.
Install
Ready
npx skills add zhaohui-yang/official-document-drafting
Maintenance
fresh
10d since push
Risk
Needs review
License is unclear
GitHub quality
74
71/100 quality · 77/100 trust
Coverage tags
Review notes
License is unclear · Quality score needs review
Agent adoption scorecard
These scores combine public repository metadata, OpenAgentSkill review signals, maintenance freshness, and install readiness. They are a shortlist signal, not a replacement for human review.
Quality
StrongSolid option that is likely worth shortlisting for production workflows.
Trust
Sandbox onlyUseful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
Audit
Needs reviewInstall readiness, security metadata, maintenance, and adoption risk.
Trust Score v5
Run only in a sandbox and compare close alternatives before using it for real work.
Stars
74 GitHub stars
Repo activity
74 stars, 11 forks
Maintenance
10d since push
License
Unknown
Install
npx skills add zhaohui-yang/official-document-drafting
Install safety
standard package or runtime install path
Permission surface
filesystem or document access
Agent outcomes
No agent outcome data yet
Docs
Strong README/SKILL.md context
Risk summary
Install readiness
Agent-readable metadata
Use this block or the embedded JSON to decide whether an agent should install this skill, choose an alternative, or ask for human review first.
Suited tasks
Suited agents
Install decision
Trust and risk
Outcome loop
Install command
npx skills add zhaohui-yang/official-document-draftingDo not use when
Agent safety v2
Usable candidate, but the agent should surface permission and audit notes before installation.
Require human approval before installing into a real workspace.
medium
Skill likely fetches remote pages, APIs, repositories, or external services.
medium
Skill may read or write project files, documents, generated artifacts, or local workspace state.
Install targets
Copy the registry command or an agent-specific install prompt for Codex, Claude Code, and Cursor.
Use the registry command when your workflow supports the OpenAgentSkill installer.
$ npx skills add zhaohui-yang/official-document-draftingAgent resolve plan
The Resolve API returns the selected skill, alternatives, safety policy, audit notes, install target, and copy-paste prompt an agent can follow without scraping this page.
Resolve JSON
/api/agent/resolve?task=Use%20Official%20Document%20Drafting%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Resolve text
/api/agent/resolve?task=Use%20Official%20Document%20Drafting%20for%20an%20agent%20workflow&agent=codex&max_risk=medium&format=text
Install handoff
/api/skills/zhaohui-yang-official-document-drafting/install
Agent should check
Copy prompt
Task: Use Official Document Drafting in this workspace.
Resolve first: https://www.openagentskill.com/api/agent/resolve?task=Use%20Official%20Document%20Drafting%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Review install handoff: https://www.openagentskill.com/api/skills/zhaohui-yang-official-document-drafting/install
Install command: npx skills add zhaohui-yang/official-document-drafting
Before running it, summarize audit warnings, required permissions, and the fallback skill if install is risky.Agent handoff
Use the public install endpoint to fetch the command, safety checklist, target prompts, and canonical links for this skill.
Install handoff
/api/skills/zhaohui-yang-official-document-drafting/install
LLM text format
/api/skills/zhaohui-yang-official-document-drafting/install?format=text
Find alternatives
/api/skills/search?q=Official%20Document%20Drafting&limit=3
Agent prompt
Use Official Document Drafting for this task. Review https://www.openagentskill.com/api/skills/zhaohui-yang-official-document-drafting/install, then install with: npx skills add zhaohui-yang/official-document-draftingRegistry metadata
This page exposes the same decision, trust, audit, use-case, and install signals through the Registry API, so agents can rank this skill without scraping the UI.
Manifest
/api/registry/manifest/zhaohui-yang-official-document-drafting
LLM text
/api/registry/manifest/zhaohui-yang-official-document-drafting?format=text
Install alias
/api/registry/install/zhaohui-yang-official-document-drafting
Recommend
/api/registry/recommend?task=Use%20Official%20Document%20Drafting%20in%20an%20agent%20workflow&limit=3
Agent fit
Document processing
Use-case tags
Platforms
Python, Claude Code, OpenAI Agents
Audit report
Review install readiness, maintenance, trust, quality, and metadata warnings before adding this skill to an agent workflow.
Agent decision cockpit
Prototype with this skill first; keep a fallback candidate ready.
Role in stack
Fallback candidate
Primary fit
Document processing
Trust label
Prototype first
Install path
Command ready
Use when
Evidence
Review first
Implementation path
Trust profile
Useful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
GitHub adoption
CHECK74 GitHub stars
Stars/forks activity
CHECK74 stars, 11 forks; issue activity unavailable in current metadata
Recent maintenance
PASS10d since push
License clarity
CHECKUnknown
Good signals
Review before install
Recommended action
Run only in a sandbox and compare close alternatives before using it for real work.
Quality profile
Solid option that is likely worth shortlisting for production workflows.
Workflow fit
Parse messy files
I need my agent to read PDFs, extract tables, and turn documents into structured data.
Operate web apps
I need my agent to control a browser, fill forms, and verify web app workflows.
Verify behavior
I need my agent to test a web app, reproduce bugs, and verify fixes.
Stack fit
Operate and verify web apps
A stack for agents that navigate products, fill forms, take screenshots, and verify real user flows across web applications.
Scrape, clean, and reuse web data
A practical stack for agents that crawl public pages, extract clean content, normalize data, and hand it to downstream research or RAG workflows.
Inspect, patch, and verify code
A stack for software agents that inspect repositories, review pull requests, generate tests, and turn findings into shippable patches.
Alternative shortlist
Similar skills in this category, ranked with the same readiness and quality signals.
Official Lark/Feishu CLI tool with 200+ commands and 26 AI agent skills, designed for agent-native operation and easy integration with AI runtimes.
An AI agent skill that generates editable web-based PPT presentations with 12 themes, 1020 layouts, and one-click PPTX export.
A comprehensive set of 38 marketing skills and 5 commands for Claude Code covering SEO/GEO and influencer marketing with evaluation frameworks.
AI agent skill that reads academic papers and generates structured Obsidian notes.
# 公文写作 Skill
> 一句话:把你的素材和要求交给 AI,让它按国家《党政机关公文格式》(GB/T 9704-2012)的规范,帮你起草报告、通知、请示、纪要等 **22 种**公文与正式材料,并可导出 Word。
<a id="quickstart"></a>
## 零、快速上手:先对号入座
不确定从哪开始?**先看你手上是什么工具**,对号入座走一条路就行。三条路最终遵循的是同一套公文规范,区别只在「怎么把规则喂给 AI」。
**先看你手上是什么工具**,对号入座走对应一条路。三条路遵循同一套公文规范,区别只在「怎么把规则喂给 AI」。完整操作步骤见 **[二、使用](#usage)**。
| 你的工具 | 怎么用(一句话) | 详细步骤 | |---|---|---| | **能装 skill**(Codex / Claude Code) | 装一次,之后对话里触发 `/official-document-drafting` 直接说要写什么,无需复制提示词 | [一、安装](#install) → [二 ·(一)](#usage) | | **网页版 AI**(DeepSeek 网页版 / 文心 / Kimi,能联网) | 不用安装,复制对应文种现成 `prompt.md` 粘进对话框,让它联网搜资料 | [二 ·(二)](#usage) | | **内网离线**(本地 WebUI / Qwen / AnythingLLM) | 同一批 `prompt.md`,但素材要你自己准备好一起喂;有 Python 还能用 `build.py` 按素材现拼 | [二 ·(三)](#usage) |
> **现成提示词直达**:[报告](./dist/offline/default/doc-types/report-%E6%8A%A5%E5%91%8A/prompt.md) / [通知](./dist/offline/default/doc-types/notice-%E9%80%9A%E7%9F%A5/prompt.md) / [请示](./dist/offline/default/doc-types/request-%E8%AF%B7%E7%A4%BA/prompt.md) / [纪要](./dist/offline/default/doc-types/minutes-%E7%BA%AA%E8%A6%81/prompt.md)([全部文种](./dist/offline/default/doc-types/));想先看完整效果就翻 [样例/](./样例)。成稿要 Word 时见 [五、Word 导出与版式](#word-export)。
### 这个仓库里,哪些文件夹是给你用的?
| 文件夹 / 文件 | 是什么 | 你要不要管 | |---|---|---| | `dist/offline/default/doc-types/<文种>/prompt.md` | **现成提示词**,复制即用 | ✅ 模式二/三 从这里复制 | | `样例/` | **完整样例**走一遍(任务 → 素材 → 提示词 → 成稿 → Word);分 `online/` 联网(模式一、二)和 `offline/` 离线(模式三) | ✅ 想看效果就翻这里 | | `assets/templates/` | 各文种**空白模板**(骨架) | ✅ 可选参考 | | `SKILL.md`、`dist/skill/` | 给「能装 skill 的工具」用的入口 | ✅ 模式一 | | `docs/` | 详细规则说明(版式、文种辨析等) | 📖 想深入再看 | | `skills/` | 各项能力的**路由说明**(进阶) | 📖 进阶 | | `prompts/` | 规则**主源**(维护者在这里改规则) | ⚙️ 内部,日常不用动 | | `src/` | 构建与 Word 导出的**代码** | ⚙️ 内部(只在导出 Word 时会用到) | | `dist/` | 由主源**自动生成**的产物(`prompt.md` 就在它下面) | ⚙️ 自动生成,别手改 | | `tests/` | 自动化测试 | ⚙️ 内部,不用管 |
> **名字怎么区分**:**`样例/`** = 完整跑通的成品(任务 → 素材 → 提示词 → 成稿 → Word,给你看效果);**范文** = `prompts/.../examples.md` 里喂给 AI 的片段;**`skills/`** = 各项能力的路由说明。三者不是一回事,别混。
<a id="install"></a>
## 一、安装
### (一)在线工具中的 Sk
Frameworks & Tools
Decision snapshot
recent repository activity
Audit snapshot
Install and adoption review
Agent-proven evidence
Outcome reports after resolve, review, install, and one narrow run.
No agent outcome data yet. The first agent run can report success, setup needs, risk blocks, failure, or not-relevant through /api/agent/outcome.
Install
Free and open source. Review the audit before production use.
Growth loop
Scenario-led draft for Official Document Drafting, ready for a manual X post.
Most coding agents don't fail from lack of model power. They fail when repo context disappears. Official Document Drafting gives coding agents a repeatable way to plan, pa... 74 stars https://www.openagentskill.com/skills/zhaohui-yang-official-document-drafting?ref=x #AIAgents
Listing + install path for Official Document Drafting: https://www.openagentskill.com/skills/zhaohui-yang-official-document-drafting?ref=x Install: npx skills add zhaohui-yang/official-document-drafting
Listing source
This listing was indexed from public sources and is not marked official until a maintainer claim is approved.
Attribution links to the public repository or creator profile. Creators can claim the listing to update ownership signals.
Claim this skillOwner claim
This community indexed listing is attributed to zhaohui-yang but is not marked official yet. Claim it to add a verified owner signal and make future launch, install, and audit updates easier to trust.
Creator backlink kit
Show the canonical listing, current trust and audit signals, and real Agent Proven evidence where developers evaluate the repository.
[](https://www.openagentskill.com/skills/zhaohui-yang-official-document-drafting)
[](https://www.openagentskill.com/skills/zhaohui-yang-official-document-drafting)
[](https://www.openagentskill.com/skills/zhaohui-yang-official-document-drafting/audit)
[](https://www.openagentskill.com/skills/zhaohui-yang-official-document-drafting)zhaohui-yang
@zhaohui-yang
Share whether this skill looks useful for your agent workflow. Aggregated feedback improves rankings over time.
Sandbox only
Cli
Official Lark/Feishu CLI tool with 200+ commands and 26 AI agent skills, designed for agent-native operation and easy integration with AI runtimes.
15.7K stars · 0 installsDashiAI Ppt Skill
An AI agent skill that generates editable web-based PPT presentations with 12 themes, 1020 layouts, and one-click PPTX export.
3.8K stars · 0 installsAaron Marketing Skills
A comprehensive set of 38 marketing skills and 5 commands for Claude Code covering SEO/GEO and influencer marketing with evaluation frameworks.
2.4K stars · 0 installsDeepPaperNote
AI agent skill that reads academic papers and generates structured Obsidian notes.
531 stars · 0 installs