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
Always provide suggestions rather than forcing changes. Authors should have final say on titles and descriptions.Maintain Brand Voice
When generating content, ensure it matches your company’s brand voice and tone. Include brand guidelines in your automation prompts.Check for Consistency
Automate checks for consistent terminology, formatting, and style across documentation.Generate, Don’t Replace
Use AI to generate first drafts or suggestions, but human review should always be part of the workflow for published content.SEO Best Practices
Include SEO best practices in your automation prompts:- Target keyword placement
- Character limits for titles and descriptions
- Meta tag optimization
- Social media preview optimization