Install
$ agentstack add skill-yujie-jason-zhang-polish-skill-paper-polisher ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
About
Paper Polisher
Scope
Use this skill when the user asks for TeX-safe academic English polishing, translation, proofreading, terminology consistency, or faithful local revision.
For full papers, long sections, or strict style-guide requests, read references/tex_safe_polishing.md before rewriting. For Chinese-facing workflow guidance, references/tex_safe_polishing_zh.md is available as a companion reference. For short local edits, apply the core rules below and consult the reference only when preservation, terminology, or output format is uncertain.
Do not use this skill as the main tool for:
- research-idea novelty, contribution defensibility, dangerous baseline, or reviewer-attack audits; use
idea-novelty-auditor(if available); - literature review, related-work gap framing, reference selection, or citation-role assignment; use
problem-driven-literature-review(if available); - broad manuscript storyline, introduction structure, or experiment-to-claim redesign; use
paper-argument-reconstructor(if available).
If the user asks for polishing plus literature review or argument reconstruction, preserve the source technical truth and use the relevant upstream skill first, then this skill for final TeX-safe language polishing.
Verification Mode
This skill has two modes. By default it polishes as described above. When the input is text another tool or skill has already polished, translated, or rewritten, switch to verification mode instead of re-polishing:
- do not overwrite the other tool's wording;
- check it against this skill's rules: TeX/equation/citation/key preservation, numerical and data fidelity, terminology consistency, and claim boundaries (the same checks as the Review report);
- report only the deviations and their locations; fix one in place only if it breaks a hard rule.
The suite's value is faithful, bounded output, not a competing rewrite. Verify rather than replace what a stronger generator already produced.
Non-Negotiable Rules
- Preserve all TeX structures, equations, environments, citations, labels, references, variables, function names, module names, dataset names, metric names, and technical meanings.
- Preserve the exact original arguments and keys inside structural commands, including
\label{...},\ref{...},\eqref{...},\includegraphics{...},\cite{...},\citep{...},\citet{...},\bibitem{...}, and BibTeX entry keys. Do not translate, rename, merge, delete, reorder, or normalize these keys. - When adding a new table, figure, algorithm, equation, section, or other referenceable object, create a specific semantic label that follows the manuscript's existing label convention. If no clear convention exists, use
type:semantic_namewith these prefixes:sec:for sections,subsec:for subsections,fig:for figures,tab:for tables,eq:for equations,alg:for algorithms,thm:for theorems, andapp:for appendices. Prefer typed labels such as\label{tab:diff_methods},\label{fig:framework},\label{alg:training}, or the manuscript's established underscore style such as\label{tab_diff_methods}. Never use bare placeholder labels or references such as\label{tab},\ref{tab},\label{fig},\ref{fig},\label{table},\label{figure},\label{img},\label{image},\label{tmp}, or\label{label}. - Treat any user-specified, user-approved, or previously generated new label as protected after it appears. In later full-manuscript generation, preserve that label exactly and update all corresponding references consistently instead of regenerating a generic label.
- When referring to an existing table, figure, equation, section, algorithm, theorem, or appendix, inspect and use the exact existing label key. For example, if the available labels are
\label{tab:ablation}and\label{tab:errors}, writeTables~\ref{tab:ablation} and~\ref{tab:errors}, neverTables~\ref{tab} and~\ref{tab}. - For newly inserted figures, also treat the image asset path in
\includegraphics{...}and any user-approved sizing/cropping options as protected. Do not rename image files, replace paths, remove subdirectories, or regenerate a figure block with a generic\label{fig}after the user has approved a concrete figure label such as\label{fig:framework}. - Do not hard-code display numbers for referenceable objects in TeX source. In prose, first identify the target journal or manuscript's established reference-name style, then use it consistently, such as
Fig.~\ref{fig:framework}for journals that useFig.orFigure~\ref{fig:framework}for journals that useFigure; preserve an established\autoref/\crefstyle when present. Never write hard-coded forms such asFigure 1,Fig. 1, orTable 1. In captions, never write\caption{Figure 1 ...},\caption{Fig. 1 ...}, or\caption{Table 1 ...}; LaTeX supplies the displayed figure/table name and number automatically, so the caption body should start with the descriptive title. - Do not change mathematical definitions, theorem conditions, proof logic, algorithm steps, experimental settings, reported results, baselines, dataset names, numerical values, units, percentages, table entries, figure-reported values, parameter settings, sample sizes, or significance markers.
- Do not modify bibliography entries, author names, reference-list formatting, BibTeX fields, DOI/URL/arXiv identifiers, venue names, years, pages, or publishers unless the user explicitly asks for reference cleanup after reviewing the issue.
- Do not invent contributions, claims, experiments, guarantees, deployment value, limitations, or conclusions that are not supported by the source text.
- Do not polish by word-for-word translation. First identify the sentence or paragraph function, then improve expression while preserving meaning.
- Do not vary technical terms for stylistic variety. Choose canonical terms for equivalent concepts and keep them consistent.
Rule-Conflict Escalation
If a requested edit or seemingly necessary correction would violate a non-negotiable rule, stop and ask the user before making that edit.
If your own draft violates a rule, revise the draft to restore compliance without asking. Ask only when the desired change would require protected edits, unsupported claims, or technical interpretation that cannot be determined from the source.
Workflow
- Identify the text type: sentence, paragraph, named section, full manuscript, caption/table note, bibliography, or mixed TeX.
- Identify each paragraph's local function: background, problem, method, formula explanation, result, discussion, conclusion, or transition.
- Build a small terminology ledger for key methods, modules, metrics, variables, abbreviations, datasets, and baselines.
- When adding or revising referenceable objects, build a small structural ledger for labels and references, especially user-approved new labels and existing table/figure targets, and carry it forward into any full-manuscript output.
- Rewrite in formal, restrained engineering-journal English while preserving all protected TeX structures, keys, data, and technical meaning.
- Remove colloquial, subjective, exaggerated, and module-stacking phrasing when this can be done without adding unsupported content.
- Run the post-polishing review before responding. If any violation is found, revise first.
Preservation Script
When both original and polished TeX files are available, run:
python3 paper-polisher/scripts/check_preservation.py original.tex polished.tex
Use this strict mode for pure polishing, translation, or local revision where no new manuscript objects, references, image assets, or numerical tokens should be introduced.
When the user explicitly asks to add new manuscript content, such as a new paragraph, table, figure, reference to an existing table, or response-driven revision text, run additions-aware mode instead:
python3 paper-polisher/scripts/check_preservation.py original.tex revised.tex --allow-additions
In additions-aware mode, newly added semantic labels, references, image assets, and numeric tokens are allowed. Missing original TeX keys, missing original numeric tokens, placeholder labels/references such as \ref{tab} or \label{fig}, and changed existing image paths or sizing/cropping signatures still fail.
Run the script only on the original TeX content and the polished/revised TeX content, not on an assistant response that also contains notes or review reports.
If the script reports changed TeX keys or numeric tokens, revise the polished text or flag the discrepancy explicitly.
Output Format
For one sentence, one paragraph, or a small local excerpt, use:
- Polished version.
- Brief note only if needed for terminology, TeX preservation, data preservation, or claim fidelity.
For full papers, major sections, submission-oriented polishing, or strict style-guide requests, return:
- Markdown version: polished text for reading and revision.
- TeX version: TeX-safe version ready to paste back into the manuscript.
- Review report: concise preservation and fidelity review.
- Compliance note: concise confirmation of TeX preservation, terminology consistency, objective tone, and claim fidelity.
Use this review report pattern:
Review report:
- TeX preservation: PASS
- Technical fidelity: PASS
- Numerical/data preservation: PASS
- Terminology consistency: PASS
- Citation and bibliography consistency: PASS / ISSUE REPORTED / NOT PRESENT
- Objective tone and claim boundaries: PASS
- Output completeness: PASS
Use this compliance note pattern:
Compliance note:
- TeX structures, equations, labels, references, citations, bibliography keys, variables, and original command keys are preserved.
- Numerical values, units, datasets, baselines, metrics, and reported results are preserved.
- Terminology has been checked for consistency.
- Bibliography-entry issues are reported for review rather than edited automatically.
- No unsupported technical claims or experimental results have been introduced.
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: yujie-jason-zhang
- Source: yujie-jason-zhang/polish_skill
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.