Agent skill
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 this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/approve-blog
SKILL.md
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
draft: truewithdraft: falsein the frontmatter - 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
draft: trueflag has been removed
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-blog- Create a new blog post draft
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?