
Claude-Powered News Pipeline: From API Call to Production Markdown in One Script
Running an AI news site means generating content every single day. I automated the entire workflow: one command produces 4 validated, formatted, publication-ready markdown files. Claude API + shell script + MCP file access + git hooks. Here is how each piece fits together. The One-Command Target The goal was simple: type "generate 4 AI news for 2026-03-14" and get finished markdown files committed to the repo. Not ChatGPT-quality drafts that need editing — production-ready content with correct frontmatter, validated structure, and consistent tone. Structured News Generation Prompts The prompt that produces publishable content: "Write 4 AI news articles in Korean for 2026-03-14. Each article: Title: 40-60 characters, keyword-rich, no clickbait Body: 3-4 paragraphs, lead with the key fact, close with outlook Tags: ['AI', 'News'] required + 2-3 company/tech names Filename: date-keyword-2-3-words.md format Do not cover: rumors, speculation, stock-related content Focus on: technical advance
Continue reading on Dev.to
Opens in a new tab


