Overview
Content and documentation automations help maintain high-quality content with less manual effort. These automations can generate metadata, check for consistency, and enhance SEO.Example: Blog Post Frontmatter Generator
Use Case: Automatically generate SEO-friendly metadata for blog posts. How it works:- Triggered when a PR adds or modifies markdown files in the blog directory
- Reads the blog post content
- Generates title suggestions, descriptions, and tags
- Updates the frontmatter in the file
- Comments on the PR with the suggestions
blog/**/*.md
Prompt Template:
- Keep titles under 60 characters for SEO
- Descriptions should be compelling and include keywords
- Use markdown formatting in descriptions sparingly
- Include publication date and author metadata
Tips for Content & Documentation Automations
- Respect author intent - Provide suggestions rather than forcing changes; authors have final say
- Maintain brand voice - Include brand guidelines in prompts to ensure tone consistency
- Check for consistency - Automate checks for terminology, formatting, and style
- Generate, don’t replace - Use AI for drafts and suggestions, with human review for published content
- Follow SEO best practices - Include keyword placement, character limits, and meta tag optimization in prompts