content-author

Scaffold blog posts with frontmatter and MDX structure.

2|Updated Jul 21, 2017
One-click install
npx skills add https://github.com/zachbwh/zachhuxford.net --skill content-author-zachbwh
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: content-author
Source: https://github.com/zachbwh/zachhuxford.net/tree/main/.claude/skills/content-author
Command: npx skills add https://github.com/zachbwh/zachhuxford.net --skill content-author-zachbwh

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill simplifies the creation and ongoing maintenance of blog content by automatically scaffolding new posts, setting up frontmatter, and guiding image/assets structure.

Core Features & Use Cases

  • Blog post scaffolding: generate the folder structure src/content/blog/<slug>/ with index.mdx and placeholder frontmatter.
  • Frontmatter guidance: populate title, description, publishedTime, authors, thumbnail, and thumbnailAlt fields.
  • Asset and MDX workflow: outline how to place images alongside posts and how MDX content is organized.

Quick Start

Scaffold a new blog post using a topic to derive the slug, and populate the frontmatter with title, description, publishedTime, authors, and thumbnail.

Frequently Asked Questions about content-author

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

FAQPage Schema
How do I scaffold a new blog post with frontmatter and MDX structure?

To scaffold an MDX blog post, generate the folder structure src/content/blog/<slug>/ containing an index.mdx file. This process automatically establishes the required frontmatter fields, including title, description, publishedTime, authors, and thumbnail details.

What frontmatter fields do I need for an Astro blog post?

Astro blog posts require specific frontmatter fields for proper content management. You need to populate title, description, publishedTime, authors, thumbnail, and thumbnailAlt within your MDX files to ensure correct scaffolding and asset organization.

How should I manage image assets alongside MDX blog content?

Managing image assets involves placing images directly alongside your MDX blog posts within the generated content directory. This workflow ensures your thumbnail references and alt text in the frontmatter correctly map to your structural assets.

Can I automatically generate a topic-driven slug for my blog content?

Yes, you can derive a topic-driven slug automatically during the blog post scaffolding process. This creates a consistent folder structure under src/content/blog/ and integrates the slug directly into your content directory path.

What is the best way to maintain consistent frontmatter across multiple blog posts?

The best way to maintain consistent frontmatter is through automated scaffolding for each new blog post. This enforces a standardized MDX structure, ensuring fields like publishedTime, authors, and thumbnail references remain uniform across all entries.