本技能提供党政机关公文写作的完整指南,涵盖格式规范、常用模板、写作技巧和质量检查,确保公文格式正确、语言规范、结构清晰。
Works with
AI-first code editor with Composer
Before installing skills in Cursor, ensure your development environment meets these requirements:
node --versionofficial-document-writingExecute the skills CLI command in your project's root directory to begin installation:
Fetches official-document-writing from kagurananaga/official-document-writing-skill and configures it for Cursor.
The CLI shows a list of agents. Use arrow keys and space to select Cursor:
Confirm successful installation by checking the skill directory location:
Restart Cursor to activate official-document-writing. Access via /official-document-writing in your agent's command palette.
We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.
Skills execute code in your environment. Always review source, verify the publisher, and test in isolation before production.
Submit your Claude Code skill and start earning
Automate repetitive workflows and reduce manual effort
Example
Generate reports, summarize documents, draft communications
Save 3-5 hours per week on routine tasks
Learn new skills, understand complex topics, get expert guidance
Example
Explain concepts, provide examples, suggest learning resources
Accelerate learning and skill development by 2x
Enhance output quality through reviews, suggestions, and refinements
Example
Review drafts, suggest improvements, catch errors
Improve work quality by 30-40% with less effort
11
total installs
11
this week
28
GitHub stars
0
upvotes
Run in your terminal
11
installs
11
this week
28
stars
本技能提供党政机关公文写作的完整指南,涵盖格式规范、常用模板、写作技巧和质量检查,确保公文格式正确、语言规范、结构清晰。
当用户使用本技能时,将会:
本技能适用于处理以下公文写作需求:
当用户需要新写一份公文时,协助选择文种、提供模板、指导写作。
操作流程:
当用户已有公文初稿,需要修改完善时,提供修改建议。
操作流程:
当用户已完成公文,需要检查是否符合GB/T 9704-2012标准。
操作流程:
当用户需要学习公文写作方法、技巧时,提供指导。
操作流程:
对公文进行全面审核,包括格式、内容、语言、逻辑等方面。
操作流程:
需求确认 → 文种选择 → 模板应用 → 内容写作 → 质量检查
详细步骤:
1. 需求确认:了解公文目的、使用场景、具体内容要求
- 询问用户:公文用途是什么?
- 询问用户:收文对象是谁?
- 询问用户:核心内容是什么?
2. 文种选择:根据用途选择合适的公文文种
- 向上级请求批准:请示
- 向下级布置工作:通知
- 平行单位商洽工作:函
- 总结工作情况:总结
- 记录会议内容:纪要
- 汇报工作情况:报告
3. 模板应用:根据文种选择对应模板
- 参考:references/document-templates.md
- 提供模板框架
- 说明各部分填写要求
4. 内容写作:指导用户填写具体内容
- 提供写作要点
- 注意语言规范
- 避免常见错误
5. 质量检查:对照清单检查公文质量
- 使用:checklists/quality-checklist.md
- 逐项核对
- 标注需要修改的地方
针对不同文种的快速写作要点:
请示写作要点:
通知写作要点:
函写作要点:
总结写作要点:
纪要写作要点:
本技能提供的格式规范严格遵循GB/T 9704-2012《党政机关公文格式》国家标准。
纸张与版面:
字体字号:
| 要素 | 字体 | 字号 | 说明 |
|---|---|---|---|
| 发文机关标志 | 小标宋体 | 自定 | 红色 |
| 文件标题 | 小标宋体 | 2号 | 居中 |
| 正文 | 仿宋_GB2312 | 3号 | 主体 |
| 第一层次标题 | 黑体 | 3号 | "一、" |
| 第二层次标题 | 楷体_GB2312 | 3号 | "(一)" |
| 发文字号 | 仿宋_GB2312 | 3号 | 六角括号 |
结构层次序数:
一、第一层次(黑体)
(一)第二层次(楷体_GB2312)
1. 第三层次(仿宋_GB2312)
(1)第四层次(仿宋_GB2312)
日期与文号:
完整格式规范请参考: 📄 GB/T 9704-2012标准详解(完整版)
内容包括:
本技能提供以下常用公文的详细模板和示例:
用途:向上级机关请求指示、批准
模板要点:
[发文机关]关于[事由]的请示
[主送机关]:
根据[依据],现将有关问题请示如下:
一、[情况说明]
二、[请求事项]
妥否,请批示。
[发文机关]
[成文日期]
案例示例:
用途:批转、转发、传达事项,要求执行
模板要点:
[发文机关]
关于[事由]的通知
[主送机关]:
根据[依据]。现将有关事项通知如下:
一、[通知事项1]
二、[通知事项2]
特此通知。
[发文机关]
[成文日期]
案例示例:
用途:不相隶属机关之间商洽、询问、答复
类型:
模板要点:
[发文机关]关于[事由]的函
[主送机关]:
[发函依据]。现将有关事项说明如下:
一、[事项1]
请予函复。
[发文机关]
[成文日期]
用途:对一定时期内工作的回顾和评价
类型:
模板要点:
[单位名称][年份]工作总结
[引言]:
[年份]年在[上级]领导下,[总体成绩]。现将工作总结如下:
一、[成绩1]
二、[成绩2]
[存在的问题]
[今后打算]
[发文机关]
[成文日期]
用途:记载会议情况和议定事项
模板要点:
[会议名称]纪要
时间:[日期]
地点:[地点]
主持人:[姓名]
出席:[人员名单]
请假:[人员名单]
列席:[人员名单]
[会议内容]
[印发机关]
[成文日期]
用途:向上级汇报工作、反映情况
类型:
详细模板和示例请参考: 📄 常用公文模板详解(含30+实例)
内容包括:
公文语言应当准确、平实、简明、庄重。
1. 准确
2. 平实
3. 简明
4. 庄重
标题拟定六看:
经验提炼四步法:
常用规范用语:
完整写作技巧和用语规范请参考: 📄 公文写作技巧指南(完整版)
内容包括:
当公文完成后,使用此清单进行全面质量检查。
1. 格式检查项目(40+项)
2. 内容检查项目(30+项)
3. 语言检查项目(40+项)
4. 逻辑检查项目(10+项)
5. 细节检查(20+项)
6. 发文前确认(10+项)
完整质量检查清单请参考: ✅ 公文质量检查清单(100+检查项)
特色功能:
📚 标准规范类
📚 模板示例类
📚 写作技巧类
📋 检查工具类
原始参考文档:
根据用户具体需求提供相应内容:
首次咨询时:
深入咨询时:
模板和示例需要根据实际情况调整:
始终强调质量检查的重要性:
鼓励用户通过以下方式提升:
本技能基于以下技术资源:
版本信息:
场景1:"帮我写一份请示"
场景2:"检查这份公文格式"
场景3:"这份通知哪里不对"
场景4:"怎么写好公文标题"
技能组合使用:
本技能致力于帮助用户:
Prerequisites
Time Estimate
15-45 minutes depending on use case complexity
Steps
Common Pitfalls
✓ Do
✗ Don't
💡 Pro Tips
✓ Use when
Use when skill capabilities match your task, clear ROI on time saved, and you can validate outputs. Best for repetitive tasks, learning, and quality improvement.
✗ Avoid when
Avoid when task requires deep expertise you can't validate, involves sensitive decisions, or when learning process is more valuable than speed of completion.
sammcj/agentic-coding
travisjneuman/.claude
davila7/claude-code-templates
hvpandya/stop-slop
ityes22/game-design-document
exampleUser/edit-article-skill
Keeps context tight: official-document-writing is the kind of skill you can hand to a new teammate without a long onboarding doc.
Registry listing for official-document-writing matched our evaluation — installs cleanly and behaves as described in the markdown.
We added official-document-writing from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
Registry listing for official-document-writing matched our evaluation — installs cleanly and behaves as described in the markdown.
Keeps context tight: official-document-writing is the kind of skill you can hand to a new teammate without a long onboarding doc.
official-document-writing reduced setup friction for our internal harness; good balance of opinion and flexibility.
official-document-writing is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
Useful defaults in official-document-writing — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
Solid pick for teams standardizing on skills: official-document-writing is focused, and the summary matches what you get after install.
We added official-document-writing from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
showing 1-10 of 40