Commit cf386f9
按真实部委级样例优化全部 22 文种撰写思路,并补「按模式取材」内容来源
撰写思路(22 文种 spec.md 的 ## 撰写思路,逐一对标 .gov.cn 真实样例后
grounded 优化,只动该段):
- 报告:补制式/年度报告子类(依据式起笔、固定栏目、统计表、篇幅上限)。
- 通知:多行机关序列主送、引会议/文号起笔、平行分条不必套三段式。
- 请示:「拟」字诀、一般不抄送下级、结语场景细分。
- 批复/通报/公告/决定:补「末尾未必『特此X』,收束后直接落款」等真实写法。
- 决定:公布式开门见山 vs 缘由式两路;意见:条款跨节连续编号、事理定调式起笔。
- 命令:公布令固定句式 + 令号/签署人;决议:必经会议表决「通过说明行」(vs 决定可径发)。
- 议案/公报/纪要/函/回复函及简报、专报、汇报材料、总结、方案、讲话稿均按
真实样例补全架构、起笔、结尾、篇幅与易混点。取证以 .gov.cn 可核实来源为准,
全文稀缺者依《党政机关公文处理工作条例》等通则并如实说明,未编造冒充。
内容取材(按运行模式,通用层,守单一信息源):
- prompts/core/workflow.md 判断流程新增第 7 步「内容取材(按模式)」:联网模式
主动检索权威来源、核实记来源/日期、要点写进 materials.md 再起草;单机/离线
模式只据用户材料与本地 raw-materials 提炼,不补网络信息、缺则占位待核实。
- assets/templates/draft-request.md 增「内容获取」配置项与「内容来源」二选一字段。
同步重建在线/离线产物;--check(skill 54 / offline 67)、ruff、pytest 62 均通过。
(本地迭代沉淀目录 _loop-沉淀/ 已 gitignore,不入库。)
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent f4e03ee commit cf386f9
93 files changed
Lines changed: 877 additions & 381 deletions
File tree
- assets/templates
- dist
- offline/default
- doc-types
- announcement-公告
- approval-批复
- briefing-简报
- circular-通报
- communique-公报
- decision-决定
- letter-函
- minutes-纪要
- motion-议案
- notice-通知
- opinion-意见
- order-命令(令)
- presentation-汇报材料
- public-notice-通告
- reply-回复函
- report-报告
- request-请示
- resolution-决议
- special-report-情况专报
- speech-讲话稿
- summary-工作总结
- work-plan-工作方案
- skill/references
- prompts
- core
- doc-types
- announcement-公告
- approval-批复
- briefing-简报
- circular-通报
- communique-公报
- decision-决定
- letter-函
- minutes-纪要
- motion-议案
- notice-通知
- opinion-意见
- order-命令(令)
- presentation-汇报材料
- public-notice-通告
- reply-回复函
- report-报告
- request-请示
- resolution-决议
- special-report-情况专报
- speech-讲话稿
- summary-工作总结
- work-plan-工作方案
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
25 | | - | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
26 | 29 | | |
27 | 30 | | |
28 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
65 | 69 | | |
66 | 70 | | |
67 | 71 | | |
| |||
342 | 346 | | |
343 | 347 | | |
344 | 348 | | |
345 | | - | |
346 | | - | |
347 | | - | |
348 | | - | |
349 | | - | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
350 | 355 | | |
351 | 356 | | |
352 | 357 | | |
| |||
Lines changed: 10 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
63 | 67 | | |
64 | 68 | | |
65 | 69 | | |
| |||
340 | 344 | | |
341 | 345 | | |
342 | 346 | | |
343 | | - | |
344 | | - | |
345 | | - | |
346 | | - | |
347 | | - | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
348 | 353 | | |
349 | 354 | | |
350 | 355 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
65 | 69 | | |
66 | 70 | | |
67 | 71 | | |
| |||
342 | 346 | | |
343 | 347 | | |
344 | 348 | | |
345 | | - | |
346 | | - | |
347 | | - | |
348 | | - | |
349 | | - | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
350 | 358 | | |
351 | 359 | | |
352 | 360 | | |
| |||
Lines changed: 13 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
63 | 67 | | |
64 | 68 | | |
65 | 69 | | |
| |||
340 | 344 | | |
341 | 345 | | |
342 | 346 | | |
343 | | - | |
344 | | - | |
345 | | - | |
346 | | - | |
347 | | - | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
348 | 356 | | |
349 | 357 | | |
350 | 358 | | |
| |||
0 commit comments