/install blog-polish-en-astro-cn
title: "${title:-Generated by OpenClaw}" date: $(date -Iseconds) tags: ${tagsYAML} image: ./hero.png
$(cat "$polishedFile") EOF
mkdir -p "${outputDir}/${ts}-${slug}/images/"
save_state outputPath "$outputFile"
- name: finalize description: Emit polished path only run: |
outputPath=$(load_state outputPath)
jq -n --arg outputPath "$outputPath" '{ outputPath: $outputPath }'
engOutputPath=$(load_state engOutputPath)
chnOutputPath=$(load_state chnOutputPath)
outputPath=$(load_state outputPath)
jq -n \
--arg engOutputPath "$engOutputPath" \
--arg chnOutputPath "$chnOutputPath" \
--arg astroPath "$outputPath" \
'{ engOutputPath: $engOutputPath, chnOutputPath: $chnOutputPath, astroPath: $astroPath }'
Blog Polish (en-US and zh-CN)
This skill polishes a technical blog draft and translates it to English and then Simplified Chinese while preserving technical accuracy.
When to Use
Use when the user asks to polish/translate a technical blog draft to zh-CN without images. Triggers: "polish my draft", "translate blog to Chinese", "enhance latestDraft.md".
Defaults
draftPath:~/.openclaw/workspace/contentDraft/latestDraft.mdoutputDir:~/.openclaw/workspace/contentPolished/- Output filename:
${ts}-polished.mdor${ts}-${subject}.md
Workflow Summary
Draft → Check → Polish (EN) → Translate (ZH) → Convert EN to Astro format → Emit path JSON.
- Resolve paths + create timestamp (
date +"%y%m%d%H%M") - Read draft from
draftPath - Polish English: Fix grammar/spelling, improve clarity, structure into 4-5 sections, target 1000-1200 words
- Translate to zh-CN: Preserve code blocks, inline code, technical terms (
openclaw,skill,cli) - Save polished markdown to
${outputDir}/${ts}-polished.md - Return:
{ outputPath: "/full/path/to/file.md" }
Output
Example
Input: ~/.openclaw/workspace/contentDraft/latestDraft.md
{ "outputPath": "~/.openclaw/workspace/contentPolished/2603142134-openclaw-skills.md" }
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install blog-polish-en-astro-cn - 安装完成后,直接呼叫该 Skill 的名称或使用
/blog-polish-en-astro-cn触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
blog-polish-en-astro-cn 是什么?
Polish and translate a technical blog draft into a 1000–1200 word, 4-5 section Markdown article in English and Simplified Chinese (zh-CN), preserving technic... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 98 次。
如何安装 blog-polish-en-astro-cn?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install blog-polish-en-astro-cn」即可一键安装,无需额外配置。
blog-polish-en-astro-cn 是免费的吗?
是的,blog-polish-en-astro-cn 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
blog-polish-en-astro-cn 支持哪些平台?
blog-polish-en-astro-cn 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 blog-polish-en-astro-cn?
由 Jeff Yang(@j3ffyang)开发并维护,当前版本 v1.0.12。