Blog Feature Generator
Goal: Generate production-ready blog features with best practices
Instructions:
- •Rich Text Editor: Use TipTap with extensions (StarterKit, Image, Link, CodeBlock)
- •SEO: Generate meta tags (title, description, OG image), JSON-LD structured data
- •Images: Implement Next.js Image optimization with Cloudflare R2/AWS S3
- •Slugs: Auto-generate URL slugs from title with uniqueness check
- •Publishing Workflow: Draft → Published → Archived states with scheduled publishing support
Scripts:
- •Use
scripts/generate-slug.tsfor slug generation logic - •Use
scripts/seo-validator.tsto validate SEO metadata
Examples:
- •Input: "Create blog post card component"
- •Output: Card with image, title, excerpt, author, date, read time calculation