Install
openclaw skills install zennPublish Zenn articles by managing Markdown in a GitHub-connected repository (push/PR -> merge) and previewing with Zenn CLI.
openclaw skills install zennZenn publishes by syncing a GitHub repository. Articles/books are Markdown files placed in specific directories, and Zenn CLI helps you preview and scaffold content locally.
This skill defines an operational workflow that is both fast and safe:
published: false)zenn preview)published: true once the PR is readytech or idea), topics, publishedimages/<slug>/...)articles/ as individual .md files.books/.Recommended repo layout:
.
├─ articles/
│ └─ 20260216-openclaw-to-zenn.md
├─ books/ # optional
└─ images/ # optional, recommended
└─ openclaw-to-zenn/
├─ cover.png
└─ diagram.png
If Zenn CLI is not set up yet in the repo:
npm init --yes
npm install zenn-cli
npx zenn init
npx zenn preview
npx zenn new:article
npx zenn new:book
npx zenn list:articles
npx zenn list:books
Create articles/<slug>.md:
---
title: "記事タイトル"
emoji: "🧩"
type: "tech" # tech or idea
topics: ["ruby", "rails", "ai"]
published: false
---
## TL;DR
- ...
- ...
- ...
## 背景
...
## 実装 / 検証
...
## 学び
...
## 参考
- ...
Notes:
##.articles/<slug>.md (keep published: false)images/<slug>/...npx zenn preview
git checkout -b article/<slug>
git add articles/<slug>.md images/<slug>/
git commit -m "Add draft: <title>"
git push -u origin article/<slug>
Open a PR into the Zenn publishing branch.
Option A (safest): publish in a second tiny PR/commit
published: false)published: true and merge a small PROption B (fast): publish in the same PR
published: false during writing/reviewtrue right before mergingBefore setting published: true, verify:
npm install zenn-cli@latest
/images/<slug>/... (not ./images/...)articles/published: truearticles/ will not publish as expected.