AI SummaryA skill that automates publishing local Markdown articles to GitHub Pages Jekyll blogs, handling frontmatter conversion, image uploads, and repository pushes via GitHub API. Useful for bloggers and developers who want to streamline their publishing workflow.
Install
Copy this and paste it into Claude Code, Cursor, or any AI assistant:
I want to install the "blog-publisher" skill in my project. Please run this command in my terminal: # Install skill into the correct directory mkdir -p .claude/skills/blog-publisher && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/blog-publisher/SKILL.md "https://raw.githubusercontent.com/maoruibin/blog-publisher/main/SKILL.md" Then restart Claude Code (or reload the window in Cursor) so the skill is picked up.
Description
Publish local markdown files to GitHub Pages blog (Jekyll). Use this skill when the user wants to publish a local markdown article to their GitHub blog, automatically converting frontmatter to Jekyll format, uploading local images, and pushing to the repository via GitHub API.
GitHub Blog Publisher
一键将本地 Markdown 文件发布到 GitHub Pages 博客(Jekyll 格式)。
功能
• 自动解析文件名获取日期和标题 • 转换 Frontmatter 为 Jekyll 格式 • 上传本地图片到 GitHub 仓库 • 通过 GitHub API 推送文章到 _posts 目录
配置方式(推荐):使用 .env 文件
在技能目录创建 .env 文件: `bash cd ~/.claude/skills/blog-publisher cp .env.example .env ` 编辑 .env 文件: `bash
===== 必需配置 =====
GITHUB_BLOG_TOKEN=your_github_personal_access_token GITHUB_BLOG_USER=your_username GITHUB_BLOG_REPO=your_username.github.io GITHUB_BLOG_AUTHOR=你的名字
Discussion
Health Signals
My Fox Den
Community Rating
Sign in to rate this booster