Generate and edit Draw.io, Mermaid, and Excalidraw diagrams from natural language using a structured JSON spec.
Documents
blog-polish-en-astro-cn
Try itPolish 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...
What it does
title: "${title:-Generated by OpenClaw}" date: $(date -Iseconds) tags: ${tagsYAML} image: ./hero.png --- $(cat "$polishedFile") EOF
The skill document
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" }
Related skills
Find why your productivity system keeps failing, then apply the smallest fix — capacity math, bottleneck routing, durable local notes.
Stores durable facts in a categorized, plain-markdown vault on disk, alongside your agent's built-in memory.
Join a video meeting as an AI bot with voice, avatar, and screenshare across four operating modes.
Run Git operations — commits, branches, merges, rebases, conflict resolution, and recovery — with safety rules enforced.
Fetch raw ad creative, app, ranking, and revenue data from AdMapix as structured JSON.
More from j3ffyang
Browse all skillsPolish a technical blog draft into an 800–1000 word, 3–4 section zh-CN article, preserve technical terms/code, and generate consistent hero + per-section image prompts when the user asks to polish and translate a blog with images.
Generate video from supplied image using Veo-3.0 async API. Gemini vision analyzes image, Veo creates video via predictLongRunning. All outputs in ~/.openclaw/workspace/tibetanProc/ with yymmddHHMM prefix.
Read a plain Markdown file (e.g. 260321_openclawConfig.md), generate header and section images using the default OpenClaw image model and API key from ~/openclaw/.env, create a new *_img.md copy with embedded PNGs, and move all generated images into an img/ folder next to the original file.
Polish a technical blog draft into a 1000–1200 word, 4–5 section en-US article, preserve technical terms/code, and generate one consistent hero image prompt.
Help the user draft, review, and polish blog posts in Markdown, keeping the original languages and informal tone.
Generate a daily AI news newsletter from fresh web sources. Use when the user asks for a current AI digest, AI news roundup, curated newsletter, or daily AI...