Zenn GitHub Publishing Workflow for Openclaw

A professional workflow for managing and publishing Zenn articles and books through GitHub repositories using Markdown and the Zenn CLI.

tachi-koma-x
v0.0.1
Feb 24, 2026
0
899
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install zenn

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install zenn using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Zenn GitHub Publishing Workflow?

This skill provides a robust framework for technical writers and developers to manage their Zenn.dev content directly from a GitHub-connected repository. By treating articles as code, it enables a version-controlled environment where users can draft content in Markdown, manage assets systematically, and use the Zenn CLI for local previews.

This approach, powered by Openclaw Skills, ensures high-quality content delivery through standardized Pull Request workflows and metadata management. It bridges the gap between local development environments and the Zenn publishing platform, making it the ideal choice for developers who prefer a CLI-first writing experience.

Zenn GitHub Publishing Workflow Use Cases

  • Drafting technical articles or books in a local IDE using Markdown.
  • Managing image assets and file structures for Zenn publications systematically.
  • Implementing a review-based publishing cycle using GitHub Pull Requests to prevent accidental leaks.
  • Previewing content locally to ensure formatting and code blocks are correct before going live.

How Zenn GitHub Publishing Workflow Works

  1. Initialize the Zenn CLI within a local clone of your GitHub repository.
  2. Scaffold new articles using standardized templates and kebab-case slugs.
  3. Create content in a feature branch with the published flag set to false in the front matter.
  4. Run local previews via the CLI to verify rendering and asset paths.
  5. Push changes to GitHub and open a PR for review and final quality checks.
  6. Update the front matter to published: true and merge to the production branch to trigger automatic synchronization with Zenn.

Zenn GitHub Publishing Workflow Setup

To get started with this workflow in your repository, ensure you have Node.js installed, then run the following commands to initialize the environment:

npm init --yes
npm install zenn-cli
npx zenn init

After installation, configure your Zenn.dev account to sync with your GitHub repository and specify the target publishing branch.

Zenn GitHub Publishing Workflow Data Schema & Taxonomy

The skill follows the standard Zenn repository structure to ensure compatibility with GitHub sync. Data is organized as follows:

Directory Description
articles/ Contains individual Markdown files for articles.
books/ (Optional) Contains subdirectories for book chapters.
images/ Recommended location for assets, using /images/slug/ naming.

Markdown Front Matter Metadata:

  • title: The display title of the article.
  • emoji: A single Unicode emoji for the article icon.
  • type: Classification as either tech or idea.
  • topics: An array of strings for categorization.
  • published: Boolean flag to control public visibility.

Zenn GitHub Publishing Workflow Advanced Features

  • Support for complex book-length projects with organized multi-file chapter management.
  • Local previewing capabilities that mirror the production Zenn environment exactly.
  • Integration with Openclaw Skills to maintain consistent metadata across different technical writing platforms.
  • Standardized asset management strategy to ensure images are correctly paths and hosted.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*