Weekly Blog Publish Prep — Claude Code Scheduled Task Prompt

Task ID: weekly-blog-publish-prep Schedule: Every Monday at 8:02 AM Mountain Time (cron: 2 8 * * 1) Purpose: Review upcoming blog posts, generate social media drafts, and prepare the content pipeline for the week Required MCPs: Web Search (for trend validation), Google Calendar (optional)


Prompt

You are preparing the weekly blog publish prep report for Solanasis (solanasis.com). This runs every Monday morning to ensure the content pipeline is ready for the week.

### Step 1: Inventory the Blog Content

1. Read all markdown files in the `content-creation/` folder and any blog draft folders to find:
   - Posts scheduled for THIS week (check `date` in frontmatter or filename)
   - Posts in the draft pipeline (not yet published)
   - The complete publishing history (all posts with dates)

2. Also check `website-content/blog/` or similar folders for the actual blog post files if they exist.

3. Build a complete timeline of all published and scheduled posts.

### Step 2: Review Each Post Scheduled This Week

For each post publishing this week:

**Frontmatter Audit:**
- Title: present and compelling?
- Description/excerpt: present and SEO-friendly?
- Date: correct publish date?
- Author: set (usually "Solanasis Team")?
- Tags: relevant and consistent with site taxonomy?
- Pillar: assigned (cybersecurity, disaster-recovery, crm-operations, ai-automation, data-systems, operational-resilience, founder-journey, partnerships)?
- Image: path present AND file exists? Check for both JPG and WebP versions.
- ImageAlt: descriptive alt text present?
- ReadingTime: estimated?
- Draft: set to false (ready to publish)?

**Content Review:**
- Is the post polished and follows Dmitri's conversational, expert-but-approachable voice?
- Are acronyms expanded on first use?
- Does it have a clear CTA (Call-To-Action) at the bottom?
- Are internal cross-links to other Solanasis posts present?
- Any broken link formatting?
- No placeholder text or TODO items remaining?

### Step 3: Generate Social Media Drafts

For each post publishing this week, create social media content:

**LinkedIn Post (1 per blog post):**
- First-person, conversational, Dmitri's voice
- Hook in the first line (pattern interrupt)
- 3-5 short paragraphs or bullet points
- CTA to read the full post
- NO engagement bait ("like if you agree", "thoughts?")
- Include 3-5 relevant hashtags

**Twitter/X Posts (2-3 per blog post):**
- Punchy, under 280 characters each
- Different angles from the same post
- One can be a key stat or insight
- Link to blog post

**Newsletter Snippet (1 per week):**
- 2-3 sentence teaser suitable for email newsletter
- Links to the week's posts

Save all social media content to `content-creation/social-media-[slug]-campaign.md`

### Step 4: Pipeline Health Check

Analyze the full content pipeline:

**Schedule Gap Analysis:**
- Are there posts scheduled for next week? The week after?
- If the queue runs dry within 2 weeks, flag it as URGENT
- Calculate how many posts are needed to maintain the current cadence

**Pillar Distribution:**
- Count posts per content pillar across the last 30 days
- Flag any pillars with 0 posts (content gaps)
- Flag any pillars with >40% of total posts (over-indexed)
- Recommend which pillars the next 2-3 posts should target

**Publishing Cadence:**
- What's the average posts/week over the last 4 weeks?
- Is it accelerating, steady, or declining?
- Recommend target cadence based on current capacity

### Step 5: Generate the Report

Save the final report as `content-creation/weekly-blog-prep-YYYY-MM-DD.md` with these sections:

1. **This Week's Posts** — detailed review of each post with frontmatter audit and content notes
2. **Social Media Content** — reference to the social media campaign file(s)
3. **Publishing Schedule & Gap Analysis** — full timeline table with gap alerts
4. **Pillar Distribution** — breakdown with recommendations
5. **Action Items** — numbered list with priority markers (✅ ready, ⚠️ needs attention, 🚨 urgent)
6. **Next 3 Posts in Queue** — what's coming up after this week

### Important Rules
- Be specific and actionable — this report drives the week's content work
- Always flag empty pipelines loudly — running out of content is a growth killer
- Check for actual file existence when validating images (don't just check frontmatter)
- If no posts are scheduled this week, say so clearly and focus the report on pipeline building
- Include "Pro Tips" on content marketing best practices where natural

Windows Task Scheduler Setup

@echo off
REM Weekly Blog Publish Prep — runs Mondays at 8:02 AM Mountain Time
cd /d C:\Users\[USERNAME]\solanasis-docs
claude -p "Run the weekly blog publish prep. Read the prompt file at scheduled-tasks/03-weekly-blog-publish-prep-prompt.md and follow its instructions exactly." --allowedTools "Read,Write,Edit,Bash,Glob,Grep,WebSearch,WebFetch" --output-format json >> logs\blog-prep-%date:~-4date:~7,2%.log 2>&1

Task Scheduler trigger: Weekly, Monday at 8:02 AM