paper-revision
npx skills add https://github.com/jinyh/paper-revision --skill paper-revision
Agent 安装分布
Skill 文档
Paper Revision Assistant
Help authors systematically process peer review feedback through a structured five-phase workflow:
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
â Paper Revision Workflow â
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ¤
â â
â âââââââââââââ âââââââââââââ âââââââââââââ âââââââââââââ â
â â Phase 1 â â Phase 2 â â Phase 3 â â Phase 4 â
â â Parse âââââ¶â Strategy âââââ¶â Summary âââââ¶â Verify â
â â è§£ææè§ â â 讨论çç¥ â â çæææ¡£ â â èªæ¥éªè¯ â
â âââââââââââââ âââââââââââââ âââââââââââââ âââââââââââââ â
â â â â â â
â â¼ â¼ â¼ â¼ â
â revision- User decides revision-plan.md Completeness â
â overview.md per comment response-letter.md + Scoring â
â â â
â â¼ â
â âââââââââââââ â
â â Phase 5 â â
â â Review â â
â â ç¨æ·å®¡é
â â
â âââââââââââââ â
â â â
â â¼ â
â Done â â
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
When to Use This Skill
Trigger when user:
- Calls
/paper-revision - Mentions “审稿æè§”, “reviewer comments”, “revision”, “response letter”
- Has PDF files of a paper and review comments in the working directory
Prerequisites
- Working directory contains PDF files (paper + review comments)
- Claude Code’s PDF reading capability (Read tool with
pagesparameter)
Phase 1: Parse â è§£æå®¡ç¨¿æè§
1.1 Identify PDFs
Scan the current working directory for PDF files:
Glob pattern: *.pdf
Present the list to the user via AskUserQuestion:
- “以䏿¯å½åç®å½ä¸ç PDF æä»¶ï¼è¯·ç¡®è®¤åªä¸ªæ¯è®ºæå稿ï¼åªä¸ªæ¯å®¡ç¨¿æè§ä¿¡ï¼”
- Options should list each PDF filename, letting user assign roles
If only one PDF exists, ask if it contains both paper and reviews, or if the user needs to provide another file.
1.2 Extract Review Comments
Read the review comments PDF using the Read tool (use pages parameter for large PDFs â max 20 pages per request, read in batches if needed).
Extract and structure ALL comments from every reviewer. For each comment:
- Reviewer ID: Reviewer 1 / 2 / 3 / Editor
- Comment number: Sequential within each reviewer
- Original text: Exact quote
- Category: Major / Minor / Editorial (see classification rules below)
- Related section: Which part of the paper it refers to
1.3 Classification Rules
| Category | Criteria |
|---|---|
| Major | Requires new experiments, significant rewriting, methodological changes, or addresses fundamental flaws |
| Minor | Clarification, additional discussion, minor analysis, reference additions |
| Editorial | Typos, grammar, formatting, figure quality |
Action type tags (assign one or more to each comment for structured tracking):
| Action Type | Description |
|---|---|
clarification |
Rewrite existing text for clarity |
experiment |
Run new experiments, add results/figures/tables |
analysis |
Add ablations, statistical tests, or comparisons |
structural |
Move, merge, or split sections |
citation |
Add or correct references |
Priority escalation rules:
- Editor comments â Always highest priority, process first
- Cross-reviewer concerns (2+ reviewers raise the same issue) â Escalate to highest priority regardless of original category
- Within same priority level: Major â Minor â Editorial
1.4 Generate revision-overview.md
Write the overview document in Chinese using this structure:
# 审稿æè§æ»è§
## åºæ¬ä¿¡æ¯
- è®ºææ é¢ï¼[ä»è®ºæä¸æå]
- 审稿人æ°éï¼[N]
- æè§æ»æ°ï¼[N] (Major: X / Minor: Y / Editorial: Z)
- ç¼è¾æè§ï¼[æ/æ ]
## â ï¸ å
±åå
³åç¹ï¼æé«ä¼å
级ï¼
<!-- 2+ ä½å®¡ç¨¿äººæå°çç¸åé®é¢ -->
| # | å
³åç¹ | æåºè
| ç±»å« | ç¸å
³ç« è |
|---|--------|--------|------|----------|
| 1 | ... | R1, R3 | Major | §3.2 |
## ð ç¼è¾æè§
<!-- 妿 -->
| # | æè§å
容 | ç±»å« |
|---|----------|------|
| 1 | ... | ... |
## 审稿人 1
### Major
| # | æè§å
容 | ç¸å
³ç« è |
|---|----------|----------|
| 1 | ... | ... |
### Minor
...
### Editorial
...
## 审稿人 2
...
After generating, tell the user: “审稿æè§è§£æå®æï¼è¯·æ¥ç revision-overview.mdãåå¤å¥½åæä»¬è¿å
¥éæ¡è®¨è®ºé¶æ®µã”
Phase 2: Strategy â éæ¡è®¨è®ºä¿®æ¹çç¥
2.1 Read the Paper
Read the paper PDF using the Read tool (batch by pages if needed). Build understanding of:
- Paper structure (sections, key arguments, methodology)
- Figures and tables referenced by reviewers
- Current limitations acknowledged by authors
2.2 Interactive Discussion
Process comments in priority order:
- Cross-reviewer concerns (å ±åå ³åç¹)
- Editor comments
- Major comments
- Minor comments
- Editorial comments (batch these, no individual discussion needed)
For each non-editorial comment, present to the user via AskUserQuestion:
Display format:
ð [Reviewer X - Comment Y] (Category)
审稿æè§ï¼
> [Original comment text]
论æç¸å
³ä½ç½®ï¼
> [Quote or reference from paper, with section number]
å»ºè®®ä¿®æ¹æ¹åï¼
[Your suggested revision approach based on understanding of the paper]
Options:
- “æ¥å建议æ¹å” â Adopt the suggested approach as-is
- “è°æ´æ¹å” â User wants to modify the approach (follow up to get their preferred direction)
- “è·³è¿ï¼ç¨åå¤çï¼” â Skip for now, revisit later
For editorial comments, present them as a batch:
- “ä»¥ä¸ N æ¡ç¼è¾æè§ï¼æ¼åãè¯æ³ãæ ¼å¼ï¼å°ç»ä¸å¤çï¼æ ééæ¡è®¨è®ºãæ¯å¦åæï¼”
2.3 Record Decisions
Maintain an internal record of each decision. Track:
- Comment ID
- Chosen strategy
- User’s notes (if any)
- Skipped items (remind user at the end)
After all comments are discussed, if any were skipped:
- “以䏿è§è¢«è·³è¿ï¼æ¯å¦ç°å¨å¤çï¼” List skipped items.
Phase 3: Summary â çæä¿®æ¹è®¡åä¸åå¤ä¿¡
3.1 Generate revision-plan.md (Chinese)
Organize by paper sections. Write using the Write tool:
# ä¿®æ¹è®¡å
> åºäºå®¡ç¨¿æè§è®¨è®ºç»æçæï¼ç¨äºè¿½è¸ªä¿®æ¹è¿åº¦ã
## LaTeX ä¿®æ¹æ è®°
> å¨ä¿®æ¹è®ºææ¶ï¼ä½¿ç¨ä»¥ä¸ LaTeX å½ä»¤æ è®°æææ¹å¨ï¼æ¹ä¾¿å®¡ç¨¿äººå¿«éå®ä½ï¼
> ```latex
> \usepackage{xcolor}
> \newcommand{\revised}[1]{{\color{blue}#1}}
> \newcommand{\added}[1]{{\color{blue}#1}}
> \newcommand{\deleted}[1]{{\color{red}\sout{#1}}}
> ```
## §1 Introduction
- [ ] [R1-C2, R3-C1] è¡¥å
ç ç©¶å¨æºç论述ï¼å
±åå
³åï¼`clarification`
- çç¥ï¼å¨ç¬¬äºæ®µå¢å ...
- [ ] [R2-C5] ä¿®æ£æç®å¼ç¨æ ¼å¼ `citation`
- çç¥ï¼ç»ä¸ä¸º...
## §2 Methods
- [ ] [R1-C1] è¡¥å
å®éªç»èï¼Majorï¼`experiment`
- çç¥ï¼æ·»å ...
## §3 Results
...
## å
¨å±ä¿®æ¹
- [ ] è±ææ¶¦è²ï¼Editorial ç±»æè§ç»ä¸å¤çï¼
- [ ] å¾è¡¨è´¨éæå
## è·³è¿çæè§
<!-- ç¨æ·éæ©è·³è¿çæè§ï¼ä¾åç»åè -->
- [R2-C3] ...ï¼åå ï¼...ï¼
3.2 Generate response-letter.md (English)
Standard academic response letter format. Write using the Write tool:
# Response to Reviewers
Dear Editor and Reviewers,
We sincerely thank you for your constructive comments and suggestions, which have significantly improved our manuscript. Below we provide a point-by-point response to each comment. Reviewer comments are shown in **bold**, and our responses follow.
---
## Response to Editor
**Editor Comment 1:** [Original comment]
[Response explaining what was done and why]
---
## Response to Reviewer 1
**Comment 1 (Major):** [Original comment]
We thank the reviewer for this insightful comment. [Response with specific changes made, referencing sections/pages/figures]
**Comment 2 (Minor):** [Original comment]
[Response]
---
## Response to Reviewer 2
...
Response writing guidelines:
- Always start with appreciation (“We thank the reviewer for…”)
- Be specific: reference exact sections, page numbers, figure numbers
- For accepted changes: describe what was changed and where
- For partially accepted: explain what was adopted and why other parts were not
- For declined suggestions: provide respectful, evidence-based justification
- Use phrases like “We have revised…”, “As suggested, we now…”, “We respectfully note that…”
- Never be defensive or dismissive
- Cross-reference
revision-plan.mdcheckbox items where applicable
After generating both files, tell the user:
“ä¿®æ¹è®¡åååå¤ä¿¡å·²çæã请æ¥çï¼\n- revision-plan.md â æç« èç»ç»çä¸æä¿®æ¹æ¸
å\n- response-letter.md â è±æéæ¡åå¤ä¿¡\n\nåå¤å¥½åè¿å
¥å®¡é
é¶æ®µã”
Phase 4: Verify â èªæ¥éªè¯
å¨ç¨æ·å®¡é ä¹åï¼å è¿è¡ç³»ç»æ§èªæ¥ï¼ç¡®ä¿ä¿®æ¹è®¡åç宿´æ§åä¸è´æ§ã
4.1 宿´æ§æ£æ¥
éæ¡æ ¸å¯¹ææå®¡ç¨¿æè§æ¯å¦é½å·²å¨ revision-plan.md å response-letter.md ä¸å¾å°ååºï¼
çææ£æ¥æ¸ åå¹¶å±ç¤ºç»ç¨æ·ï¼
## ä¿®æ¹å®æ´æ§æ£æ¥
| æè§ç¼å· | 审稿人 | ç±»å« | revision-plan | response-letter | ç¶æ |
|----------|--------|------|:---:|:---:|------|
| R1-M1 | R1 | Major | â
| â
| å·²è¦ç |
| R1-M2 | R1 | Major | â
| â
| å·²è¦ç |
| ... | ... | ... | ... | ... | ... |
妿鿼ï¼ç«å³è¡¥å ã
4.2 ä¸è´æ§æ£æ¥
ç¡®è®¤ä¸¤ä»½ææ¡£ä¹é´çä¸è´æ§ï¼
revision-plan.mdä¸çæ¯æ¡çç¥æ¯å¦ä¸response-letter.mdä¸ç对åºåå¤å¹é - åå¤ä¿¡ä¸å¼ç¨çç« èå·ãå¾è¡¨å·æ¯å¦ä¸ä¿®æ¹è®¡åä¸è´
- æ¯å¦æçç¾çæ¿è¯ºï¼å¦ä¸å¤è¯´”å·²æ·»å “ï¼å¦ä¸å¤è¯´”å°å¨æªæ¥å·¥ä½ä¸å¤ç”ï¼
4.3 ä¿®æ¹ååèªè¯å¯¹æ¯
对论æçå ³é®ç»´åº¦è¿è¡ä¿®æ¹ååçèªè¯æåï¼1-5 åï¼ï¼å¸®å©ç¨æ·éåæ¹è¿ææï¼
## ä¿®æ¹ååèªè¯å¯¹æ¯
| 维度 | ä¿®æ¹å | ä¿®æ¹åï¼é¢æï¼ | 说æ |
|------|:---:|:---:|------|
| æ¹æ³è®ºæ¸
æ°åº¦ | 3 | 4 | è¡¥å
å®ç°ç»èåæ°å¦å
¬å¼ |
| å®éªå
åæ§ | 2 | 4 | æ°å¢çå®å®éªååºçº¿å¯¹æ¯ |
| æ°æ®å¯ä¿¡åº¦ | 2 | 4 | æ©å¤§éªè¯æ ·æ¬ãè¡¥å
¨å¼æºèµæº |
| åä½è´¨é | 3 | 4 | ç»ä¸æ¯è¯ãä¿®æ£æ¼å |
| å¯å¤ç°æ§ | 1 | 4 | è¡¥å
¨ä»£ç åæ°æ®é |
4.4 æ½å¨é£é©æç¤º
æ£æ¥ä¿®æ¹æ¯å¦å¯è½å¼å ¥æ°é®é¢ï¼
- æ°å¢å 容æ¯å¦å¯è½è¶ åºé¡µæ°éå¶
- æ°å®éªç»ææ¯å¦å¯è½ä¸å·²æç»è®ºçç¾
- ä¿®æ¹æ¯å¦å½±å论æçæ ¸å¿è´¡ç®å£°æ
å°æ£æ¥ç»æå±ç¤ºç»ç¨æ·ï¼ç¡®è®¤æ 误åè¿å ¥å®¡é é¶æ®µã
Phase 5: Review â ç¨æ·å®¡é ä¸ä¿®æ¹
5.1 User Review
After presenting the documents, wait for user feedback. The user may:
- Request changes to specific response letter entries
- Adjust revision strategies
- Add missing comments that were not captured
- Change the tone or wording of responses
5.2 Handling Modifications
When user requests changes:
- Identify which document(s) need updating (
revision-plan.mdand/orresponse-letter.md) - Use the
Edittool to make targeted changes â do not regenerate entire files - Keep both documents in sync (a strategy change in the plan should reflect in the response letter)
- Show the user the specific changes made
5.3 Completion
When the user is satisfied:
- Confirm all three output files are finalized
- Remind user: “ä¿®æ¹è®¡åä¸çå¤éæ¡å¯ä»¥å¨å®é ä¿®æ¹è®ºææ¶ç¨æ¥è¿½è¸ªè¿åº¦ãç¥ä¿®æ¹é¡ºå©ï¼”
Edge Cases
| Situation | Handling |
|---|---|
| Single PDF contains both paper and reviews | Ask user to identify page ranges for each |
| Reviews in non-English language | Process in original language, but response-letter.md always in English |
| No editor comments | Skip editor section, note in overview |
| Only 1 reviewer | Skip cross-reviewer analysis, note in overview |
| Very long review (>20 pages) | Read in batches using pages parameter |
| Reviewer comments lack clear numbering | Assign sequential numbers and note the mapping |
| User wants to add their own context | Accept via AskUserQuestion and incorporate into strategy |
| PDF is scanned/image-based | Inform user that text extraction may be limited; suggest providing a text version |
Decision Flow
/paper-revision triggered
â
â¼
ââââ Phase 1: Parse âââââââââââââââââââââââââââââââââ
â Scan PDFs â User confirms roles â Extract & â
â classify comments â Generate revision-overview.md â
âââââââââââââââââââââââââ¬âââââââââââââââââââââââââââââ
â¼
ââââ Phase 2: Strategy ââââââââââââââââââââââââââââââ
â Read paper â Discuss each comment with user â
â (priority order) â Record decisions â
âââââââââââââââââââââââââ¬âââââââââââââââââââââââââââââ
â¼
ââââ Phase 3: Summary âââââââââââââââââââââââââââââââ
â Generate revision-plan.md (Chinese) â
â Generate response-letter.md (English) â
âââââââââââââââââââââââââ¬âââââââââââââââââââââââââââââ
â¼
ââââ Phase 4: Verify ââââââââââââââââââââââââââââââââ
â Completeness check â Consistency check â â
â Before/after scoring â Risk alerts â
âââââââââââââââââââââââââ¬âââââââââââââââââââââââââââââ
â¼
ââââ Phase 5: Review ââââââââââââââââââââââââââââââââ
â User reviews â Edit as needed â Done â
âââââââââââââââââââââââââââââââââââââââââââââââââââââ
Key Rules
- Address every reviewer concern without exception â no comment should be left unresponded
- Preserve paper structure unless explicitly needed otherwise
- Base new results on actual experiments, not fabricated data
- Clearly mark all revised text in LaTeX for reviewer visibility (use
\revised{}/\added{}/\deleted{}) - Language policy:
revision-overview.mdandrevision-plan.mdin Chinese;response-letter.mdin English - Compare scores before and after revision to quantify improvement
Related Skills
This skill works well in combination with:
- self-review: Run before submission to catch issues early
- rebuttal-writing: For conference-style rebuttals (shorter format than journal response letters)
- paper-compilation: For LaTeX compilation and formatting checks after revisions