← 返回 Skills 市场
j3ffyang

blog-polish-eng-single-image

作者 Jeff Yang · GitHub ↗ · v1.0.5 · MIT-0
cross-platform ✓ 安全检测通过
124
总下载
0
收藏
0
当前安装
3
版本数
在 OpenClaw 中安装
/install blog-polish-eng-single-image
功能描述
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.
使用说明 (SKILL.md)

Blog Polish Skill

This skill rewrites a technical blog draft into a polished English article and generates exactly one hero image as a PNG, using one matching hero prompt. It is intended for drafts that already contain technical content, code, commands, or product details that should be preserved while improving clarity, structure, and reading flow.

Purpose

Use this skill when you want to turn a rough technical draft into a publishable article without losing domain-specific detail. The output should read naturally in en-US English, stay faithful to the original meaning, and keep technical terms, identifiers, code blocks, file paths, and command examples intact unless a correction is clearly needed.

This skill generates one hero image only. It does not create per-section images. The single hero image should summarize the whole article visually at a high level and should be consistent with the article’s subject and tone.

When to use

Use this skill when the source draft is one of the following:

  • A technical blog post that needs editing for clarity and flow.
  • A translated draft that should be rewritten into natural en-US English.
  • A markdown article that needs a better structure and cleaner sectioning.
  • A post that should include one matching hero image prompt for later image generation.

Do not use this skill for short notes, changelogs, marketing copy, or posts that do not need technical preservation.

Editing behavior

The rewrite should preserve the author’s intent while improving readability. Prefer shorter paragraphs, clearer transitions, and section headings that guide the reader through the main idea.

Rewrite the article in spoken, unofficial English that feels natural, clear, and conversational, while still preserving technical accuracy.

The skill should:

  • Keep technical terms, product names, API names, file names, and command syntax accurate.
  • Preserve code blocks, inline code, quoted commands, and URLs unless they are obviously wrong.
  • Improve grammar, sentence flow, and article structure.
  • Expand thin or fragmented notes into a coherent article when the source material supports it.
  • Avoid inventing facts, results, benchmarks, or claims that are not present in the draft.

The skill should not:

  • Rewrite code into prose.
  • Remove essential technical details.
  • Add unnecessary marketing language.
  • Split the article into section images or multiple image prompts.

Input fields

draftPath points to the source markdown draft. If omitted, the skill reads the default latest draft file from the workspace. This should contain the original article text, headings, and any code samples that need preservation.

outputDir sets where the polished markdown file and image filename should be saved. If omitted, the skill uses the default polished-content directory.

subject is used to build the output filename. If not provided, the skill should infer a short slug from the article title.

style defines the visual language for the hero image. Use one style phrase consistently so the image matches the article’s mood.

background defines the backdrop for the hero image. Keep it simple and reusable across posts for consistency.

aspectRatioHero controls the hero image shape. Typical values are 16:9 horizontal or similar wide formats suitable for blog headers.

Output

The skill produces one polished markdown file and one hero image prompt.

The polished file should contain:

  • A cleaned-up title.
  • A strong introduction.
  • 3 to 5 content sections, depending on the source material.
  • A concise closing section if appropriate.
  • Preserved technical content where relevant.

The image output should contain:

  • The image file must be written in the same directory as the markdown file and must use the same basename with a .png extension.
  • One hero image filename or intended image path.
  • One single-line hero prompt.
  • A high-level visual summary of the article, not a section-by-section breakdown.

Image policy

This skill intentionally generates one image only.

The image should be:

  • A hero image for the whole article.
  • Visually aligned with the topic and style.
  • Broad enough to represent the subject without depending on individual section contents.
  • Consistent with the same visual style and background settings used across posts.

The image should not be:

  • A separate illustration for each section.
  • A collage of unrelated concepts.
  • Overly literal if the topic is abstract.
  • Packed with too many technical labels or small details.

Workflow

  1. Resolve the draft and output paths.
  2. Read the markdown draft.
  3. Extract the title and basic structure.
  4. Rewrite the article into polished en-US prose.
  5. Save the polished markdown file.
  6. Create one hero image prompt only.
  7. Return the final file path, hero image path, and image prompt.

Constraints

Maintain the meaning of the original draft. If the source contains code snippets, commands, paths, or configuration examples, keep them intact and formatted correctly. If the draft is sparse, improve clarity and organization, but do not fabricate missing technical content.

Keep the article focused and practical. Prefer specific explanations over generic filler. If the article has a narrow technical subject, the hero image should stay broad and conceptual rather than trying to depict every detail.

