approve-blog

Remove the draft flag from blog post frontmatter and output the content bundle path.

Updated Feb 14, 2025
One-click install
npx skills add https://github.com/pwarnock/pwarnock.github.io --skill approve-blog
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: approve-blog
Source: https://github.com/pwarnock/pwarnock.github.io/tree/main/.claude/skills/approve-blog
Command: npx skills add https://github.com/pwarnock/pwarnock.github.io --skill approve-blog

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill streamlines the publishing workflow by removing the draft flag from blog posts, ensuring drafts are clearly marked as ready for review and publication.

Core Features & Use Cases

  • Approves a blog draft by toggling draft: true to draft: false in the post frontmatter.
  • Verifies the draft exists, finds the corresponding content bundle, and outputs the path for publishing.
  • Keeps a clear audit trail via an associated review file to support collaboration and deployment.

Quick Start

Run the approve-blog command with the slug of your blog post to mark it as ready for publication.

Frequently Asked Questions about approve-blog

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

FAQPage Schema
How do I remove the draft flag from blog post frontmatter for publishing?

To remove the draft flag from blog post frontmatter, use the approve-blog command with the post slug. It toggles draft: true to draft: false and outputs the content bundle path ready for publishing.

What does setting draft to false in frontmatter do to a blog post?

Setting draft to false in frontmatter marks the blog post as ready for review and publication. The skill verifies the draft exists, finds the content bundle, and outputs the path for the publishing workflow.

How do I approve a blog draft using a slug identifier?

You approve a blog draft by running the approve-blog command with the post slug as an argument. The operation requires an existing draft tracked in the project's review system to successfully update the frontmatter.

Do I need an existing draft review file to approve a blog post?

Yes, you need an existing draft tracked in the project's draft review system. The skill verifies the draft exists before removing the draft flag and keeps an audit trail via an associated review file for collaboration.

Can I publish a blog draft in one step without manually editing frontmatter?

Yes, the skill streamlines the publishing workflow by removing the draft flag in one step. Instead of manually editing frontmatter, you pass the slug argument to toggle the draft status and get the content bundle path.

Why does my blog draft approval fail when the post slug is not found?

Blog draft approval fails when the slug does not match an existing draft in the project's review system. The skill requires a valid slug argument and an existing draft to locate the content bundle and perform the frontmatter update.