Blog Post Creation Guide for AI Assistants
This document outlines the process for creating a new blog post for the jessecampbell-ai.com website. Please follow these instructions carefully.
1. File Location
All blog post files must be created in the /home/jesseakc/code/jessecampbell-ai-website-main/src/posts/
directory.
2. File Naming Convention
Use a clear and consistent naming convention for each post:
YYYY-MM-DD-a-short-url-friendly-title.md
- YYYY-MM-DD: The full date of publication.
- a-short-url-friendly-title: A 3-5 word, lowercase, hyphen-separated version of the post's title (this is the "slug").
- .md: The file extension for Markdown.
Example: For a post titled "My First Journey into AI" written on August 10, 2025, the filename would be 2025-08-10-my-first-journey-into-ai.md
.
3. File Format and Content
Each file is a Markdown document with a required YAML frontmatter block at the very top.
Frontmatter
The frontmatter is used to add metadata to each post. It must contain the following fields:
---
title: "The Full Title of the Blog Post"
date: "YYYY-MM-DD"
author: "Jesse Campbell"
summary: "A concise, one-sentence summary of the article's main point."
---
title
: The full, human-readable title of the post.date
: The publication date, matching the date in the filename.author
: This should always be "Jesse Campbell".summary
: A brief (1-2 sentence) description of the post content.
Body Content
The rest of the file is the body of the blog post, written in standard Markdown. You can use headings, lists, bold/italic text, links, and other Markdown features.
Workflow Summary
- Confirm the title and content for the new blog post with the user.
- Generate a filename based on the current date and title.
- Create a new
.md
file in thesrc/posts/
directory. - Add the complete frontmatter block with the correct metadata.
- Add the blog post content in Markdown below the frontmatter.
- Save the file.