One-click install
npx skills add https://github.com/chasemccoy/scripts --skill blogging
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: blogging
Source: https://github.com/chasemccoy/scripts/tree/main/skills/blogging
Command: npx skills add https://github.com/chasemccoy/scripts --skill blogging

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Managing blog posts stored as Markdown files and ensuring consistent frontmatter and structure can be tedious, error-prone, and hard to scale as content grows.

Core Features & Use Cases

  • List all posts with dates, slugs, and titles (when present) by scanning the ~/Repositories/www/posts location.
  • Search posts by slug, title, or content to quickly locate entries.
  • Create new posts with a slug and optional title, edit existing posts while preserving YAML frontmatter, and convert single-file posts to folder-based posts to support assets and structured organization.

Quick Start

Create a new post with a slug and optional title using the blog CLI, then edit content as needed.

Frequently Asked Questions about blogging

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

FAQPage Schema
How do I manage blog posts stored as Markdown files via a CLI?

You can manage Markdown blog posts via a CLI by searching, creating, editing, and listing entries located in your local posts directory. The CLI reads and preserves YAML frontmatter while parsing dates and slugs directly from filenames to maintain structure.

How does a CLI preserve YAML frontmatter when editing Markdown files?

Preserving YAML frontmatter during Markdown edits is handled by parsing the metadata block separately from the body content. The CLI reads the existing frontmatter, applies edits only to the post content, and reassembles the file without losing metadata.

How do I convert a single-file Markdown post to a folder-based structure?

Converting a single-file Markdown post to a folder-based index structure is supported directly by the CLI. This process transforms a standalone file into a directory containing an index file, allowing you to organize assets alongside the post content.

Can I create a new Markdown blog post with a custom slug and optional title?

Creating a new Markdown blog post with a custom slug and optional title is fully supported. The CLI generates the file in the designated posts directory, using the provided slug for the filename and embedding the title in the YAML frontmatter if specified.

What is the best way to search for existing Markdown posts by content or slug?

The best way to search Markdown posts by slug, title, or content is using the built-in CLI search functionality. It scans the local posts directory and matches queries against filenames, frontmatter titles, and the body text of the Markdown files.

Do I need a specific directory structure to manage Markdown posts with a CLI?

You need a specific directory structure to manage Markdown posts, as the CLI targets the ~/Repositories/www/posts location. Both single-file posts and folder-based posts are supported within this directory, enabling flexible content organization.