# create-blog-post

create-blog-post turns a Google Docs Markdown draft into a Home Assistant blog post and can create crossposts that send readers to an article on another site.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 1 install · ★ 10221 repo stars
- Author: home-assistant
- License: CC-BY-SA-4.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/home-assistant/home-assistant.io/tree/HEAD/.claude/skills/create-blog-post/SKILL.md
- Updated: 2026-10-29
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/create-blog-post

## What it does

The skill reads a Markdown draft from `create-blog-post/`, pulls out the title, author, date, category, and Social/OpenGraph fields, then writes a Jekyll-front-matter post under `source/_posts/`. It also removes preparation notes, changes the read-more marker to `<!--more-->`, and formats links for the Home Assistant site.

The `art.*` file becomes the hero and OpenGraph image. Optional `image2.*`, `image3.*`, and later files are processed as additional images. Image conversion uses `cwebp`; external links are changed to HTML links that open in a new tab, while internal Home Assistant links stay in Markdown.

Put a Markdown draft and the required `art.*` image in `create-blog-post/` before running it. Without `art.*`, the skill cannot prepare the hero image; image conversion also depends on `cwebp` being available.

## Requirements
- Works with: Home Assistant, Google Workspace

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add home-assistant/home-assistant.io --skill create-blog-post -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/create-blog-post/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/create-blog-post/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add home-assistant/home-assistant.io --skill create-blog-post -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/create-blog-post/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add home-assistant/home-assistant.io --skill create-blog-post -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/create-blog-post/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install home-assistant/home-assistant.io .claude/skills/create-blog-post
```

2. **Manually: put the files in place**
- File: `.github/skills/create-blog-post/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add home-assistant/home-assistant.io --skill create-blog-post -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/home-assistant/home-assistant.io --path .claude/skills/create-blog-post
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/create-blog-post/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add home-assistant/home-assistant.io --skill create-blog-post -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/home-assistant/home-assistant.io/tree/HEAD/.claude/skills/create-blog-post/SKILL.md

## When to use it
- convert a Google Docs Markdown draft into a Home Assistant post
- extract metadata and build Jekyll front matter
- turn hero and extra images into WebP files
- replace the read-more marker with `<!--more-->`
- format external links to open in a new tab

## Example prompts
- Convert `create-blog-post/draft.md` into a Home Assistant blog post.
- Create a crosspost that redirects readers to the article hosted on another site.
- Run `/create-blog-post` and process `art.*` together with `image2.*`.

## Similar
- [engineering-blog-post](https://affpapa.org/en/nevibecode/skills/engineering-blog-post.md) — skill · 13500 installs
- [blog-analyze](https://affpapa.org/en/nevibecode/skills/blog-analyze.md) — skill · 2800 installs
- [blog-rewrite](https://affpapa.org/en/nevibecode/skills/blog-rewrite.md) — skill · 2700 installs
- [technical-blog-writing](https://affpapa.org/en/nevibecode/skills/technical-blog-writing.md) — skill · 237 installs
- [blog-post-writer](https://affpapa.org/en/nevibecode/skills/blog-post-writer.md) — skill · ★ 114 repo stars
- [nickol-knx](https://affpapa.org/en/nevibecode/mcp/nickol-knx.md) — MCP server · ★ 33 repo stars

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
