← 返回 Skills 市场
ctf010300-commits

博客发布规则 本项目是 astro-koharu 博客。博客发布规则

作者 ctf010300-commits · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
17
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install wanziyoo
功能描述
automate publishing posts for the user's astro koharu blog on the same server. use when the user asks to publish, draft, generate, classify, tag, or build ma...
使用说明 (SKILL.md)

OpenClaw Astro Blog

Purpose

Use this skill to help publish Markdown posts for the Astro Koharu blog located at /www/wwwroot/www.wanziyoo.com.

This skill defines the blog directory, frontmatter format, AI tagging/classification rules, safe file-operation limits, and build workflow.

Required reference

Before creating or modifying a post, read references/blog-publish-rules.md and follow it strictly.

Workflow

  1. Parse the user's request into title, body, draft intent, optional tags, optional category, and optional cover.
  2. If the user did not provide tags, generate 2 to 5 concise tags using the rules in the reference file.
  3. If the user did not provide a category, choose one category using the classification rules in the reference file.
  4. Generate a lowercase English slug for the Markdown filename.
  5. Create the Markdown file only under /www/wwwroot/www.wanziyoo.com/src/content/blog/ or a subfolder below it.
  6. Do not overwrite an existing file. If the target filename exists, append a date or numeric suffix.
  7. Write complete YAML frontmatter and Markdown body.
  8. Run cd /www/wwwroot/www.wanziyoo.com && pnpm build after creating formal posts.
  9. If the build fails, report the error and do not restart services or perform extra deployment actions.
  10. Return the title, file path, category, tags, build result, and publish status.

Safety limits

Do not read, print, modify, or move secrets such as .env, private keys, tokens, database passwords, or server credentials.

Do not delete existing posts, theme source code, configuration files, node_modules, or system files unless the user explicitly asks and the operation is clearly safe.

Only run commands needed for this workflow. The default allowed command is:

cd /www/wwwroot/www.wanziyoo.com && pnpm build

Output format

After a publish attempt, respond in Chinese using this structure:

文章标题:...
文件路径:...
自动分类:...
自动标签:...
构建结果:成功/失败
是否发布成功:是/否
安全使用建议
Install this only on the server that hosts the intended Astro blog. It appears safe and well-scoped, but it can create persistent posts and run the build command, so confirm the path and build script are correct and trusted.
功能分析
Type: OpenClaw Skill Name: wanziyoo Version: 1.0.0 The skill bundle is designed to automate the creation, tagging, and building of Markdown blog posts for an Astro-based site located at a specific local directory (/www/wwwroot/www.wanziyoo.com). It includes robust safety instructions in SKILL.md and references/blog-publish-rules.md that explicitly forbid accessing secrets, overwriting existing files, or executing unauthorized system commands, limiting the agent's scope to standard blog maintenance and the 'pnpm build' command.
能力评估
Purpose & Capability
The requested capabilities match the stated purpose: create new Astro blog Markdown posts, generate metadata, and build the site. Users should notice that this can publish or update visible website content.
Instruction Scope
The instructions are scoped to user publish/draft requests, restrict writes to the blog content directory, forbid overwriting/deleting by default, and prohibit reading or revealing secrets.
Install Mechanism
There is no install spec and no required binary declaration, but the workflow expects an existing server project and uses pnpm build. This is a setup completeness note, not suspicious behavior.
Credentials
Access to /www/wwwroot/www.wanziyoo.com and the ability to run the build command are proportionate for publishing the specified local Astro blog.
Persistence & Privilege
The skill intentionally creates persistent Markdown files under the blog content directory, but it does not define background agents, service restarts, credential use, or autonomous persistence.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install wanziyoo
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /wanziyoo 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Blog publishing rules
元数据
Slug wanziyoo
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

博客发布规则 本项目是 astro-koharu 博客。博客发布规则 是什么?

automate publishing posts for the user's astro koharu blog on the same server. use when the user asks to publish, draft, generate, classify, tag, or build ma... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 17 次。

如何安装 博客发布规则 本项目是 astro-koharu 博客。博客发布规则?

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

博客发布规则 本项目是 astro-koharu 博客。博客发布规则 是免费的吗?

是的,博客发布规则 本项目是 astro-koharu 博客。博客发布规则 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

博客发布规则 本项目是 astro-koharu 博客。博客发布规则 支持哪些平台?

博客发布规则 本项目是 astro-koharu 博客。博客发布规则 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 博客发布规则 本项目是 astro-koharu 博客。博客发布规则?

由 ctf010300-commits(@ctf010300-commits)开发并维护,当前版本 v1.0.0。

💬 留言讨论