Individual skill
government-writing
撰写规范的党政机关公文。当用户要"写/起草/拟一份 通知 / 意见 / 公文"时使用。当前内置文种:通知、意见,印发型主件支持办法/规定(法规体例;请示/报告/函可扩展,在 templates/ 增模板)。按《党政机关公文格式》GB/T 9704-2012 套发文字号、主送机关、层级序号、落款与固定话术,结构化内容经 gongwen MCP 渲染为合规 .docx。
pinvou3-app/src-tauri/resources/common/skill-marketplace/government-writing/SKILL.md
Source commit b7a814bc8b90987fff4443fc265fb36e3a435749
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- Yes
- Repository scan complete
- No
- Skill scan complete
- Yes
- Observed behavior
- Instructions only
- Last checked
- Nov 9, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 2,961
- Repository last updated
- Nov 10, 2026
- License
- MIT
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- ai-agent Repository topic
- automation Repository topic
- desktop-app Repository topic
- llm Repository topic
- local-first Repository topic
- mcp Repository topic
- open-source Repository topic
- react Repository topic
- rust Repository topic
- tauri Repository topic
- writing Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
SKILL.mdcore · 12,167 bytestemplates/办法.mddoc · 3,700 bytestemplates/意见.mddoc · 2,451 bytestemplates/通知.mddoc · 2,680 bytes
Read excerpt
# 党政机关公文写作
撰写规范的党政机关公文。当前内置文种:**通知、意见**;印发型通知的主件若是**办法/规定**(法规体例),另读 `templates/办法.md`。
## 总流程
1. **判文种** —— 据用户意图定文种(见分派表),读对应 `templates/<文种>.md`。
2. **采要素** —— 补齐七要素槽位,缺什么一次性问全(别挤牙膏)。
3. **填正文** —— 按模板骨架 + 层级序号体系撰写。
4. **套话术** —— 主送/承启/结尾/落款/公开方式用固定话术库。
5. **自检** —— 过"立账核账"清单逐项打勾。
6. **出件** —— 按**公文字段契约**(见下方)调 `mcp_gongwen_make_gongwen` 渲染合规 .docx → 拿到 path **必须再 `mcp_pinvou3_present_artifact(path, title)`** 上产物卡(普通模式的产物工具会在后端健康时随会话加载:工具列表里没有它时先 `tool_search` 激活;`tool_search` 返回 `mcp_boot` connecting(MCP 服务仍在启动)就等待数秒重试,connecting 消失后仍搜不到,才算产物卡后端本轮不可用——直接交付并在回复里说明产物卡不可用)。
- **依赖检查**:本技能靠『公文写作』MCP 出件。`mcp_gongwen_make_gongwen` 默认延迟加载——工具列表里没有它时先 `tool_search` 激活;`tool_search` 返回 `mcp_boot` connecting(MCP 服务仍在启动)就等待数秒重试,connecting 消失后仍搜不到才算不存在/不可用,**别硬拼纯文本冒充成品**——提示用户去插件中心·连接器页安装『公文写作』引擎,装好再出件。
- `make_gongwen` 出件前自带立账核账:若返回 `ok:false` 且 `blocked_by_validate`,说明有 error 级硬伤(正文为空 / 缺主送 / 缺成文日期等),**按 `issues` 补全字段后重调**,绝不跳过、绝不拿空壳去 present。
- .docx 是**二进制成品**:要改内容就改字段重调 `make_gongwen`,**绝不用 `read`/`edit` 去读写 .docx**(读不出文本是正常的)。