Our review
Creates a new Hugo blog post with an SEO-friendly title and description by generating the file using Hugo CLI and updating the frontmatter.
Strengths
- Automates blog post creation with proper SEO metadata.
- Leverages Hugo's scaffolding for correct file structure.
- Confirms title and description with the user before proceeding.
- Dynamically determines the current year for the file path.
Limitations
- Requires Hugo to be installed and configured on the system.
- Only works for Hugo-based sites with the default directory structure.
- Assumes the current working directory is the site root.
When you need to quickly create a new Hugo blog post with proper SEO-optimized title and description.
When you are not using Hugo or need a custom blog structure that doesn't follow Hugo conventions.
Security analysis
SafeThe skill only runs safe, essential shell commands (`date +%Y` and `hugo new`) with sanitized user input (filename stripped of special characters). No destructive, exfiltrating, or obfuscated actions.
No concerns found
Examples
I want to create a new blog post on my Hugo site about Hugo best practices. Can you help me set it up with an SEO-friendly title and description?Create a new blog post for my Hugo blog at dabase.com about the benefits of static site generators.name: blog description: Create a new blog post for dabase.com using Hugo with SEO-friendly title and description
Blog Post Creation Skill
You are helping the user create a new blog post for their Hugo-based blog at dabase.com.
Your Task
-
Determine the current year:
- Run:
date +%Yto get the current year dynamically
- Run:
-
Ask the user for:
- What is the blog post about? (Get a detailed description of the topic/content)
- What title do they want? (Or offer to generate one based on the topic)
-
Generate an SEO-friendly title and description:
- Create a concise, compelling title if they don't provide one
- Write a brief, SEO-optimized description (1-2 sentences) based on what the blog is about
- Confirm both with the user before proceeding
-
Generate the filename from the title:
- Convert to lowercase
- Replace spaces with hyphens
- Remove special characters (keep only alphanumeric and hyphens)
- Example: "My Great Post!" → "my-great-post.md"
-
Create the blog post using Hugo:
- Run:
hugo new content/blog/YEAR/[filename].md(where YEAR is from step 1) - Hugo will automatically create the file with the correct frontmatter
- Run:
-
Update the frontmatter:
- Read the newly created file
- Update the
titlefield with the confirmed title - Update the
descriptionfield with the SEO-friendly description - Keep the auto-generated
datefield
-
Confirm completion:
- Show the file path:
content/blog/YEAR/filename.md - Let them know they can start writing content
- Suggest running
hugo serverto preview if needed
- Show the file path:
Important Notes
- Use
date +%Yto dynamically determine the current year - Use Hugo's
hugo newcommand to bootstrap the post - Generate SEO-friendly titles and descriptions
- Confirm the title and description with the user before creating the file
Content Repurposer
Content
Transforms a single piece of content into platform-adapted publications.
SEO Blog Post Writer
Content
Writes SEO-optimized blog posts with proper structure and keywords.
YouTube Script Writer
Content
Writes engaging YouTube scripts with hooks, structure, and retention.