AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Docx Thesis Format

skill-wen-jy-academic-research-skills-docx-thesis-format · by WEN-JY

Detect and fix formatting issues in existing Word (.docx) thesis documents for Zhejiang University Engineering College requirements. Use when the user wants a deterministic Node.js workflow to inspect and automatically repair docx formatting, including body text, headings, section-title spacing, equation numbering, figure/table captions, three-line tables, headers/footers checks, and references.

No reviews yet
0 installs
34 views
0.0% view→install

Install

$ agentstack add skill-wen-jy-academic-research-skills-docx-thesis-format

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No 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.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-wen-jy-academic-research-skills-docx-thesis-format)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
3mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Docx Thesis Format? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

DOCX Thesis Format

Overview

Use this skill to inspect and repair existing .docx thesis files. The workflow is script-first: Node.js reads the Word OOXML, reports non-compliant formatting, and automatically fixes safe items without relying on model rewriting.

The default profile targets Zhejiang University Engineering College Master of Engineering Management thesis formatting, extending the common rules used by markdown-to-word.

Core Commands

All scripts are bundled in skills/docx-thesis-format/.

Check Only

skills/docx-thesis-format/check_docx_format.sh \
  --out report.md \
  --json report.json \
  input.docx

Fix

skills/docx-thesis-format/fix_docx_format.sh \
  -o output.formatted.docx \
  --report fix-report.md \
  --json fix-report.json \
  input.docx

Check → Fix → Recheck

skills/docx-thesis-format/format_docx.sh \
  -o output.formatted.docx \
  --report format-report.md \
  --json format-report.json \
  input.docx

The fixer never overwrites the input file unless the user explicitly passes the same output path.

Rule Profile

Default rules live at:

skills/docx-thesis-format/rules/engineering-college.json

Use a custom profile with:

skills/docx-thesis-format/check_docx_format.sh --rules custom-rules.json input.docx

Current Automated Checks and Fixes

  • Body text: 小四仿宋, English/numbers Times New Roman, 1.5 line spacing, spacing before/after 0 pt, 2-character first-line indent, justified alignment.
  • Chapter headings: 第1章 style, centered, bold, 小三仿宋.
  • Section headings: 2.1 节标题, exactly two spaces after the number; the space run uses 宋体.
  • Subsection headings: 2.1.1 小节标题, exactly one space after the number; the space run uses 宋体.
  • Equations: chapter-based numbering such as (1-1); existing wrong numbers are replaced; math paragraphs are centered and receive a right tab for the number.
  • Figure captions: 图1.1 图题, chapter-local numbering; captions are centered and should be below nearby figures.
  • Table captions: 表1.1 表题, chapter-local numbering; captions are centered and should be above tables.
  • Tables: convert table borders to a basic three-line-table pattern; table-cell content is horizontally left-aligned.
  • References: continuous [1] numbering and type-code detection such as [J], [M], [D], [EB/OL].
  • Headers/footers: header line is justified with 浙江大学硕士学位论文 on the left and the current part title on the right; detect missing footer PAGE fields.

Manual Review Items

The script reports but does not confidently repair:

  • Header text, page-number placement, front-matter Roman page numbering.
  • Cover/title-page exact layout.
  • Semantic quality of Chinese/English abstracts and keyword accuracy.
  • Reference authenticity, author names, publication metadata.
  • Figure/table copyright or source legitimacy.
  • Complex floating images, multi-part subfigures, complex merged-cell tables, and image-based formulas.

Implementation Notes

The script modifies .docx in place at the OOXML layer:

.docx zip → word/document.xml + styles/header/footer XML → detect/fix → repack .docx

It reuses bundled dependencies from markdown-to-word/node_modules to avoid network installation during normal use.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.