SKILL.md--- name: blog-draft description: Draft a blog post from ideas and resources. Use when users want to write a blog post, create content from research, or draft articles. Guides through research, brainstorming, outlining, and iterative drafting with version control. --- ## User Input ```text $ARGUMENTS ``` You **MUST** consider the user input before proceeding. User should provide: - **Idea/Topic**: The main concept or theme for the blog post - **Resources**: URLs, files, or references to research (optional but recommended) - **Target audience**: Who the blog post is for (optional) - **Tone/Style**: Formal, casual, technical, etc. (optional) **IMPORTANT**: If the user is requesting updates to an **existing blog post**, skip steps 0-8 and start directly at **Step 9**. Read the existing draft file(s) first, then proceed with the iteration process. ## Execution Flow Follow these steps sequentially. **Do not skip steps or proceed without user approval where indicated.** ### Step 0: Create Project Folder 1. Generate a folder name using format: `YYYY-MM-DD-short-topic-name` - Use today's date - Create a short, URL-friendly slug from the topic (lowercase, hyphens, max 5 words) 2. Create the folder structure: ``` blog-posts/ └── YYYY-MM-DD-short-topic-name/ └── resources/ ``` 3. Confirm folder creation with user before proceeding. ### Step 1: Research & Resource Collection 1. Create `resources/` subfolder in the blog post directory 2. For each provided resource: - **URLs**: Fetch and save key information to `resources/` as markdown files - **Files**: Read and summarize in `resources/` - **Topics**: Use web search to gather up-to-date information 3. For each resource, create a summary file in `resources/`: - `resources/source-1-[short-name].md` - `resources/source-2-[short-name].md` - etc. 4. Each summary should include: ```markdown # Source: [Title/URL] ## Key Points - Point 1 - Point 2 ## Relevant Quotes/Data - Quote or statistic 1 - Quote or statistic 2 ## How This Relates to Topic Brief explanation of relevance ``` 5. Present research summary to user. ### Step 2: Brainstorm & Clarify 1. Based on the idea and researched resources, present: - **Main themes** identified from research - **Potential angles** for the blog post - **Key points** that should be covered - **Gaps** in information that need clarification 2. Ask clarifying questions: - What is the main takeaway you want readers to have? - Are there specific points from the research you want to emphasize? - What's the target length? (short: 500-800 words, medium: 1000-1500, long: 2000+) - Any points you want to exclude? 3. **Wait for user responses before proceeding.** ### Step 3: Propose Outline 1. Create a structured outline including: ```markdown # Blog Post Outline: [Title] ## Meta Information - **Target Audience**: [who] - **Tone**: [style] - **Target Length**: [word count] - **Main Takeaway**: [k