一键导入
blog-edit-post
Edit blog posts with list-first selection, freeform edits, optional image changes, and publish confirmation
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Edit blog posts with list-first selection, freeform edits, optional image changes, and publish confirmation
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Generate or execute Git commits on Windows with a required emoji prefix, conventional commit type, and short Chinese summary. Use when the user asks to write a commit message, create a commit, submit local changes, or "帮我提交/生成 git commit". Apply this skill when Codex needs to inspect changed files, choose a commit type, build a message in the required `emoji + type + 描述` format, commit with Windows-side Git in PowerShell, and then ask whether to review the patch quality for patch-on-patch cleanup or refactoring.
用于管理 wzh001create Hugo 站点的内容发布流程。适用于导入、编辑、发布或删除 `content/posts/` 下的 Markdown 文章并同步 front matter 与图片;新增或更新独立 HTML 页面及其 `content/specials/` 包装页;以及创建、更新、发布 `skills/` 下的可复用技能,补齐 `skill.json`、`agents/openai.yaml`、生成技能库页面、zip 压缩包与上线校验。
用于通过 OpenOCD 和 ST-Link 对 STM32 目标进行烧录、复位或基础调试。Use this skill for OpenOCD plus ST-Link flashing, reset handling, verified programming, and basic debug bring-up on STM32 targets.
用于 Windows 上的 Qt/C++ 项目构建、环境排错、qmake/CMake 识别、MinGW/Qt 路径修复、VSCode tasks.json 和 launch.json 生成、编译后在 VSCode 中打开并进入调试。适用于需要处理 Qt 构建失败、PATH 污染、uic/moc/rcc 缺失、g++/cc1plus 不可用、区分 qmake 与 CMake、为现有 Qt 项目补齐 VSCode 调试配置的场景。Keywords: Qt, qmake, CMake, MinGW, MSVC, VSCode, launch.json, tasks.json, debug, build.
用于 STM32 固件工程的 CMake 或 CMakePresets 检查、配置、编译与产物确认。Use this skill for STM32 firmware projects that need CMake preset inspection, configure/build loops, and artifact validation on Windows PowerShell.
用于通过 UART 日志确认 STM32 固件运行状态或分析运行时问题。Use this skill for STM32 runtime validation from UART logs, baud selection, startup checks, timestamp correlation, and structured serial analysis.
| name | blog-edit-post |
| description | Edit blog posts with list-first selection, freeform edits, optional image changes, and publish confirmation |
Edit existing blog posts with list-first selection, freeform user requests, and optional publishing.
Use this skill when the user wants to:
Use Bash to list markdown files and extract titles:
cd ~/wzh_blog/my-blog/content/posts
ls -1 *.md
For each file:
grep "^title:" <filename> | head -1
Show a numbered list:
📚 当前博客文章列表:
1. Git 常用命令速查手册
文件: git-commands-reference.md
共 1 篇文章
Accept:
If multiple matches, list them and ask to clarify.
Goal: Apply the user's request directly when clear. Only ask follow-ups if the request is ambiguous.
Examples:
If the user did not specify what to edit, ask:
你想修改哪一部分?
1. 标题/标签/分类/日期
2. 正文内容
3. 图片
Read the front matter only (first 40 lines):
filePath: <article-file>
offset: 0
limit: 40
Use Edit tool to update specific fields:
Example update:
title: "旧标题" → "新标题"
tags: ["旧"] → ["新1", "新2"]
Use Edit tool to apply focused changes. Prefer targeted replacements instead of rewriting the whole file.
When user provides a specific change, apply it directly.
If the user asks to add/remove/rename images:
static/images/<article-name>/After edits, ask:
是否立即发布到 GitHub?
- 是 - 立即提交并推送
- 否 - 稍后手动发布
cd ~/wzh_blog/my-blog
git add -A
git commit -m "chore: 更新文章《<article-title>》"
git push
✅ 编辑完成!
📄 文件:content/posts/<article-name>.md
🚀 已推送到 GitHub(如果选择发布)