blog-publishing-workflow

Coordinate blog drafts through MDX authoring, image generation, and validation.

Updated Nov 1, 2024
One-click install
npx skills add https://github.com/artreimus/ylang-labs-blog --skill blog-publishing-workflow
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: blog-publishing-workflow
Source: https://github.com/artreimus/ylang-labs-blog/tree/main/.agents/skills/blog-publishing-workflow
Command: npx skills add https://github.com/artreimus/ylang-labs-blog --skill blog-publishing-workflow

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill coordinates the full Ylang Labs blog publishing pipeline end-to-end, so a user can turn an idea or draft into a complete, schema-valid MDX post with images, social copy, and (optionally) a draft PR.

Core Features & Use Cases

  • Guided end-to-end sequencing: Orchestrates topic research, calendar tracking, writing guidance, MDX authoring, artwork generation, image cropping, and social copy creation.
  • Repo-native publishing outputs: Produces or updates data/blogs/<slug>.mdx, refs/<slug>/README.md for sourced material, and required image assets in public/static/images/blogs/<slug>/.
  • Optional scheduling and PR publication: Integrates with content-calendar management and publishes as a draft PR when requested.

Quick Start

Use this skill to publish a blog post from your draft by providing your blog title and draft text, and ask it to generate the MDX, required images, and social launch copy for slug creation and validation.

Frequently Asked Questions about blog-publishing-workflow

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

FAQPage Schema
How do I turn a blog draft into a complete MDX post with images and social copy?

To turn a blog draft into a complete MDX post, this skill coordinates research, MDX authoring, image asset generation, cropping, social copy creation, and Contentlayer validation to produce a repository-ready package.

What is the best way to manage a content calendar and submit a draft PR for a new blog post?

Managing a content calendar and submitting a draft PR for a new blog post is handled through the skill's optional scheduling integration, which tracks publication dates and creates GitHub pull requests when requested.

Does this blog publishing workflow validate MDX files against the Contentlayer schema?

Yes, the blog publishing workflow validates MDX files against the repo's Contentlayer schema, verifying that required output files exist with correct paths and image dimensions before completing the handoff.

How do I generate and crop image assets for my blog posts?

You can generate and crop image assets for blog posts by using the skill's visual asset generation step, which outputs required images to the public/static/images/blogs/<slug>/ directory with correct dimensions.

What file structure is required for publishing MDX blog posts in this workflow?

The required file structure for publishing MDX blog posts includes data/blogs/<slug>.mdx for the post, refs/<slug>/README.md for sourced material, and image assets in public/static/images/blogs/<slug>/.

Can I use this workflow to create social media launch copy for my articles?

Yes, you can use this workflow to create social media launch copy for articles, as it includes a dedicated social copy creation step that runs alongside MDX authoring and visual asset generation.