论文格式排版2024112848

SKILL效率
效率 未标注权限 许可证不明确
安装这个技能

本科毕业论文排版技能。将 Word (.docx) 论文文档按照国标规范进行自动化排版,包括页面设置、字体段落样式、标题层级自动检测、图表标题、页码、目录域、参考文献 GB/T 7714-2015 格式化、以及 Word 转 PDF。当用户需要排版论文、格式化毕业论文、调整论文字体行距、设置页边距、生成目录、排版参考文献、Word转PDF、或按国标规范检查论文格式时,使用此技能。适用于本科毕业论文,也可用于课程论文和一般学术论文的排版。

一句话选型结论

按资料字段整理

论文格式排版2024112848是效率类的 Agent Skill,安装方式未标注,权限级别未标注,许可证不明确,有可直接复制的安装命令。技能本质是给模型读的说明书,效果取决于模型与客户端;装完先用一个小任务验证,再放进正式流程。

分类效率 安装方式未标注 权限级别未标注权限 许可证许可证不明确
累计安装 未标注 本周 未标注
GitHub 星标 未标注 仓库 未标注
下载量 未标注 技能市场下载数
权限级别 未标注权限 安装前请确认风险范围
许可证 许可证不明确 未说明

安装

未标注
在支持 Skills 的客户端里执行,装完问一句「你有哪些技能」验证
skillhub install user_80e798d6/paper-formatting-try
  1. 1
    确认客户端支持

    确认你的客户端支持 Skills(Claude、Codex、Cursor 等),并升级到较新的版本。

  2. 2
    拿到技能文件

    执行上面的命令安装;也可以把仓库里的 SKILL.md 手动放进客户端的 skills 目录。

  3. 3
    刷新技能列表

    重新打开客户端,或刷新技能列表,让新放进来的技能被加载。

  4. 4
    验证是否生效

    问一句「你有哪些技能」,确认列表里出现它,再拿一个小任务试跑。

技能档案

效率
字段来自技能仓库与公开索引,中文说明由本站标注
作者 / 维护方user_80e798d6仓库 未标注 · 版本 未标注
宿主客户端未标注技能可被这些客户端加载
安装方式未标注安装包 community
权限级别未标注权限安装前请确认风险范围
许可证未说明许可证不明确,商用前请自行确认条款
仓库可用性available技能仓库当前是否可访问
最近核验未标注上游最后核验时间 · 数据更新 1791736682
正文体量8.8 KBSKILL.md 原文大小,越大说明说明书写得越细

典型使用场景

3 类
按分类整理的常见用法,具体以 SKILL.md 为准
整理待办与日程

把零散任务收进清单,排出优先级。

批量处理重复任务

把固定动作做成模板,重复执行。

把流程写成清单

把口头流程整理成可复用的步骤。

选择建议

装之前先看这几条
按条目字段给出的判断,不替你决定用不用

值得选的地方

  • 有可直接复制的安装命令,不用自己翻文档找入口。

先想清楚的地方

  • 没有标注权限级别,实际能做什么要装好后确认。
  • 许可证不明确,商用或二次分发前先到仓库确认条款。
  • 没有做站内核验,内容以作者仓库为准。
  • 技能只是说明书,实际效果取决于模型与客户端,装完先用小任务试一遍。

更适合

  • 需要在效率场景里给模型补一套做法的人。
  • 愿意先读一遍 SKILL.md、确认它会让模型做什么的人。

不太适合

  • 对许可证要求很严、必须明确可商用的人。
  • 只想装完就自动变强、不打算看说明书的人。

同类对比

6 个同类
同分类里挑最接近的几条,字段以各自详情页为准
技能权限级别安装方式累计安装宿主客户端安装命令
论文格式排版2024112848当前 未标注权限 未标注 未标注 未标注 有
Nano PDF 文档 联网访问 ClawHub 市场 424.9 万 OpenClaw 有
自动更新程序 浏览器控制 ClawHub 市场 296.4 万 OpenClaw 有
Gemini 助手 联网访问 ClawHub 市场 254.7 万 OpenClaw 有
word DOCX 文档 联网访问 ClawHub 市场 239.6 万 OpenClaw 有
Excel XLSX 前端 联网访问 ClawHub 市场 227.0 万 OpenClaw 有

SKILL.md 全文

8.8 KB
模型实际读到的说明书原文,来自技能仓库

Paper Formatter - 本科毕业论文排版

Overview

This skill automates the formatting of Chinese undergraduate thesis Word documents (.docx) according to common national standards (GB/T 7713, GB/T 7714). It applies page setup, font and paragraph styles, heading hierarchy detection, figure/table caption formatting, page numbering, table of contents insertion, reference formatting, and PDF conversion.

When to Use

Trigger this skill when the user wants to:

  • Format a thesis or academic paper in Word
  • Adjust paper fonts, line spacing, margins, or indentation
  • Generate or update a table of contents
  • Format references according to GB/T 7714-2015
  • Convert a Word document to PDF
  • Check or fix paper formatting issues

Typical user phrases: "排版论文", "格式化毕业论文", "调整论文格式", "设置论文字体", "生成目录", "排版参考文献", "论文转PDF".

Prerequisites

  • Python 3.10+ with python-docx installed
  • For PDF conversion: Microsoft Word (docx2pdf) or LibreOffice
  • The skill scripts use the managed Python venv at ~/.workbuddy/binaries/python/envs/default

Quick Start

1. Format a Paper

# Basic formatting (creates *_formatted.docx)
python scripts/format_paper.py thesis.docx

# Format with table of contents
python scripts/format_paper.py thesis.docx --add-toc

# Format in-place (overwrites original)
python scripts/format_paper.py thesis.docx --inplace

# Custom margins
python scripts/format_paper.py thesis.docx --margin-top 3.5 --margin-left 2.8

2. Format References

# Renumber and format references
python scripts/format_references.py thesis.docx

# Check only (no changes)
python scripts/format_references.py thesis.docx --check-only

3. Convert to PDF

# Auto-detect conversion method
python scripts/docx_to_pdf.py thesis.docx

# Use specific method
python scripts/docx_to_pdf.py thesis.docx --method libreoffice

Workflow

Full Thesis Formatting Process

Execute the following steps in order:

  1. Backup: Copy the original document before any modification.

  2. Run format_paper.py: Apply page setup, styles, heading detection, and page numbers.
    bash python scripts/format_paper.py input.docx --add-toc
    This produces input_formatted.docx.

  3. Run format_references.py: Renumber and format the references section.
    bash python scripts/format_references.py input_formatted.docx --inplace

  4. Review heading detection: Check the script output for heading counts. If headings are misclassified (e.g., a list item detected as a heading), manually fix the heading styles in Word.

  5. Update TOC: Open the document in Word, right-click the table of contents, and select "Update Field" → "Update entire table".

  6. Check references: Review the format_issues output from format_references.py. Manually add missing document type markers ([M], [J], [D], etc.) and verify author name formats.

  7. Convert to PDF (optional):
    bash python scripts/docx_to_pdf.py input_formatted.docx

Scripts

scripts/format_paper.py

Main formatting script. Uses python-docx to:

  • Set A4 page size and margins (top 2.5, bottom 2.5, left 2.75, right 2.5 cm by default; gutter on left)
  • Configure Normal style: SimSun + Times New Roman, 12pt (xiao-4), fixed 21pt line spacing, 2-char first-line indent, 0pt before/after
  • Configure Heading 1-3 styles: SimHei (hei-ti), sizes 16/12/10.5pt, with appropriate spacing
  • Configure Caption style: SimHei, 10.5pt (wu-hao), centered, single line spacing
  • Auto-detect headings by text patterns:
  • "第一章" / "第X章" → Heading 1
  • "摘要" / "目录" / "参考文献" / "致谢" etc. → Heading 1
  • "1.1" pattern → Heading 2
  • "1.1.1" pattern → Heading 3
  • "1." / "1、" pattern → Heading 1 (short text only)
  • Auto-detect figure/table captions ("图1-1..." / "表1-1...")
  • Add centered page numbers in footer
  • Insert TOC field after "目录" heading (with --add-toc flag)

Key options:
- --no-detect: Skip heading auto-detection (use existing styles only)
- --no-page-numbers: Skip page number insertion
- --add-toc: Insert table of contents field
- --margin-top/bottom/left/right: Custom page margins (cm)

scripts/format_references.py

