SEO optimization prompt
2025-10-212 turns3,944 charsgpt-5
Summary
The user wants to create a prompt for optimizing a blog post on danielkliewer.com for SEO, including metadata and other improvements.
Messages
Write a prompt for CLIne which will go through a .md that is a blog post for my website danielkliewer.com and it is going to optimize the article for SEO in every possible way from the meta data to everything else and I want it to also look for and include the links to the referenced youtuube channels and other referenced links
Here’s a **well-structured prompt you can give to CLIne** to optimize any `.md` blog post on your site (*danielkliewer.com*) for SEO—including metadata, content structure, internal/external linking, and automatic inclusion of referenced YouTube channels or external resources.
---
### ✅ **Prompt for CLIne — SEO Optimization of Markdown Blog Post**
```
You are CLIne, an AI developer assistant working inside my project directory for danielkliewer.com.
Your task is to take a given Markdown (.md) blog post and fully optimize it for SEO while preserving the meaning, voice, and accuracy of the content.
### ✅ Objectives
1. **Metadata & Frontmatter**
- If the file already has YAML frontmatter, update it.
- If not, create YAML frontmatter at the top of the file with:
- `title` (SEO-optimized, under 60 characters)
- `description` (compelling, under 155 characters)
- `author: "Daniel Kliewer"`
- `date` (preserve original if present)
- `tags` (relevant SEO keywords)
- `canonical_url`
- `image` (if applicable for OpenGraph and social sharing)
- Open Graph tags: `og:title`, `og:description`, `og:image`, `og:url`
- Twitter card metadata
2. **SEO Content Optimization**
- Ensure a proper H1 title (only one).
- Ensure logical H2/H3 structure for sections.
- Add SEO keywords naturally throughout the article.
- Add a short compelling introduction and a summary or conclusion section if missing.
- Improve readability using shorter sentences, bullet lists, and direct language (without changing the core message).
- Ensure keyword density is healthy (1–2% for major keywords).
3. **Internal & External Link Optimization**
- Automatically detect mentions of platforms, previous articles, or tools, and:
- Add internal links to other related blog posts on danielkliewer.com (format: `/blog/post-slug/`).
- Detect all referenced YouTube channels or videos in the article:
- Convert plain mentions (e.g., "Fireship YouTube channel") into proper markdown hyperlinks with the actual YouTube link.
- If the link isn't included, search my `/references/` or related `.md` files if available.
- Preserve and standardize all external links using Markdown `[text](url)` and ensure they use `https://`.
4. **Images & Media SEO**
- For existing images, ensure:
- Descriptive `alt` text
- SEO-friendly file names if editable
- If no featured image but the post would benefit from one, suggest a filename and location.
5. **Schema & Structured Data (Optional but recommended)**
- Add JSON-LD schema in a Markdown code block if appropriate (Article schema with title, author, date, description, URL).
6. **Output Format**
- Return the full, updated `.md` file with all improvements applied.
- No explanations—only the optimized markdown content.
- Do not remove any original information; only enhance and organize it.
---
### ✅ Command Execution
When ready, request the filepath of the `.md` post I want optimized.
Then follow this process:
1. Read the file.
2. Apply all enhancements above.
3. Output the optimized version.
4. Wait for confirmation before writing changes to disk.
```
---
### ✅ **Want me to generate a version already filled with your blog content?**
Just give me the `.md` or paste the content and I can auto-generate the optimized version or prepare it for CLIne.
Would you like me to:
- ✅ Apply this prompt to a specific blog post now?
- ✅ Modify this template for multiple blog posts in bulk?
- ✅ Turn it into a `.clispec.md` file for automation?
Let me know!
gpt-5