Paper polish workflow

From Chanw-research/claude-code-paper-writing · View interactive version

Paper polish workflow is an AI agent skill from the GitHub repository Chanw-research/claude-code-paper-writing. Systematic top-down workflow for polishing academic papers. Structure to logic to expression with user confirmation at each step.

How to use this skill

Skill file

Purpose

This Skill provides a systematic, top-down workflow for polishing academic papers. It works from structure to logic to expression, with user confirmation at each decision point. Expression options are drawn from reference-driven academic patterns rather than ad hoc rewrites, ensuring professional and consistent output suitable for journal submission.

Trigger

Activates when the user asks to:

Example invocations:

Modes

| Mode | Default | Behavior |

|------|---------|----------|

| interactive | Yes | Full 4-step flow with user confirmation at each decision point |

| guided | | Multi-pass with confirmation at key checkpoints only |

| direct | | Single-pass polish using defaults; skip AskUserQuestion |

| batch | | Same operation applied across multiple sections sequentially |

Default mode: interactive

Mode inference: "quickly" or "just fix" switches to direct. "step by step" or "逐步" confirms interactive (already default).

References

Required (always loaded)

| File | Purpose |

|------|---------|

| references/expression-patterns.md | Academic expression patterns overview and module index |

Leaf Hints (loaded when needed)

| File | When to Load |

|------|--------------|

| references/expression-patterns/introduction-and-gap.md | Polishing introduction or background content |

| references/expression-patterns/methods-and-data.md | Polishing methods, data, or study area content |

| references/expression-patterns/results-and-discussion.md | Polishing results or discussion content |

| references/expression-patterns/conclusions-and-claims.md | Polishing conclusion content |

| references/expression-patterns/geography-domain.md | Content involves spatial, urban, or planning topics |

| references/anti-ai-patterns.md | Polishing expression (Step 3) -- screen for AI-sounding phrases |

| references/journals/ceus.md | Target journal is CEUS |

Loading Rules

Ask Strategy

Before starting, ask about:

  1. Target journal (if not already known)
  2. Which section to work on
  3. Preferred mode (if ambiguous from trigger)

Rules:

Workflow

Step 1: Collect Context

Step 2: Structure & Logic Confirmation

Step 3: Expression Polish & Consistency

AskUserQuestion({
  question: "Which expression do you prefer for [sentence function]?",
  options: [
    { label: "[Expression A]", description: "[full sentence with expression A]" },
    { label: "[Expression B]", description: "[full sentence with expression B]" },
    { label: "[Expression C]", description: "[full sentence with expression C]" }
  ]
})

Step 4: Output

Output Contract

| Output | Format | Condition |

|--------|--------|-----------|

| polished_text | Markdown file (*_polished.md) or conversation output | Always produced |

| change_summary | Markdown in session | Always produced |

| Word count | Integer | Always reported |

| Journal compliance notes | Bullet list | When a target journal is specified |

Edge Cases

| Situation | Handling |

|-----------|----------|

| Unprofessional word flagged | Present 2-3 alternatives via AskUserQuestion; accept if user insists |

| Section too long for single pass | Split into paragraph-level sub-passes; maintain cross-paragraph coherence |

| No journal specified | Default to general academic style; note in output |

| Mixed language input | Detect dominant language; ask user to confirm target language |

| Reference paper provided as PDF | Use Read tool to load PDF; extract style patterns for expression matching |

| Abrupt sentence transition | Provide transition options via AskUserQuestion |

| Repetition detected between sections | Identify repeated content; suggest which occurrence to rephrase |

| Logic structure needs modification | Return to Step 2 to re-confirm structure before continuing |

Fallbacks

| Scenario | Fallback |

|----------|----------|

| Structured Interaction unavailable | Ask 1-3 plain-text questions covering highest-impact gaps; do not block workflow |

| Reference file missing | Log the missing file, proceed with reduced capability, warn the user |

| Target journal not specified | Ask once; if declined, use general academic style |

| PDF reference paper unreadable | Ask user to paste relevant excerpts instead |


Skill: paper-polish-workflow

Conventions: references/skill-conventions.md

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.