Consume QQsci writing briefs

This commit is contained in:
qyh15 2026-05-27 22:44:13 +08:00
parent 9fcbc216ad
commit 04e7090f28
3 changed files with 45 additions and 4 deletions

View File

@ -10,6 +10,8 @@ template-adjust-docx
也就是根据本地模板库里的 `.docx` 模板,帮助用户调整论文主稿的结构和格式。 也就是根据本地模板库里的 `.docx` 模板,帮助用户调整论文主稿的结构和格式。
如果 QQsci 提供已经复核过的 `qqwrite_brief.json`QQwrite 可以用它来指导章节顺序、claim 放置、DOI 批注占位和缺失证据报告。
## 当前能力 ## 当前能力
- 读取用户提供的 manuscript `.docx` - 读取用户提供的 manuscript `.docx`
@ -17,6 +19,7 @@ template-adjust-docx
- 对比主稿和模板的标题页、摘要、关键词、章节顺序、标题层级、图表 caption、参考文献区和常见投稿字段 - 对比主稿和模板的标题页、摘要、关键词、章节顺序、标题层级、图表 caption、参考文献区和常见投稿字段
- 生成调整后的 Word 副本 - 生成调整后的 Word 副本
- 生成 Markdown 报告,说明调整内容和仍需作者确认的问题 - 生成 Markdown 报告,说明调整内容和仍需作者确认的问题
- 消费 QQsci 复核后的 `qqwrite_brief.json`
默认不覆盖原稿。 默认不覆盖原稿。
@ -38,9 +41,12 @@ QQwrite 负责 Word 模板库和模板化 `.docx` 调整。
推荐流程: 推荐流程:
1. QQsci 先判断文章逻辑、证据链、目标期刊和投稿包问题。 1. QQnote 生成候选文献笔记。
2. QQwrite 根据选定 Word 模板调整主稿格式。 2. QQsci 调用 DeepSeek 筛选强/弱相关文献。
3. QQsci 再复查调整后的整包一致性。 3. DeepSeek 生成 `qqwrite_brief.json` 初稿。
4. QQsci 复核 brief。
5. QQwrite 根据复核后的 brief 和 Word 模板调整主稿。
6. QQsci 再复查调整后的整包一致性。
## 安装位置 ## 安装位置

View File

@ -5,7 +5,7 @@ description: Adjust manuscript Word documents to match journal or group writing
# QQwrite # QQwrite
QQwrite is the Word-template execution skill for manuscript writing workflows. Its current scope is intentionally narrow: use a template from the local template library to adjust a user's manuscript Word file while preserving scientific meaning. QQwrite is the Word-template execution skill for manuscript writing workflows. Its current scope is intentionally narrow: use a template from the local template library to adjust a user's manuscript Word file while preserving scientific meaning. When available, consume a QQsci-checked `qqwrite_brief.json` to guide section order, claim placement, DOI placeholders, and missing-input reporting.
## Core Rule ## Core Rule
@ -31,6 +31,7 @@ For template handling details, read `references/template-adjustment.md`.
1. Identify inputs: 1. Identify inputs:
- source manuscript `.docx` - source manuscript `.docx`
- template `.docx` - template `.docx`
- optional QQsci-checked `qqwrite_brief.json`
- target journal or template name if provided - target journal or template name if provided
- output directory - output directory
@ -39,6 +40,7 @@ For template handling details, read `references/template-adjustment.md`.
- compare title page fields, abstract, keywords, main text, methods, references, captions, acknowledgements, and supporting information pointers - compare title page fields, abstract, keywords, main text, methods, references, captions, acknowledgements, and supporting information pointers
- inspect paragraph styles, table count, figure-caption patterns, references section, and obvious empty or duplicated sections - inspect paragraph styles, table count, figure-caption patterns, references section, and obvious empty or duplicated sections
- run `scripts/docx_template_audit.py` when a quick structural report is useful - run `scripts/docx_template_audit.py` when a quick structural report is useful
- if a `qqwrite_brief.json` is provided, read `references/brief-consumption.md`
3. Adjust only formatting and template structure unless the user explicitly asks for rewriting: 3. Adjust only formatting and template structure unless the user explicitly asks for rewriting:
- move or relabel sections to match the template - move or relabel sections to match the template
@ -62,6 +64,7 @@ For template handling details, read `references/template-adjustment.md`.
## Boundaries ## Boundaries
- QQwrite does not decide manuscript novelty, literature strength, or reviewer risk. Route those tasks to QQsci. - QQwrite does not decide manuscript novelty, literature strength, or reviewer risk. Route those tasks to QQsci.
- QQwrite does not generate or repair `qqwrite_brief.json`; DeepSeek drafts it and QQsci checks it.
- QQwrite does not generate Zotero/DeepSeek literature notes. Route those tasks to QQnote. - QQwrite does not generate Zotero/DeepSeek literature notes. Route those tasks to QQnote.
- QQwrite may lightly fix obvious Word-format inconsistencies, but substantial scientific rewriting belongs in QQsci or a future writing module expansion. - QQwrite may lightly fix obvious Word-format inconsistencies, but substantial scientific rewriting belongs in QQsci or a future writing module expansion.
- For citation suggestions inside Word, follow QQsci's DOI-only comment convention if the task explicitly involves citation comments. - For citation suggestions inside Word, follow QQsci's DOI-only comment convention if the task explicitly involves citation comments.

View File

@ -0,0 +1,32 @@
# Consuming QQwrite Briefs
Use this file when QQwrite receives a QQsci-checked `qqwrite_brief.json`.
## Role
The brief is a writing and formatting input, not a literature-screening task.
QQwrite must not reclassify strong/weak papers or invent missing evidence.
## How To Use The Brief
- Use `recommended_word_template` to select the template.
- Use `section_plan` to order manuscript sections and create headings.
- Use `central_claim`, `novelty_gap`, and `design_principle` to guide title,
abstract, introduction, and conclusion placement.
- Use `key_author_evidence` as the only source for experimental results and
mechanism claims.
- Use `claim_reference_map` to decide where DOI-only citation comments or
placeholders should appear.
- Use `must_not_overclaim` to avoid inflated wording.
- Use `missing_inputs` in the Markdown report and do not hide those gaps.
## Stop Conditions
Stop and route back to QQsci if:
- the brief is missing `central_claim`, `section_plan`, or
`claim_reference_map`
- the brief uses weak papers as direct benchmark papers
- a major claim has neither author evidence nor DOI support
- DOI strings appear malformed or inconsistent
- the requested template is not available in QQwrite's template library