deploy
星标0
分支0
更新时间2026年1月3日 12:43
Deploy the blog to GitHub Pages. Use when user says "deploy", "部署", or wants to publish the blog.
安装
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
SKILL.md
readonly菜单
Deploy the blog to GitHub Pages. Use when user says "deploy", "部署", or wants to publish the blog.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Polish and improve blog post writing. Use when user says "improve writing", "潤飾文章", "改善文筆", "優化文章", or wants writing feedback/editing on a blog post draft.
Create a new blog post. Use when user says "new post", "新文章", "新增文章", or wants to start writing a new article.
| name | deploy |
| description | Deploy the blog to GitHub Pages. Use when user says "deploy", "部署", or wants to publish the blog. |
| allowed-tools | Bash(hugo:*), Bash(git:*), Bash(cd:*), Bash(make:*), Bash(date:*), Bash(grep:*), Read, Edit, Glob, AskUserQuestion |
在執行 deploy 之前,先檢查準備發布的文章:
grep -l "draft: false" blog/content/post/*.md 找出非草稿文章description 是否為空description 為空,詢問用戶是否要補上描述date "+%Y-%m-%dT%H:%M:%S+08:00" 取得當前時間,更新發布時間(如果用戶要求)make deploy(會自動 build + commit + push)cd /home/davidleitw/Desktop/davidleitw.github.io/blog
make deploy
告訴用戶: