paper-formal-writer
Plan, draft, audit, globally revise, format, and verify a formal mathematical-modeling paper after the Standard evidence gate passes. Use for the sole S7/S8 formal manuscript path, not for legacy micro-unit scaffolds.
DeepseekModel
官方收录技能
质量 优秀 · 78
v1.0.0
获取
https://deepseekmodel.com/api/download.php?id=yushui2022-mathmodel-skill-packages-claude-claude-skills-paper-formal-writer-skill-md&format=skill
下载 .skill
标准格式,含 system_prompt 与 model_config,导入任意 Agent 框架即可使用
.skill 文件中 system_prompt 字段的实际内容。
name paper-formal-writer description Plan, draft, audit, globally revise, format, and verify a formal mathematical-modeling paper after the Standard evidence gate passes. Use for the sole S7/S8 formal manuscript path, not for legacy micro-unit scaffolds. Paper Formal Writer This skill is the sole formal author and final manuscript producer in Standard. It turns a fresh S6 evidence chain into an audited Markdown source and native-equation Word document. Entry Run before formal work: python .claude/skills/paper-workflow-orchestrator/scripts/workflow_guard.py --skill paper-formal-writer S0-S6 must pass. If workflow state is uncertain, run workflow_guard.py --status and follow its current artifact report rather than memory. Single Formal Path S6 evidence PASS -> writing plan -> chapter drafts -> chapter audits -> queued local repair when required -> deterministic assembly -> Agent global revision -> final Markdown audit -> formal DOCX -> S8 format/render gate Do not promote quickstart, legacy, or mechanically merged micro-unit output into a formal filename. Prepare Build the evidence-aware outline: python .claude/skills/paper-formal-writer/scripts/build_paper_outline.py Prepare adaptive authoring: python .claude/skills/paper-formal-writer/scripts/prepare_authoring.py --mode auto Default delivery is competition : plan at least 14000 effective characters, with a main-paper floor of 8000 and at least 18 rendered pages before appendices. These are adjustable project defaults, not contest rules. Verify the actual contest's page cap and counting rules before writing. auto therefore selects section ; a short report needs --delivery short-report --scope-reason "user-requested scope" . Custom floors use --min-pages / --min-body-chars with a reason; never lower them merely to turn a failed check green. Read references/competition-scope.md when preparing scope or repairing a short manuscript. Several authoring turns may produce one coherent chapter; preserve evidence and notation between turns instead of compressing the paper into one response. The authoritative S7 contracts are: paper_output/plan/writing_plan.json paper_output/context/authoring_state.json paper_output/qa/draft_audit.json paper_output/qa/repair_queue.json Draft And Audit Write only to the path recorded for the current unit in authoring_state.json . Each chapter must be a complete, coherent section and must include its required removable marker: <!-- mathmodel-evidence: evidence-id-1, evidence-id-2 --> Audit every changed draft: python .claude/skills/paper-formal-writer/scripts/validate_authoring.py --section <section-id> Routing is deterministic: global repeats the same blocking category twice: switch to section . A section fails once: rewrite that section. A section repeats the same category twice: $paper-micro-unit-generator may repair only queued locations. The third changed attempt with the same category: S7 becomes BLOCKED ; report the cause and suggest Lite as a user choice without switching automatically. Audits block short drafts, missing chapters/evidence/numbers, broken formulas, placeholders, duplicate prose, broken figure/table references, and internal workflow language. Assemble And Revise After all active units pass: python .claude/skills/paper-formal-writer/scripts/assemble_sections.py python .claude/skills/paper-formal-writer/scripts/validate_authoring.py --assembled The assembler follows outline order, strips evidence comments, and preserves existing numbering. It writes paper_output/drafts/assembled_draft.md . Then read the entire assembled draft and evidence chain, and rewrite the paper globally into: paper_output/final_paper_source.md This pass must unify terminology, notation, transitions, argument order, citations, captions, and conclusions. Copying the assembled draft unchanged is rejected. Run the final source audit: python .claude/skills/paper-formal-writer/scripts/validate_authoring.py --final Any change to evidence, writing plan, approved section draft, assembly, or final source invalidates downstream PASS state. Word And S8 Only after authoring_state.status = PASS : python .claude/skills/paper-formal-writer/scripts/format_formal_docx.py python .claude/skills/paper-formal-writer/scripts/check_paper_format.py --render required Formal mode requires fresh S6 and S7 hashes. --allow-draft may create final_paper_draft.docx for layout diagnosis, but never satisfies S7/S8 or overwrites the formal DOCX. format_formal_docx.py converts LaTeX to editable Word OMML and blocks failed conversion. check_paper_format.py checks dynamic length, required hierarchy, citations, evidence-linked figures/tables, formulas, duplicate prose, DOCX structure, LibreOffice PDF rendering, page count, and extractable text. Writing Standard Use 1 / 1.1 / 1.1.1 headings and complete CUMCM sections. For each question, connect assumptions, variables, derivation, algorithm, computed values, validation, uncertainty, and conclusion. Define symbols before formulas and explain every displayed result. Cite and interpret every included figure/table. Use only current evidence; never invent runs, values, sources, or validation. Avoid copied or number-swapped paragraphs used only to meet length. Keep implementation language out of body prose; reproducibility paths belong in the appendix. References Format standard: references/cumcm-paper-standard.md Full-paper structure: references/formal-paper-template.md Section expansion: references/section-expansion-rules.md Figures, tables, formulas, and results: references/figure-table-writing-rules.md Read only the reference needed for the current writing or repair decision. Handoff After each meaningful transition, run workflow status and update paper_output/context/workflow_memory.json : python .claude/skills/paper-workflow-orchestrator/scripts/workflow_guard.py --status python .claude/skills/context-memory-keeper/scripts/update_workflow_memory.py S8 is complete only when the machine-readable format report is PASS and fresh.
Agent 识别该技能的关键词,点击任意一个即可复制。
该技能未提供触发词。
下载的 .skill 包内含以下字段。
| 字段 | 说明 |
|---|---|
| format | 格式标识(skill/v1) |
| skill_id | 技能唯一 ID |
| name | 技能名称 |
| version | 版本号 |
| description | 技能描述 |
| category | 所属分类(数组) |
| trigger_words | 触发词列表 |
| tags | 标签列表 |
| source | 来源标识 |
| source_url | 来源链接(本页地址) |
| exported_at | 导出时间(每次下载生成) |
| system_prompt | 系统提示词正文 |
| model_config | 模型参数:provider / model / temperature / max_tokens / top_p |
| examples | 示例 |
| install_guide | 各平台导入说明(Coze / Dify / Claude / 自定义框架) |