diff --git a/README.md b/README.md index 1fde7dc..80d4558 100644 --- a/README.md +++ b/README.md @@ -56,6 +56,10 @@ https://github.com/mizzlelover/gongwen-gbt9704-skill https://std.samr.gov.cn/gb/search/gbDetailed?id=lOIe27f77QU%3D&mode=p +## 最新更新 + +新版将普通材料、预印红头纸套打和完整电子红头分开处理,并补入 Word/WPS 的四级标题样式。完整的更新说明、实测范围和配图见[这次更新说明](marketing/x-v2-release.md)。 + ## 作者与同名内容 IP 这个项目由“谁是专家”持续维护。相关内容会记录 AI 工具、公文排版、正式材料和实际使用中的问题,欢迎从下面的入口找到我。 diff --git a/marketing/x-v2-release.md b/marketing/x-v2-release.md new file mode 100644 index 0000000..1bd8df1 --- /dev/null +++ b/marketing/x-v2-release.md @@ -0,0 +1,39 @@ +# 我把 Gongwen Skill 又审了一遍 + +![新版头图](../punk-assets/punk-cover/gongwen-skill-v2-x/cover.png) + +这次更新不是原本计划里的功能扩充。 + +我前几天刚好用到了上一版的红头文件规则,才发现自己一直沿用的办法很笨,也很稳。我会先把正文排好,手动换行,在首页上方留出空白,再把纸放进带红头的打印机里。红头纸上已经印好了机关名称和红线,电脑只负责把本次需要的黑色内容打进去。 + +红头这一块,我此前没有做过实体打印测试。它在旧版里本来就该保持保守。 + +![预印红头纸与文档留白](../punk-assets/punk-cover/gongwen-skill-v2-x/inline-preprinted-letterhead.png) + +结果旧版 Skill 自己生成了电子机关抬头和红色分隔线。我回头看它的版式,位置和间距也没有完全按规范走。这个问题让我停下来重新检查了一遍。 + +我最担心的不是一个红线位置。公文格式看起来全是小项,天头、订口、版心、页码、文号、签发人、附件、版记、横排表格,还有信函、命令和纪要,各自都有条件。此前的核对很可能在上下文很长时漏掉了部分条款。我没有理由把这种遗漏包装成已经全面合规。 + +![从条款逐项回到版式](../punk-assets/punk-cover/gongwen-skill-v2-x/inline-audit-to-layout.png) + +当时又正好赶上 GPT-6 Astra 发布前后。我在不同档位里遇到过明显的质量起伏,做上一版时也受过影响。这是我的使用观察,不足以说明任何模型的普遍状态。但它让我更愿意手动看文件、看规则、看最终页,而不是只看一段“校验通过”。 + +于是我把 GB/T 9704-2012 重新拉出来,逐项对照现有生成器、检查器和说明文档。漏掉的地方一项项补回去。 + +新版先把场景分开。普通报告、方案和汇报材料默认不画红头,即使内容里有单位名称。明确要制作正式发文时,才进入正式公文版式。红头默认按预印纸套打处理,首页预留区域,文档不重复画纸上已有的红色机关标志和红线。确实需要完整电子红头时,再显式开启。 + +![标题结构进入 Word 和 WPS](../punk-assets/punk-cover/gongwen-skill-v2-x/inline-heading-structure.png) + +另一个以前看上去没问题的缺口也补了。四级标题原先有字体和字号,却没有真正写进 Word 和 WPS 的标题样式。现在标题一到标题四都有样式和大纲级别。后续插目录、更新目录、跳转章节,文件终于能把自己的结构说清楚。 + +这次也重做了校验逻辑。它会根据普通材料、正式发文、信函、命令、纪要分别检查,不再拿一套机械条件去误判所有文档。TraeWork 的安装包也重新打包,里面没有留下之前的审查记录。 + +我已经验证了普通稿、预印红头纸套打稿和完整电子红头稿的 DOCX 结构与 PDF 渲染,也跑过了 Codex、Claude Code、OpenCode、Trae Code、Kimi、TraeWork、WorkBuddy、ZCode 的安装测试。 + +至于实体红头纸,我还是只说已经做到的部分。Skill 可以按纸样设置首页预留高度,真正套准还要在各单位的纸张和打印机上试一次。这不是推责,恰好是这类工具该保留的边界。 + +项目已经更新到 GitHub。若你拿它打印过红头纸,或者在 Word、WPS 里发现了目录、字体和分页问题,欢迎直接提 issue。这个 Skill 很小,对我却是实打实要用的东西。我想把它做成一个让人能放心继续改、继续打印的排版工具。 + +GitHub + +https://github.com/mizzlelover/gongwen-gbt9704-skill diff --git a/punk-assets/punk-cover/gongwen-skill-v2-x/cover.png b/punk-assets/punk-cover/gongwen-skill-v2-x/cover.png new file mode 100644 index 0000000..874bdb1 Binary files /dev/null and b/punk-assets/punk-cover/gongwen-skill-v2-x/cover.png differ diff --git a/punk-assets/punk-cover/gongwen-skill-v2-x/inline-audit-to-layout.png b/punk-assets/punk-cover/gongwen-skill-v2-x/inline-audit-to-layout.png new file mode 100644 index 0000000..a363d85 Binary files /dev/null and b/punk-assets/punk-cover/gongwen-skill-v2-x/inline-audit-to-layout.png differ diff --git a/punk-assets/punk-cover/gongwen-skill-v2-x/inline-heading-structure.png b/punk-assets/punk-cover/gongwen-skill-v2-x/inline-heading-structure.png new file mode 100644 index 0000000..5504da2 Binary files /dev/null and b/punk-assets/punk-cover/gongwen-skill-v2-x/inline-heading-structure.png differ diff --git a/punk-assets/punk-cover/gongwen-skill-v2-x/inline-preprinted-letterhead.png b/punk-assets/punk-cover/gongwen-skill-v2-x/inline-preprinted-letterhead.png new file mode 100644 index 0000000..f92d116 Binary files /dev/null and b/punk-assets/punk-cover/gongwen-skill-v2-x/inline-preprinted-letterhead.png differ diff --git a/punk-assets/punk-cover/gongwen-skill-v2-x/prompts/cover.md b/punk-assets/punk-cover/gongwen-skill-v2-x/prompts/cover.md new file mode 100644 index 0000000..ca52606 --- /dev/null +++ b/punk-assets/punk-cover/gongwen-skill-v2-x/prompts/cover.md @@ -0,0 +1,11 @@ +# 咨询报告视觉 cover prompt + +Create one X article cover image in a 5:2 wide horizontal ratio. Use the consulting-report visual language as a strict Swiss modernist editorial system. Build the entire image on an off-white matte paper field with a deep navy and cool-black typographic hierarchy, fine gray construction lines, one small ultramarine-blue accent, and generous but designed negative space. + +The article is about a public update to Gongwen Skill after a real red-letterhead failure revealed that a previous version generated an electronic red masthead and divider even when the practical workflow should reserve a blank top area for preprinted letterhead paper. The updated skill separates ordinary materials, preprinted-letterhead overprint output, and explicit electronic-letterhead output. It also writes four levels of actual Word and WPS heading styles so an automatic table of contents works. + +Use this title hierarchy in Simplified Chinese. A-layer main title must be fully readable and exact: 重新核对. B-layer complete title must be fully readable: Gongwen Skill 这次更新了什么. C-layer small report line: 红头纸套打、标题结构与 GB/T 9704-2012. Small edge label: OPEN SOURCE / 2026. + +Make the two large characters 重新 the visual center. Rebuild their strokes as a measured calibration path. A single ultramarine line crosses a white A4 sheet at the right, stops at a thin reserved top zone, then continues as a clean heading outline system below. The paper carries only abstract black text bars, four quiet structural heading levels and one small blue calibration point. The visual metaphor is a document being brought back onto its true grid after an incorrect red-header path has been removed. Do not show a real government emblem, a seal, a readable document number, a red masthead, or a literal printer. + +The main title must be embedded in the grid and structural path, not pasted on as a caption. Use a narrow report header and footer, a few tiny coordinate marks, hairline rules and a restrained field of perspective lines. Keep the composition more spacious than dense. Avoid a PPT layout, dashboard, explanatory infographic, office scene, generic AI art, gradients, cyberpunk effects, extra-bold social-poster text, fake dense data, misspelled Chinese, cropped titles, or unrelated decoration. diff --git a/punk-assets/punk-cover/gongwen-skill-v2-x/prompts/inline-audit-to-layout.md b/punk-assets/punk-cover/gongwen-skill-v2-x/prompts/inline-audit-to-layout.md new file mode 100644 index 0000000..5626d78 --- /dev/null +++ b/punk-assets/punk-cover/gongwen-skill-v2-x/prompts/inline-audit-to-layout.md @@ -0,0 +1,7 @@ +# 咨询报告视觉 editorial illustration + +Create one text-free editorial illustration for an X article in a 5:3 horizontal ratio. Use the same Swiss modernist consulting-report visual language. Off-white matte paper, deep navy and black, fine gray grid lines, one ultramarine-blue accent, designed negative space. + +Build a single visual metaphor for a clause-by-clause audit. On the left, a sparse vertical stack of narrow black rule bars and small measurement ticks forms a disciplined source column. A thin blue line leaves that column, crosses one clearly visible threshold line in the center, and reaches a clean A4 document on the right. On the document, margins, page-number position, a reserved top zone, a thin footer line and a few abstract heading bars snap exactly into place. The blue line should visibly become part of the document grid. + +No readable text, no real standards pages, no government emblem, no red header, no seal, no dashboards, no flowchart steps, no generic AI illustration, no gradients, no clutter. diff --git a/punk-assets/punk-cover/gongwen-skill-v2-x/prompts/inline-heading-structure.md b/punk-assets/punk-cover/gongwen-skill-v2-x/prompts/inline-heading-structure.md new file mode 100644 index 0000000..ea1a969 --- /dev/null +++ b/punk-assets/punk-cover/gongwen-skill-v2-x/prompts/inline-heading-structure.md @@ -0,0 +1,7 @@ +# 咨询报告视觉 editorial illustration + +Create one text-free editorial illustration for an X article in a 5:3 horizontal ratio. Use an off-white paper ground, deep navy and cool-black linework, strict Swiss modular grid, fine gray construction rules and one controlled ultramarine-blue accent. + +Show a white A4 document from a nearly top-down angle. Four nested, left-aligned heading blocks descend down the page with visibly different but restrained levels. Each block is connected by an ultramarine-blue vertical outline rail on the left, then a dotted blue line travels toward a small, clean table-of-contents card at the far right. The four blocks should read as editable document structure, not as a process diagram. The visual metaphor is a document revealing its internal hierarchy. + +No readable text, no numbers, no logos, no Microsoft or WPS marks, no generic UI screen, no dashboard, no gradients, no people, no decorative clutter. diff --git a/punk-assets/punk-cover/gongwen-skill-v2-x/prompts/inline-preprinted-letterhead.md b/punk-assets/punk-cover/gongwen-skill-v2-x/prompts/inline-preprinted-letterhead.md new file mode 100644 index 0000000..7e2bf7d --- /dev/null +++ b/punk-assets/punk-cover/gongwen-skill-v2-x/prompts/inline-preprinted-letterhead.md @@ -0,0 +1,7 @@ +# 咨询报告视觉 editorial illustration + +Create one text-free editorial illustration for an X article in a 5:3 horizontal ratio. Apply a Swiss modernist consulting-report visual system with an off-white paper ground, deep navy and cool-black geometry, a precise modular grid, restrained thin gray rules, and exactly one small ultramarine-blue accent. + +Show one white A4 sheet entering a printer tray from the lower right. The upper third of the sheet is intentionally blank and precisely measured, marked only by pale construction lines and a small blue calibration dot. Above it, a separate preprinted-paper layer is suggested by a narrow red strip seen only as an abstract edge outside the document, never as a government emblem or readable letterhead. Below the reserved zone, tidy black document-number bars and body bars align to the grid. The idea is that the document leaves room for the physical red-letterhead paper instead of drawing it again. + +Keep it editorial, tactile, quiet and spatially sparse. No words, numbers, logos, seals, real official symbols, dashboards, photos of people, gradients, generic printer iconography or explanatory arrows.