create-blog-post

Creates bilingual blog posts in Agility CMS with image upload and linked content.

1|Updated Jul 7, 2025
One-click install
npx skills add https://github.com/agility/nextjs-demo-site-2026 --skill create-blog-post-agility
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: create-blog-post
Source: https://github.com/agility/nextjs-demo-site-2026/tree/main/.claude/skills/create-blog-post
Command: npx skills add https://github.com/agility/nextjs-demo-site-2026 --skill create-blog-post-agility

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Manually drafting, translating, and publishing blog posts in a headless CMS involves repetitive steps: writing copy, uploading images, linking categories/tags/authors, and maintaining locale versions. This Skill automates the entire workflow from a short topic prompt. ## Core Features & Use Cases - End-to-End Post Creation: Drafts an English (en-us) blog post following brand guidelines, then translates it into French (fr) under the same contentID. - Media Handling: Uploads a hero image to the Agility CMS media library via presigned URLs, or reuses an existing CDN asset, with descriptive alt text in both locales. - Linked Content Management: Selects existing categories, tags, and authors from the CMS and populates the companion ID/Name fields correctly. - Use Case: A content marketer says "Write a blog post about headless CMS trends" with an attached image, and receives a staged English and French post with edit and preview links ready for review. ## Quick Start Ask the assistant to write a blog post about your topic using your attached brand guidelines and hero image, and it will save staged English and French versions in Agility CMS.

Frequently Asked Questions about create-blog-post

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

FAQPage Schema
How do I create a blog post in Agility CMS with AI?▼

Provide a topic prompt, brand guidelines, and a hero image. The Skill drafts the post in English, uploads the image to the media library, links existing categories, tags, and authors, then saves the item via the Agility CMS MCP save_content_items tool.

How do I translate Agility CMS content into French?▼

Save a second version of the same content item using the contentID returned from the English save, but with locale set to fr. The slug, date, and linked content IDs stay identical while the heading, body HTML, and image alt text are translated.

Can I upload images to the Agility CMS media library programmatically?▼

Yes. Call initialize_media_upload to get a presigned uploadUrl, then POST the file with curl. The response contains the CDN URL, which you set as the Image field url along with alt text in the label property.

Does this Skill publish blog posts automatically?▼

No. Posts are saved in Staging state by default and must be reviewed and published in the Agility CMS UI. The Skill explicitly avoids setting the published state unless the user requests it.

What happens if the image upload to Agility CMS fails?▼

The Skill falls back to reusing an existing image URL from the media library and warns the user, rather than saving the post without a hero image.