blog-hexo
Installation
SKILL.md
blog-hexo Skill
Use this skill to manage the entire Hexo workflow:
- Draft mode: create or update Markdown with
published: falsefront matter so it remains a draft. - Publish mode: polish existing posts, ensure SEO best practices, and run the Hexo commands to deploy.
Requirements
- Node.js + npm/npx installed locally (Hexo CLI depends on Node 18+).
- Hexo CLI available (
npx hexo ...). - Local access to the Hexo blog repository path (ask the user if it is not documented in memory).
- Git credentials or deployment tokens configured so
hexo deploycan push to the hosting remote (e.g., GitHub Pages). - Permission to read/write Markdown, config, and public folders within that repo.
- Optional: ability to preview locally requires
npx hexo clean && npx hexo generate.
Draft Mode
Use this skill whenever the user wants to draft a Hexo blog post that should not publish yet.
Front Matter Template
Always start new drafts with this exact block (update values as needed):