yjh051108/mmkit/comp-paper-zh
Claude Code and agent skill by yjh051108/mmkit
- community
Checking that the SKILL.md file is still in the repository.
数学建模竞赛/统计建模中文论文撰写 — LaTeX(PDF 模式)或 Markdown(docx 模式)。按竞赛规范结构生成完整论文。Use when user says \"写竞赛论文\", \"competition paper\", \"建模论文\".
Install
npx vskill@latest install yjh051108/mmkit/comp-paper-zhSKILL.md
Competition Paper Writing (Chinese)
Write a competition paper based on modeling results: $ARGUMENTS
Constants
- COMPETITION —
stats= 统计建模,huazhong= 华中杯,wuyi= 五一杯,mathorcup= MathorCup, others = 数模竞赛 (cumcm/huawei/etc.) - MAX_PAGES — Default 20. Body pages (chapter 1 through conclusion) must be ≥ MAX_PAGES.
- CUSTOM_REQUIREMENTS
Inputs
- PROBLEM_ANALYSIS.md, MODELING_REPORT.md, RESULTS.md
- figures/, code/
Load shared rules
<paper_structure>
Paper Structure by Competition Type
数模竞赛 (cumcm/huawei/mathorcup/huazhong/etc.)
Template: templates/cumcm/main.tex (国赛/华为杯), templates/mathorcup/main.tex (MathorCup), templates/apmcm_zh/main.tex (亚太赛中文 APMCM), templates/huazhong/main.tex (华中杯), templates/wuyi/main.tex (五一杯)
⛔ MathorCup 与 亚太赛中文(APMCM) 都使用 `MathorCupmodeling.cls` 文档类(模板文件夹已包含 cls)。使用 \bianhao{}、\tihao{}、\timu{} 设置队伍信息,\keyword{} 设置关键词。摘要用 \begin{abstract}...\end{abstract} 环境。参考文献用 \begin{thebibliography} 环境。
⛔ 华中杯必须使用 `cumcmthesis` 文档类(模板文件夹 huazhong/ 已包含 cls + 字体)。华中杯模板使用 \begin{abstract}...\keywords{}\end{abstract} 环境写摘要(不是手动排版),参考文献用 \begin{thebibliography} 环境(不是 \bibliography{})。
统计建模 (stats)
Template: templates/stats/main.tex
Chapter structure is driven by research content, not fixed templates.
Award-winning stats modeling papers vary wildly in structure — some organize by model, some by analysis step, some by research question. There is no "standard structure". Claude must design chapters autonomously based on the actual content in TOPIC_PLAN.md / MODELING_REPORT.md.
Fixed skeleton (must keep)
Middle chapter design guide
After reading TOPIC_PLAN.md, design middle chapters following these principles:
Principle 1: Chapter titles must be specific, not generic
- ✗ "四、模型构建" → ✓ "四、基于 CNN 的水质预测模型构建与评价"
- ✗ "五、实证分析" → ✓ "五、生育意愿的影响因素——集成学习模型"
Principle 2: Organize by research logic chain, not by textbook methodology
- If the research has multiple sub-problems/models, each model can be its own chapter
- If the research uses a single method with deep analysis, organize by analysis steps
Principle 3: Data and method chapters can be merged or separated
- Simple data (one dataset) → merge into "数据与方法"
- Complex data (multi-source, heavy preprocessing) → separate chapter "数据描述与预处理"
Award-winning paper structure examples (reference only, do not copy)
Example A — Classification + Path Analysis (fertility intention): 前言 → 模型构建 (introduce ensemble + Bayesian network) → 数据说明和预处理 → 探索性特征分析 → 生育意愿的影响因素 (ensemble results) → 生育意愿影响路径 (Bayesian network results) → 结论与建议
Example B — Mixed Modeling (data factors & economic growth): 研究背景+文献 → 研究思路和模型介绍 → 理论分析 → 模型构建 (production function + regression + ARIMA, each a section) → 模型应用 (GDP prediction) → 总结与建议 → 创新与不足
Example C — DEA Evaluation (economic sustainability): 绪论 → 文献综述 → 研究区域概况 → 评价指标体系构建 → 数据优化处理 (normalization + PCA) → DEA 模型建立及求解 → 结论及建议
Example D — Deep Learning Prediction (water quality CNN): 绪论 → 模型构建思路与创新 → 数据描述及预处理 → 主成分分析 → CNN 模型构建与评价 (with model comparison) → 结论与展望
Key observations:
- No award-winning paper uses the "baseline regression → robustness → heterogeneity" causal inference structure (unless the topic IS causal inference)
- Chapter count varies from 5-7, determined by content
- "Model introduction / theoretical basis" can come before or after the data chapter
- "Innovation & limitations" can be inside the conclusion or a standalone chapter
Chapter design checklist (self-check before writing)
- [ ] Does every chapter title contain specific research content (not generic "模型构建")?
- [ ] Does the chapter order follow the research logic chain (reader can follow naturally)?
- [ ] Do core analysis chapters (model results) occupy 40-50% of the paper?
- [ ] Is there a dedicated data description / exploratory analysis chapter (reviewers value data understanding)?
- [ ] Does the conclusion include "innovation" and "limitations" (reviewer bonus points)?
Use Chinese numbering (一、二、三...) with sub-sections (一)(二)(三). Do not use 1、2、3 or 1.1、1.2 format. Fixed sections that must be kept: 表格清单, 插图清单, 中英文摘要, 绪论, 结论, 参考文献, 致谢. </paper_structure>
⛔⛔⛔ 完成铁律(最高优先级)
根据 `params.output_format` 决定主产物:
- PDF 模式(默认):
paper/main.tex(≥ 5KB)+paper/sections/*.tex+paper/references.bib - docx 模式:
paper/main.md(单文件,≥ 5KB)。禁止产 paper/main.tex。Markdown 规范(标题层级/摘要/公式/图表/引用、LaTeX 残留检查)见本 skill 的references/docx-mode-zh.md。
⛔ 结束前必跑产出验证:
Workflow
Step 0: Backup + resume check + upstream validation
⛔ 上游输出完整性检查(写论文前必做):
Back up existing paper/. Check for incomplete sections from previous runs:
Resume rules: only write placeholder sections (<500 chars or contains "待补充"/"placeholder"), skip completed ones (>2000 chars). Save each chapter immediately — do not accumulate in memory.
Step 1: Copy template (based on COMPETITION type)
⛔ 模板复制后立即验证(必须通过才能继续):
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/comp-paper-zh/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/yjh051108/mmkit/comp-paper-zh)