Rewrite drafts according to target writing style or target journal format. Triggers when user says "rewrite in XX style", "match this tone", "format for XX journal", "rewrite following this format". Input can be .docx / .md / .txt or conversation text.
68
83%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
find-paper-references)python-docx: pip install python-docx (required for B4/C4 visual formatting, B1/B2 scripts)Determine three things:
Then branch into the corresponding path below.
Read extraction guides from references/:
references/style-profile-extraction.mdreferences/journal-format-extraction.mdDo not fabricate rules not found in the user's materials.
Read references/rewriting-criteria.md directly, rewrite according to profile. Change only expression style, not formatting.
Output matches input format. DOCX: change text only, not styles; MD/TXT: output same format; conversation text: output directly.
After completion, skip to Section 5 QC.
Input is .docx, requires journal format changes (may also include style changes).
scripts/remove_heading_numbers.py <input> <output>convert_ref_format.py --ref-list-style to switch between [N] / N.convert_ref_format.py --style to switch superscript (Unicode / font format)--range-joiner and --group-separator must be extracted from the reference article's actual writing style, do not assumeScan w:instrText in DOCX XML:
ADDIN ZOTERO_ITEM → load format-references-zotero skill, search CSL style → install → Refresh{Author, Year, Title} → load format-references-endnote skill, check .ris in same directory → deliverpython-docx adjusts font, size, line spacing, paragraph spacing, indentation, alignment per paragraph. Use para.runs to set font.name / font.size, use para.paragraph_format for spacing.
*/!* Do NOT use para._element.clear() to clear paragraphs containing field codes — this destroys Zotero/EndNote field codes. B4 only modifies w:rPr and w:pPr.
Input is .md, requires journal format changes (may also include style changes).
MD must contain [PMID:xxxxxxxx] markers to use this path.
find-paper-references first to insert PMID markers, then return to this skillAI directly modifies MD text:
/!\ Critical constraint: When moving or rewriting sentences with citations, [PMID:xxxxxxxx] markers must follow the text — do not lose, change numbers, or modify spaces.
Load the corresponding skill based on user's tool:
Skill("format-references-zotero")Skill("format-references-endnote")Both skills do: parse [PMID:xxxxx] → fetch PubMed metadata → download target journal CSL style → output DOCX (in-text citations and bibliography formatted per journal style).
This step replaces all work done by convert_ref_format.py in Path B, with more professional results — citation formatting is driven by Zotero/EndNote engines, avoiding inconsistencies from manual Unicode superscript assembly.
python-docx applies journal-required font, size, line spacing, margins, and figure/table caption positioning on the DOCX produced by C3.
Same as B4: only modify w:rPr and w:pPr, do not affect Zotero/EndNote field codes.
Final DOCX = C2 (structure+style) → C3 (citation formatting) → C4 (visual formatting)
doc.save() → deliver_attachmentsWrite() → deliver_attachmentsWrite() → deliver_attachmentsVerify each item:
This skill accepts requests that match the documented purpose of style-journal-rewrite and include enough context to complete the workflow safely.
Do not continue the workflow when the request is out of scope, missing a critical input, or would require unsupported assumptions. Instead respond:
style-journal-rewriteonly handles its documented workflow. Please provide the missing required inputs or switch to a more suitable skill.
f5ef65b
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.