| name | blog-post-writer |
| description | Expert guidance for developing and contributing to Azure Quick Review (azqr) - A Go-based CLI tool for Azure resource compliance analysis |
Blog Post Writer Skill
Description
This skill helps create new technical blog posts for a Hugo-based blog with proper structure, documentation references, and metadata. It leverages the Microsoft Learn MCP server to ensure accurate technical content and proper citations.
Trigger Phrases
- "write a blog post about..."
- "create a new post about..."
- "generate a blog article on..."
- "help me write a post about..."
- "new blog post on..."
Workspace Context
- Blog Engine: Hugo static site generator
- Posts Location:
content/posts/YYYY/ (where YYYY is the current year)
- File Naming:
YYYY-MM-DD-title-slug.md
- Author: Carlos Mendible
Post Structure Requirements
Front Matter (YAML)
Every post must include the following front matter:
---
author: Carlos Mendible
categories:
- azure
date: "YYYY-MM-DD"
description: 'Brief description of the post (1-2 sentences)'
draft: false
tags: ["tag1", "tag2", "tag3"]
title: 'Post Title'
---
Content Structure
-
Introduction (1-2 paragraphs)
- Set the context
- Explain what will be covered
- Use blockquotes (
>) for important notes or highlights
-
Prerequisites (if applicable)
- List required tools, accounts, or knowledge
- Use bullet points for clarity
-
Main Content
- Break into logical sections with H2 headers (
##)
- Use H3 headers (
###) for subsections
- Include code blocks with appropriate language identifiers
- Add explanatory text between code sections
- Use inline code for commands, file names, and technical terms
-
Conclusion (optional)
- Brief summary or closing thoughts
- Often ends with "Hope it helps!"
-
References (REQUIRED)
Instructions for Generating Posts
Step 1: Understand the Topic
- Ask the user for:
- Topic/technology to write about
- Target audience level (beginner/intermediate/advanced)
- Specific scenario or use case
- Preferred categories and tags
Step 2: Research with Microsoft Learn MCP
-
ALWAYS use mcp_microsoft-lea_microsoft_docs_search to find relevant documentation:
Example query: "Azure Kubernetes Service deployment best practices"
-
For code examples, use mcp_microsoft-lea_microsoft_code_sample_search:
Example: Search for relevant code snippets in the target language
-
If detailed information needed, use mcp_microsoft-lea_microsoft_docs_fetch:
Fetch complete documentation pages for in-depth content
Step 3: Generate Metadata
- Create appropriate file name:
YYYY-MM-DD-topic-slug.md
- Generate front matter with:
- Current date
- Descriptive title (capitalize major words)
- Brief description (1-2 sentences)
- Relevant categories (typically 'azure' for Azure content)
- 3-5 specific tags (lowercase, hyphenated if needed)
- Set
draft: false unless user requests draft mode
Step 4: Structure the Content
- Write an engaging introduction (1-2 paragraphs)
- Add Prerequisites section if needed
- Create main content sections:
- Use clear section headers
- Include step-by-step instructions
- Add code blocks with proper syntax highlighting
- Explain each major step
- Use
bash, yaml, python, terraform, bicep, etc. for code blocks
Step 5: Add References (CRITICAL)
- Extract URLs from MCP server responses used during research
- Format as markdown bullet list under
**References:** header
- Include at least 2-3 official Microsoft Learn links
- Additional references can include:
- GitHub repositories
- Official product documentation
- Related tools or resources
Step 6: Review and Validate
Before presenting to user, verify:
Example Workflow
User: "Write a blog post about deploying AKS with Terraform"
Agent Actions:
- Use
mcp_microsoft-lea_microsoft_docs_search with query "Azure Kubernetes Service AKS terraform deployment"
- Use
mcp_microsoft-lea_microsoft_code_sample_search with query "terraform azurerm kubernetes cluster" and language "terraform"
- Generate file name:
2026-02-01-deploying-aks-with-terraform.md
- Create front matter with:
- categories: azure
- tags: ["aks", "terraform", "kubernetes", "infrastructure-as-code"]
- Current date
- Write introduction explaining AKS and Terraform benefits
- Add Prerequisites: Azure subscription, Terraform installed, Azure CLI
- Structure main content:
- Setting up the Terraform configuration
- Defining the AKS cluster resource
- Configuring node pools
- Deploying the infrastructure
- Verifying the deployment
- Add References section with URLs from MCP server responses:
- Microsoft Learn AKS documentation
- Terraform AzureRM provider docs
- AKS best practices guide
Best Practices
Content Style
- Technical but accessible: Assume competent readers but explain concepts clearly
- Action-oriented: Use imperative mood for instructions
- Code-heavy: Include practical, working code examples
- Well-structured: Use headers, lists, and formatting for readability
Documentation Integration
- Leverage MCP server: Always search Microsoft Learn for authoritative information
- Verify accuracy: Use official documentation for technical details
- Cite sources: Every technical claim should have a reference
- Stay current: Prefer latest documentation and API versions
Common Categories
azure - For Azure-related posts
kubernetes - For K8s content
devops - For automation and CI/CD
dotnet - For .NET development
security - For security-focused content
Common Tags Format
- Lowercase
- Hyphenated for multi-word tags (e.g.,
github-actions, azure-functions)
- Product names:
aks, terraform, bicep, azqr, aifoundry
- Technologies:
kubernetes, docker, helm
- Concepts:
infrastructure-as-code, gitops, security
Error Prevention
- Never skip the references section - This is a requirement for every post
- Always use MCP server - Don't rely solely on training data
- Validate file naming - Must follow YYYY-MM-DD-slug.md format
- Check front matter - YAML must be valid and complete
- Verify code blocks - Must have proper language identifiers
- Confirm output path - Posts go in
content/posts/YYYY/ directory
Post-Generation Actions
After generating the post:
- Create the file in
content/posts/YYYY/ where YYYY is current year
- Show the user the generated content
- Offer to:
- Adjust the content
- Add more sections
- Search for additional references
- Change categories or tags
- Set as draft or publish-ready
Notes
- The blog uses Hugo with content organized by year
- Posts from 2009-2025 exist, showing long-running blog
- Technical focus is primarily Azure, Kubernetes, and cloud-native technologies
- Author has consistent writing style: practical, code-focused, ends with "Hope it helps!"