본문으로 건너뛰기
cccskills
무료GitHub에 공개

paper-micro-unit-generator

Repair a repeatedly failing Standard paper section from repair_queue.json, or generate an explicitly requested legacy/quickstart scaffold. Do not use it as the formal paper writer.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

연동 도구Word
설치 방법 보기

포함된 파일(4)

  • SKILL.md4.7 KB
  • references/micro-unit-library.md26.2 KB
  • scripts/generate_all_offline.py28.3 KB
  • scripts/merge.py10.3 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Paper Micro-Unit Generator

Resolve <SKILL_ROOT> to the parent directory of this loaded skill folder, using its actual absolute path. Run commands from the contest project root, never from the installed skill directory. The placeholder is not a shell environment variable.

Use this skill only for local repair or an explicitly requested legacy scaffold. paper-formal-writer remains the sole formal author and the only producer of paper_output/final_paper_source.md and paper_output/final_paper.docx.

Entry Check

For formal repair, run:

python "<SKILL_ROOT>/paper-workflow-orchestrator/scripts/workflow_guard.py" --skill paper-micro-unit-generator

Continue only when S0-S6 pass and paper_output/qa/repair_queue.json contains at least one item whose strategy is micro-repair. Do not create a repair queue manually to bypass the two-failure threshold.

Legacy and quickstart modes are installation or old-model scaffolds. They do not satisfy S7 and do not require the formal repair queue.

Formal Repair Mode

  1. Read paper_output/plan/writing_plan.json, paper_output/context/authoring_state.json, paper_output/qa/draft_audit.json, and paper_output/qa/repair_queue.json.
  2. Select only queued micro-repair items. Keep the issue ID, section, failure category, expected evidence, and attempt count intact.
  3. Read the affected section draft and only the evidence needed by that issue. Do not rewrite unrelated sections.
  4. Write repair material to paper_output/drafts/repairs/<issue-id>.md. The material must contain concrete replacement text, its target location, and any required evidence marker.
  5. Apply the replacement to the queued section draft. Preserve valid headings, equations, figure/table identifiers, citations, and evidence markers.
  6. Re-run the section audit:
python "<SKILL_ROOT>/paper-formal-writer/scripts/validate_authoring.py" --section <section-id>
  1. Return to paper-formal-writer or paper-workflow-orchestrator. This skill must not assemble the formal manuscript or generate Word.

If the same blocking category reaches the third changed attempt, respect authoring_state.status = BLOCKED. Report the evidence or requirement causing the failure and suggest Lite as a user decision; never switch editions automatically.

Repair Rules

  • Repair the failed claim or paragraph, not the whole paper.
  • Use only computed values and paths present in the current evidence chain.
  • Preserve <!-- mathmodel-evidence: ... --> markers until deterministic assembly removes them.
  • Do not invent data, citations, completed experiments, or successful validation.
  • Do not expose workflow language in paper prose.
  • Do not renumber existing figure, table, equation, or bibliography references.
  • A repair is complete only after validate_authoring.py --section returns PASS.

Legacy Mode

The old command names remain available. With no arguments they write only to paper_output/drafts/legacy/:

python "<SKILL_ROOT>/paper-micro-unit-generator/scripts/generate_all_offline.py"
python "<SKILL_ROOT>/paper-micro-unit-generator/scripts/merge.py"

Expected outputs:

paper_output/drafts/legacy/micro_units/*.txt
paper_output/drafts/legacy/generate_log.json
paper_output/drafts/legacy/legacy_scaffold.md
paper_output/drafts/legacy/legacy_scaffold.docx
paper_output/drafts/legacy/legacy_ref_check.md

tasks.json is required only for this legacy batch path. The merge is deterministic and preserves existing reference numbers.

For the built-in smoke test, the orchestrator passes --output-root paper_output/quickstart --stem quickstart_scaffold; all smoke-test files stay under paper_output/quickstart/.

Never write final_paper.md, final_paper_source.md, final_paper.docx, or similarly formal names from legacy/quickstart mode.

Template Library

Read references/micro-unit-library.md only when a queued repair needs a fine-grained paragraph/sentence pattern or when the user explicitly requests legacy scaffolding. Do not load the full 200+ template library for ordinary section writing.

Handoff

After a formal repair, run workflow status and update persistent context:

python "<SKILL_ROOT>/paper-workflow-orchestrator/scripts/workflow_guard.py" --status
python "<SKILL_ROOT>/context-memory-keeper/scripts/update_workflow_memory.py"

The guard report is authoritative if memory and current artifacts disagree. Read the persistent snapshot at paper_output/context/workflow_memory.json before resuming a repair.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

自动定位并获取权威公开数据(优先API/官方批量下载),输出可复现抓取与清洗方案。Invoke when用户需要权威数据、官方统计、API下载或数据源爬取。

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

yushui2022/MathModel-Skill4562026년 10월 19일 업데이트

Manages persistent memory. Invoke to read active context or archive old tasks. Structure: Long-term Principles (Rules) + Short-term Workbench (Tasks).

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

yushui2022/MathModel-Skill4562026년 10월 19일 업데이트

自动清洗赛题或爬取的数据(处理缺失/异常/格式),并生成可视化图表。Invoke when 用户需要处理原始数据、清洗数据或生成数据分析图表。

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

yushui2022/MathModel-Skill4562026년 10월 19일 업데이트

根据 model_route.json、数据计划和清洗数据,为数学建模论文生成结果证据契约和 q1/q2/q3 建模代码脚手架。Invoke when 需要把模型输出、评价指标、结构化结论、论文表格和当前赛题专用建模代码沉淀到 paper_output/results/、paper_output/tables/ 和 paper_output/code/modeling/,供 QA 与正文生成读取。

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

yushui2022/MathModel-Skill4562026년 10월 19일 업데이트

按常见评分点生成建模论文结构与写作清单,并根据题目类型与数据条件给出模型选择与对照实验路线。Invoke when需要“论文格式/评分对齐/模型选型/路线不确定”。

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

yushui2022/MathModel-Skill4562026년 10월 19일 업데이트

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.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

yushui2022/MathModel-Skill4562026년 10월 19일 업데이트

yushui2022의 스킬 모두 보기

이 스킬의 문제 신고