| name | academic-docx-format-pipeline |
| description | Rebuilds and finalizes academic DOCX files using a verified pipeline for text-to-docx reconstruction, heading cleanup, citation styling, bibliography checks, and export validation. Use when the user asks to rebuild a thesis or report docx, clean formatting, normalize citations, or continue document finalization work. |
Academic DOCX Format Pipeline
Purpose
Use this skill when the task is to rebuild or finalize a long academic document in DOCX format.
Typical tasks:
- text or markdown to docx rebuild
- heading and caption cleanup
- bibliography normalization
- citation superscript styling
- citation-to-reference consistency checks
- final export validation
Core rules
- Preserve the original document structure when possible.
- Prefer a full rebuild over brittle manual patching for large changes.
- Always leave a reviewable audit report.
- Do not claim completion without a fresh consistency check.
- Separate content revision from format finalization.
Recommended workflow
Step 1 — Rebuild the document body
Use a rebuild script or template-preserving conversion flow to map the latest text into a clean docx.
Step 2 — Normalize heading and caption structure
Check:
- heading levels are not skipped
- numbering is consistent
- captions are not duplicated or mistaken for body text
Step 3 — Clean bibliography formatting
Normalize reference formatting before citation relinking.
Step 4 — Standardize citation style
Convert inline numeric citations to the required visual form, such as superscript references.
Step 5 — Run consistency audit
Verify:
- no numbering gaps
- no missing bibliography entries
- no broken citation targets
Step 6 — Optional export and visual inspection
Export to PDF and perform a lightweight visual audit before delivery.
Deliverables
A successful run should leave:
- final docx candidate
- audit json or markdown report
- citation consistency result
- optional PDF preview
Handoff boundary
This skill handles formatting and validation. If the user also wants literature screening, writing, or chapter drafting, hand off those tasks to separate skills instead of mixing them into the format pass.