publish

Generate platform-adapted content formats and deploy blog posts via Git.

1|Updated Dec 29, 2024
One-click install
npx skills add https://github.com/littlewwwhite/littlewwwhite.github.io --skill publish-littlewwwhite
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: publish
Source: https://github.com/littlewwwhite/littlewwwhite.github.io/tree/main/.claude/skills/publish
Command: npx skills add https://github.com/littlewwwhite/littlewwwhite.github.io --skill publish-littlewwwhite

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines the process of publishing blog posts across multiple platforms by generating platform-adapted content and automating deployment.

Core Features & Use Cases

  • Automated Content Adaptation: Transforms a single blog post into formats suitable for Zhihu, Xiaohongshu, X (Twitter), Douyin, and more.
  • Deployment Automation: Publishes the Hugo blog post and handles Git commits and pushes.
  • Use Case: After writing a technical blog post, use this Skill to automatically create concise social media snippets, detailed article versions for platforms like Zhihu, and even script outlines for short videos, all from your original Markdown file.

Quick Start

Use the publish skill to prepare and deploy the blog post located at content/posts/250315/index.md.

Frequently Asked Questions about publish

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate cross-posting blog content to social media platforms?

Automating cross-posting involves transforming a single Markdown source into platform-adapted formats for Zhihu, Xiaohongshu, X, and Douyin. This Skill generates article, dynamic, imagetext, and video scripts from one file to streamline multi-platform publishing.

How do I deploy a Hugo blog post using Git automatically?

To deploy a Hugo blog post automatically, the publishing workflow validates frontmatter, commits changes, and pushes to Git. This process builds the static site and creates a browser preview to verify the deployment before finalizing.

Can I generate short video scripts from my existing Markdown blog posts?

Yes, you can generate short video scripts from Markdown blog posts. The content adaptation process transforms your original technical article into script outlines suitable for short video platforms like Douyin.

Do I need Hugo to automate my blog publishing workflow?

Yes, Hugo is required for blog deployment within this workflow. The automation process relies on Hugo to build the static site and manage Git commits, ensuring the Markdown content is properly deployed.

What is the best way to adapt a technical article for Xiaohongshu and Zhihu?

The best way to adapt a technical article for Xiaohongshu and Zhihu is to use a cross-platform publishing tool. It automatically generates concise social media snippets and detailed article versions from a single source Markdown file.

Why does cross-platform publishing require frontmatter validation?

Cross-platform publishing requires frontmatter validation to ensure the Markdown metadata is correctly formatted before deployment. This step prevents deployment failures and ensures the generated content formats properly across all target platforms.