Agent skill
blog-adding
Add a new English blog post to this Docusaurus site from a staging Markdown file and assets.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/development/blog-adding
SKILL.md
Add an English Blog Post
Use this skill when the user asks to add a new blog post
Steps
- Choose a blog folder name
YYYY-MM-DD-short-slug(use the current date unless the user specifies one). - Create
blog/<folder>/index.mdwith 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.mdafter the front matter and cover. - Copy referenced images/assets into
blog/<folder>/and ensure all./imagelinks resolve. - Pick a cover image.
- Copy the cover into
static/img/blogs/<folder>/cover.<ext>for the meta image path. - Add a zh placeholder for English-only posts:
- Create
i18n/zh/docusaurus-plugin-content-blog/<folder>/index.mdwith:--- unlisted: true ---
- Create
- Remove the staging folder if the user requests it.
Notes
- No Docusaurus config changes are required; the blog plugin picks up new folders automatically.
- Keep file paths and front matter ASCII-safe; avoid introducing new non-ASCII unless required.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?