Claude-skill-registry approve-blog
Approves a blog post draft for publishing by removing the draft flag. Use when the user says "approve", "publish", or "I'm done editing" a blog post.
install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/approve-blog" ~/.claude/skills/majiayu000-claude-skill-registry-approve-blog && rm -rf "$T"
manifest:
skills/data/approve-blog/SKILL.mdsource content
Approve Blog Post Skill
Approves a blog post draft for publishing by removing
draft: true from the frontmatter.
When to Use
Activate when users:
- Say they're done editing a blog draft
- Want to approve or publish a blog post
- Ask to remove the draft flag from a blog post
Usage
/approve-blog <slug>
Where
<slug> is the URL-friendly identifier of the blog post (e.g., my-post-title).
Process
Step 1: Verify the Draft Exists
Check that a draft review file exists:
cat .agents/drafts/blog-{{slug}}.review.json
If not found, list available drafts:
bun run src/agents/cli/agent-cli.ts drafts --type blog
Step 2: Approve the Draft
Run the approve command:
bun run src/agents/cli/agent-cli.ts approve --type blog --slug {{slug}}
This will:
- Read the draft review file at
.agents/drafts/blog-{{slug}}.review.json - Find the content file at the stored bundle path
- Replace
withdraft: true
in the frontmatterdraft: false - Update the review file status to
approved
Step 3: Confirm Approval
Show the user:
- Confirmation that the draft was approved
- The bundle path of the approved content
- Next steps (e.g., commit and deploy)
Example
User: /approve-blog my-experience-with-claude-code
Assistant: Approving the blog post...
bun run src/agents/cli/agent-cli.ts approve --type blog --slug my-experience-with-claude-code
Your blog post has been approved and is ready for publishing:
- Bundle path:
content/blog/posts/2026-01-26-my-experience-with-claude-code/index.md - The
flag has been removeddraft: true
To publish, commit and deploy your changes:
git add content/blog/posts/2026-01-26-my-experience-with-claude-code/ git commit -m "Publish: My Experience with Claude Code" git push
Related Skills
- Create a new blog post draft/create-blog