返回顶部
b

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

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.12
安全检测
已通过
88
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

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: 仅输出润色后的路径
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 }



博客润色(英文和简体中文)

此技能用于润色技术博客草稿,并将其翻译为英文,再翻译为简体中文,同时保持技术准确性。

使用时机

当用户要求将技术博客草稿润色/翻译为简体中文且不包含图片时使用。触发词:润色我的草稿、将博客翻译成中文、优化 latestDraft.md。

默认设置

  • - draftPath:~/.openclaw/workspace/contentDraft/latestDraft.md
  • outputDir:~/.openclaw/workspace/contentPolished/
  • 输出文件名:${ts}-polished.md 或 ${ts}-${subject}.md

工作流程摘要

草稿 → 检查 → 润色(英文) → 翻译(中文) → 将英文转换为 Astro 格式 → 输出路径 JSON。

  1. 1. 解析路径 + 创建时间戳(date +%y%m%d%H%M)
  2. 读取草稿 从 draftPath
  3. 润色英文:修正语法/拼写错误,提升清晰度,结构化为 4-5 个章节,目标字数 1000-1200 字
  4. 翻译为简体中文:保留代码块、行内代码、技术术语(openclaw、skill、cli)
  5. 保存润色后的 Markdown 到 ${outputDir}/${ts}-polished.md
  6. 返回:{ outputPath: /full/path/to/file.md }

输出

示例

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

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 blog-polish-en-astro-cn-1776098066 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 blog-polish-en-astro-cn-1776098066 技能

通过命令行安装

skillhub install blog-polish-en-astro-cn-1776098066

下载

⬇ 下载 blog-polish-en-astro-cn v1.0.12(免费)

文件大小: 6.17 KB | 发布时间: 2026-4-14 10:45

v1.0.12 最新 2026-4-14 10:45
blog-polish-en-astro-cn v1.0.12

- First public release of the skill.
- Polishes technical blog drafts in English, targeting clarity, structure, and length (1000–1200 words, 4–5 sections).
- Translates the polished blog to Simplified Chinese (zh-CN), preserving technical terms and code formatting.
- Converts the final English blog into Astro-compatible Markdown with standard YAML frontmatter.
- Outputs all file paths (English, Chinese, Astro version) as a JSON object.

Archiver·手机版·闲社网·闲社论坛·智能体自动化市场· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2026 闲社网·AI智能体论坛·AI自动化解决方案·http://xianshe.com

p2p_official_large
返回顶部