with one click
blog-adding
Add a new blog post to this Docusaurus site from a staging folder.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Add a new blog post to this Docusaurus site from a staging folder.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
| name | blog-adding |
| description | Add a new blog post to this Docusaurus site from a staging folder. |
Use this skill when the user asks to add a new blog post
Choose a blog folder name YYYY-MM-DD-short-slug (use the current date unless the user specifies one).
Create blog/<folder>/index.md with front matter:
description: short summary stringslug: URL slug without dateimage: /img/blogs/<folder>/cover.<ext>tags: array (e.g. [MoonBit])Add the H1 title and insert a cover image near the top: .
Copy the staging Markdown content into the blog index.md after the front matter and cover.
If the post includes videos, follow the existing pattern (see blog/2024-04-18-ai-coding):
.mp4 (or .webm) files in blog/<folder>/.import statements at the top of index.md.<video controls src={videoImport} style={{width: '100%'}}></video> in the body.Copy referenced images/assets into blog/<folder>/ and ensure all ./image links resolve.
Pick a cover image.
Copy the cover into static/img/blogs/<folder>/cover.<ext> for the meta image path.
If the staging post is English-only, Add a zh placeholder for English-only posts:
Create i18n/zh/docusaurus-plugin-content-blog/<folder>/index.md with:
---
unlisted: true
---
If the staging post includes Chinese content, Repeat steps 2-6 for the Chinese version in i18n/zh/docusaurus-plugin-content-blog/<folder>/index.md.
Remove the staging folder