一键导入
blog-new
Create a new blog post. User provides a topic or title, Claude generates content and creates the post.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Create a new blog post. User provides a topic or title, Claude generates content and creates the post.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Edit an existing blog post. Shows current content, applies user-requested changes, and saves.
List all blog posts with metadata. Shows titles, dates, tags, and available languages.
Build, commit, and deploy the blog to GitHub Pages.
| name | blog-new |
| description | Create a new blog post. User provides a topic or title, Claude generates content and creates the post. |
| disable-model-invocation | true |
| allowed-tools | Bash, Read, AskUserQuestion |
| argument-hint | ["title or topic"] |
You are creating a new blog post for this website. Follow these steps:
The user provided: $ARGUMENTS
If the argument is a topic (not a clear title), generate a concise title. Ask the user to confirm or adjust the title.
Use AskUserQuestion to clarify:
Convert the title to a URL-friendly slug:
Write the blog post content in Markdown:
## headings, not # (the title comes from frontmatter)Use the CLI to create the post. Run:
npm run blog -- ai create --slug <slug> --lang zh --title "<title>" --tags "<tag1>,<tag2>" --content "<content>"
For the --content argument, pass the full markdown body. If the content contains special characters or is long, write it to a temp file first and use $(cat /tmp/blog-content.md).
If the user wants both languages, create the zh version first, then create the en version:
npm run blog -- ai create --slug <slug> --lang en --title "<english title>" --tags "<tags>" --content "<english content>"
Show the user:
/blog/<slug>