homework-polish
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "homework-polish" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-4941e4e553a7ffa4de824de516b462799798e4f9f48f78cd20895e7b731b2ad7. Verify the upstream source and version against https://skillhub.cn/skills/user_5162597a/12345678 before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Word Document Polishing Tool: Reads a user-supplied .docx file path, preserves all images, tables, and original formatting, performs paragraph-by-paragraph text optimization, and generates a caption for each image.
Introduction source: third_party · user_5162597a · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: homework-polish
description: Word作业润色。用户提供docx路径,读取后保留原文档所有图片、表格、格式,逐段润色文字并为每张图片生成说明。作业润色
工作流
- 用户给
.docx文件路径 - 复制原文件为
原文件名_润色版.docx - 打开复制件,逐段读取文字
- 提取文档中所有嵌入图片到临时目录
- 用
image工具分析每张图片的内容 - 润色文字段落,扩充技术细节,保留原文真实操作
- 在每张图片下插入一段正式说明(分析结果 + 技术背景)
- 保存润色版,保留所有原文档资源
图片处理
# 提取图片
rels = doc.part.rels
for rel_id, rel in rels.items():
if 'image' in rel.reltype:
ext = rel.target_ref.split('.')[-1]
blob = rel.target_part.blob
save to temp dir
use image tool to analyze
write description below the image
图片说明格式:
图X:图片内容简述(说明文字)
润色规则
- 用户一句话 → 扩充为完整技术段落,补充背景、原理、操作过程
- 保留原文 "我做了什么→遇到了什么→怎么解决的" 真实感
- 语言正式专业,不编造用户没写的核心操作
- 图片说明基于实际分析结果,不虚构内容
- 图片优先说明(大图先看),文字润色其次
触发词
- "帮我润色作业"
- "润色我的word"
- "帮我改一下这个文档"
Current listing version
1.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 针对学生/职场用户文档润色需求,具有明确实用价值
- 功能闭环完整,包含文档处理、图片分析和文本优化
Highlights
- 触发词覆盖多种用户表达方式,边界清晰
Areas to improve
-
缺少 When to Use 章节 Reported severity: Minor
文档中未包含 When to Use 章节,用户可能不清楚具体使用场景
Recommendation: 建议添加 When to Use 章节,说明适合使用该 Skill 的具体场景和条件
-
缺少端到端完整示例 Reported severity: Minor
虽然有工作流步骤,但缺少一个完整的端到端使用示例
Recommendation: 建议添加一个完整的使用示例,展示从输入到输出的完整流程
Areas to improve
-
工具来源不够明确 Reported severity: Minor
提到使用 `image` 工具分析图片,但未明确说明该工具的具体来源和调用方式
Recommendation: 建议明确说明 image 工具的具体实现方式和调用方法
-
异常处理不足 Reported severity: Minor
代码片段和流程中缺少对常见异常情况(如文件不存在、图片格式不支持等)的处理机制
Recommendation: 建议增加异常处理逻辑,提高执行可靠性
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.