Example usage

A draft about a Linux file synchronization workflow might be polished into a clear article with headings such as introduction, setup, common pitfalls, and conclusion. The hero image prompt could describe a clean technical illustration showing a laptop, file paths, and subtle sync arrows, but only as one overall image for the post.

Implementation notes

The workflow should emit a single structured output object with these fields:

  • polishedPath
  • imagePath
  • imagePrompt

The image must be written as a PNG file. It must use the same basename as the markdown file and be saved in the same directory as the markdown file. The skill should not emit arrays of images or prompts. It should not reference per-section image generation in the description, schema, or workflow.

Generate the image using OpenClaw’s default image model (agents.defaults.imageModel) unless an explicit image generation model is provided by the environment.

安全使用建议
This skill appears internally consistent and low-risk: it only needs access to your draft and an output directory in the workspace. Before installing, confirm how your agent will produce the PNG (does the agent have an image-generation connector or will it just write a prompt/placeholder?), and test the skill on non-sensitive drafts first. Also verify default paths (~/.openclaw/workspace/...) point to the intended files to avoid accidental exposure of unrelated content. If you rely on an external image API, review that connector's permissions and logs so image data/metadata isn't sent where you don't expect.
功能分析
Type: OpenClaw Skill Name: blog-polish-eng-single-image Version: 1.0.5 The skill is designed to polish technical blog drafts and generate a single hero image. It operates within expected workspace directories (~/.openclaw/workspace/) and follows a clear, non-malicious workflow for text rewriting and image creation. No evidence of data exfiltration, unauthorized execution, or prompt injection attacks was found in SKILL.md or _meta.json.
能力评估
Purpose & Capability
The skill's name and description match the inputs and outputs declared in SKILL.md: it reads a draft markdown (defaulting to a workspace path), rewrites into a polished markdown, and produces one hero-image prompt/PNG path. It requests no binaries, env vars, or credentials unrelated to this task.
Instruction Scope
The runtime instructions stay within the expected scope (editing the draft, preserving code blocks, producing one image prompt and a PNG filename). They rely on default workspace paths (~/.openclaw/workspace/...) which is consistent with content editing. The SKILL.md leaves the actual image-generation mechanism unspecified (it requires a PNG file/path and a single-line prompt but does not name an API or tool), which grants the agent discretion about how the image is produced — this is a functional ambiguity rather than an outright risk, but worth noting.
Install Mechanism
No install spec or code files are present; this is an instruction-only skill so nothing will be written to disk by an installer. Low installation risk.
Credentials
The skill declares no required environment variables, secrets, or config paths. There is no disproportionate credential request.
Persistence & Privilege
Skill flags use defaults (always: false, model invocation allowed). It does not request permanent presence or elevated system-wide privileges.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install blog-polish-eng-single-image
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /blog-polish-eng-single-image 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.5
- Made language guidelines explicit: articles must now use spoken, unofficial English that feels natural and conversational while staying technically accurate. - Added clarification in the "Editing behavior" section, specifying the style of English to be used for rewritten articles. - Stated that image generation should use OpenClaw’s default image mod.
v1.0.4
- The skill now requires the hero image to be saved as a PNG file with the same basename and in the same directory as the polished markdown file. - Documentation clarifies that the image file must be generated, not just a prompt, and explicitly describes the naming/location conventions. - No changes to input/output schemas or triggers. Core functionality and workflow remain unchanged.
v1.0.3
- Updated description and documentation to clarify skill scope: the skill now always produces exactly one hero image prompt per blog post, never per-section images. - Added detailed guidance on preserving technical terms, code, and structure during the polishing process. - Expanded input and output field documentation for clarity, including new fields for hero image style, background, and aspect ratio. - Enforced new image policy: single, high-level hero image aligned with the article’s subject and visual style. - Improved usage examples, editing guidelines, and workflow explanations to prevent misuse for non-technical or marketing content.
元数据
Slug blog-polish-eng-single-image
版本 1.0.5
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 3
常见问题

blog-polish-eng-single-image 是什么?

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. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 124 次。

如何安装 blog-polish-eng-single-image?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install blog-polish-eng-single-image」即可一键安装,无需额外配置。

blog-polish-eng-single-image 是免费的吗?

是的,blog-polish-eng-single-image 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

blog-polish-eng-single-image 支持哪些平台?

blog-polish-eng-single-image 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 blog-polish-eng-single-image?

由 Jeff Yang(@j3ffyang)开发并维护,当前版本 v1.0.5。

💬 留言讨论