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 technical terms and code blocks. Then convert the English edition into Astro markdown compatible

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "blog-polish-en-astro-cn" with this command: npx skills add j3ffyang/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.md
  • outputDir: ~/.openclaw/workspace/contentPolished/
  • Output filename: ${ts}-polished.md or ${ts}-${subject}.md

Workflow Summary

Draft → Check → Polish (EN) → Translate (ZH) → Convert EN to Astro format → Emit path JSON.

  1. Resolve paths + create timestamp (date +"%y%m%d%H%M")
  2. Read draft from draftPath
  3. Polish English: Fix grammar/spelling, improve clarity, structure into 4-5 sections, target 1000-1200 words
  4. Translate to zh-CN: Preserve code blocks, inline code, technical terms (openclaw, skill, cli)
  5. Save polished markdown to ${outputDir}/${ts}-polished.md
  6. Return: { outputPath: "/full/path/to/file.md" }

Output

Example

Input: ~/.openclaw/workspace/contentDraft/latestDraft.md
{ "outputPath": "~/.openclaw/workspace/contentPolished/2603142134-openclaw-skills.md" }

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Find Skills for ClawHub

Search for and discover OpenClaw skills from ClawHub (the official skill registry). Activate when user asks about finding skills, installing skills, or wants...

Registry SourceRecently Updated
9171Profile unavailable
General

Multi Find Skills(技能搜索全能版)

技能搜索全能版 | Multi Find Skills 触发场景:用户询问"有什么技能可以帮我..."、"找一个能做X的技能"、"有没有技能可以..."、"帮我搜一下XXX相关的技能"、"search for skill"、"找技能" 功能:三生态(ClawHub+LobeHub+skills.sh)搜索+质量核...

Registry SourceRecently Updated
1351Profile unavailable
General

Clawhub Publish Howto

发布技能到 ClawHub 的完整流程与故障排查。当需要发布、更新、调试 OpenClaw skill 到 ClawHub 时使用。包含账号准备、认证配置、发布命令、常见错误排查。

Registry SourceRecently Updated
820Profile unavailable
General

OpenClaw Model Usage (Linux)

Track OpenClaw AI token usage and cost per model on Linux by parsing session JSONL files. Use when asked about: token usage, API cost, how much has been spen...

Registry SourceRecently Updated
700Profile unavailable