Reference formatting helper. Uses python-docx to:

  • Locate the "参考文献" section in the document
  • Renumber references sequentially: [1] [2] [3]...
  • Set font to SimSun + Times New Roman, 10.5pt (wu-hao)
  • Apply flush-left formatting (no indent, top-aligned)
  • Set single line spacing
  • Check for common issues: missing type markers ([M]/[J]/[D] etc.), missing years

Key options:
- --check-only: Only report issues without modifying the document
- --inplace: Overwrite the original file

scripts/docx_to_pdf.py

PDF conversion utility. Supports two methods:
- docx2pdf (default on Windows): Uses Microsoft Word COM automation
- LibreOffice: Cross-platform, headless conversion

Auto-detects the best available method. Falls back automatically if one method fails.

Reference Documents

references/formatting_rules.md

Detailed formatting specifications for Chinese undergraduate theses:
- Document structure (cover → declaration → abstract → TOC → body → references → acknowledgments)
- Page setup (A4, margins, header/footer distance)
- Font/size/spacing for every element (title, headings, body, captions, references, page numbers)
- Page numbering scheme (Roman for front matter, Arabic for body)
- Section break instructions for split page numbering
- Figure, table, and formula formatting guidelines

Load this document when:
- The user asks about specific formatting requirements
- Manual adjustments are needed (e.g., split page numbering, cover page)
- The user has school-specific requirements to compare against

references/reference_styles.md

GB/T 7714-2015 reference citation format reference:
- Sequential numbering system rules
- Document type markers ([M], [J], [D], [C], [R], [S], [P], [N], [EB/OL])
- Author name formatting (Chinese and English)
- Complete format examples for each document type
- In-text citation formatting
- Common errors and corrections

Load this document when:
- The user asks how to format a specific reference
- Manual reference formatting is needed (scripts cannot auto-detect document types)
- Checking or correcting reference formatting issues

Limitations and Manual Steps

The scripts handle deterministic formatting automatically. The following require manual work or AI assistance:

  1. Cover page: The cover page layout (title, name, student ID, etc.) must be formatted manually or using a school-provided template.

  2. Split page numbering: Roman numerals for front matter (abstract, TOC) and Arabic for body requires section breaks and per-section footer settings. This must be done manually in Word.

  3. Table of contents update: The script inserts a TOC field, but the actual content is generated by Word when the user right-clicks and selects "Update Field".

  4. Reference content parsing: The script can renumber and format references, but cannot parse citation metadata (author, title, publisher) to apply GB/T 7714 formatting from scratch. Use the AI to help format each reference according to references/reference_styles.md.

  5. Heading detection accuracy: Pattern-based detection may misclassify list items or short paragraphs as headings. Always review the script output and manually fix any misclassified paragraphs.

  6. School-specific requirements: Default settings follow common national standards. If the user has school-specific requirements, adjust the command-line parameters or manually modify the formatted document.

Python Environment

All scripts require python-docx. The managed venv is at:

~/.workbuddy/binaries/python/envs/default

Run scripts using:

"~/.workbuddy/binaries/python/envs/default/Scripts/python.exe" scripts/format_paper.py input.docx

If python-docx is not installed:

"~/.workbuddy/binaries/python/envs/default/Scripts/pip.exe" install python-docx docx2pdf

常见问题

5 问
答案由本站依据条目字段整理
论文格式排版2024112848怎么安装?

在支持 Skills 的客户端里执行:skillhub install user_80e798d6/paper-formatting-try。安装方式为未标注。装完刷新技能列表或重开客户端。

论文格式排版2024112848支持哪些客户端?

资料没有标注宿主客户端,但只要客户端支持 Skills(Claude、Codex、Cursor 等),一般都能加载。

论文格式排版2024112848权限高吗,安全吗?

权限级别为未标注权限。安装前先看它会读取或写入哪些内容。

论文格式排版2024112848收费吗?

本站不代收费用,也没有标注具体价格。是否收费取决于技能本身和所用的模型或客户端,正式使用前按作者说明确认。

论文格式排版2024112848用什么许可证?

许可证标注为 未说明(许可证不明确)。商用或二次分发前请到仓库确认条款原文。

热门专题

按场景挑技能
全部专题 →

技能内容以作者仓库为准;分类、权限级别与许可证状态的中文说明为中文整理,最近核验 未标注。