User Input
$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
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)
Create the folder structure:
blog-posts/
└── YYYY-MM-DD-short-topic-name/
└── resources/
Confirm folder creation with user before proceeding.
Step 1: Research & Resource Collection
Create resources/ subfolder in the blog post directory
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
For each resource, create a summary file in resources/:
resources/source-1-[short-name].md
resources/source-2-[short-name].md
- etc.
Each summary should include:
# 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
Present research summary to user.
Step 2: Brainstorm & Clarify
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
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?
Wait for user responses before proceeding.
Step 3: Propose Outline
Create a structured outline including:
# Blog Post Outline: [Title]
## Meta Information
- **Target Audience**: [who]
- **Tone**: [style]
- **Target Length**: [word count]
- **Main Takeaway**: [key message]
## Proposed Structure
### Hook/Introduction
- Opening hook idea
- Context setting
- Thesis statement
### Section 1: [Title]
- Key point A
- Key point B
- Supporting evidence from [source]
### Section 2: [Title]
- Key point A
- Key point B
[Continue for all sections...]
### Conclusion
- Summary of key points
- Call to action or final thought
## Sources to Cite
- Source 1
- Source 2
Present outline to user and ask for approval or modifications.
Step 4: Save Approved Outline
Once user approves the outline, save it to OUTLINE.md in the blog post folder.
Confirm the outline has been saved.
Step 5: Commit Outline (if in git repo)
Check if current directory is a git repository.
If yes:
- Stage the new files: blog post folder, resources, and OUTLINE.md
- Create commit with message:
docs: Add outline for blog post - [topic-name]
- Push to remote
If not a git repo, skip this step and inform user.
Step 6: Write Draft
Based on the approved outline, write the full blog post draft.
Follow the structure from OUTLINE.md exactly.
Include:
- Engaging introduction with hook
- Clear section headers
- Supporting evidence and examples from research
- Smooth transitions between sections
- Strong conclusion with takeaway
- Citations: All comparisons, statistics, data points, and factual claims MUST cite the original source
Save the draft as draft-v0.1.md in the blog post folder.
Format:
# [Blog Post Title]
*[Optional: subtitle or tagline]*
[Full content with inline citations...]
---
## References
- [1] Source 1 Title - URL or Citation
- [2] Source 2 Title - URL or Citation
- [3] Source 3 Title - URL or Citation
Citation Requirements:
- Every data point, statistic, or comparison MUST have an inline citation
- Use numbered references [1], [2], etc., or named citations [Source Name]
- Link citations to the References section at the end
- Example: "Studies show that 65% of developers prefer TypeScript [1]"
- Example: "React outperforms Vue in rendering speed by 20% [React Benchmarks 2024]"
Step 7: Commit Draft (if in git repo)
Check if in git repository.
If yes:
- Stage the draft file
- Create commit with message:
docs: Add draft v0.1 for blog post - [topic-name]
- Push to remote
If not a git repo, skip and inform user.
Step 8: Present Draft for Review
Present the draft content to user.
Ask for feedback:
- Overall impression?
- Sections that need expansion or reduction?
- Tone adjustments needed?
- Missing information?
- Specific edits or rewrites?
Wait for user response.
Step 9: Iterate or Finalize
If user requests changes:
- Note all requested modifications
- Return to Step 6 with the following adjustments:
- Increment version number (v0.2, v0.3, etc.)
- Incorporate all feedback
- Save as
draft-v[X.Y].md
- Repeat Steps 7-8
If user approves:
- Confirm the final draft version
- Optionally rename to
final.md if user requests
- Summarize the blog post creation process:
- Total versions created
- Key changes between versions
- Final word count
- Files created
Version Tracking
All drafts are preserved with incremental versioning:
draft-v0.1.md - Initial draft
draft-v0.2.md - After first round of feedback
draft-v0.3.md - After second round of feedback
- etc.
This allows tracking the evolution of the blog post and reverting if needed.
Output Files Structure
blog-posts/
└── YYYY-MM-DD-topic-name/
├── resources/
│ ├── source-1-name.md
│ ├── source-2-name.md
│ └── ...
├── OUTLINE.md
├── draft-v0.1.md
├── draft-v0.2.md (if iterations)
└── draft-v0.3.md (if more iterations)
Tips for Quality
- Hook: Start with a question, surprising fact, or relatable scenario
- Flow: Each paragraph should connect to the next
- Evidence: Support claims with data from research
- Citations: ALWAYS cite sources for:
- All statistics and data points (e.g., "According to [Source], 75% of...")
- Comparisons between products, services, or approaches (e.g., "X performs 2x faster than Y [Source]")
- Factual claims about market trends, research findings, or benchmarks
- Use inline citations with format: [Source Name] or [Author, Year]
- Voice: Maintain consistent tone throughout
- Length: Respect the target word count
- Readability: Use short paragraphs, bullet points where appropriate
- CTA: End with a clear call-to-action or thought-provoking question
Notes
- Always wait for user approval at outlined checkpoints
- Preserve all draft versions for history
- Use web search for up-to-date information when URLs are provided
- If resources are insufficient, ask user for more or suggest additional research
- Adapt tone based on target audience (technical, general, business, etc.)
Last Updated: August 4, 2026
Claude Code Version: 2.1.220
Sources:
1---2name: blog-draft3description: 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.4---5
6## User Input
7
8```text
9$ARGUMENTS
10```
11
12You **MUST** consider the user input before proceeding. User should provide:
13- **Idea/Topic**: The main concept or theme for the blog post
14- **Resources**: URLs, files, or references to research (optional but recommended)
15- **Target audience**: Who the blog post is for (optional)
16- **Tone/Style**: Formal, casual, technical, etc. (optional)
17
18**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.
19
20## Execution Flow
21
22Follow these steps sequentially. **Do not skip steps or proceed without user approval where indicated.**
23
24### Step 0: Create Project Folder
25
261. Generate a folder name using format: `YYYY-MM-DD-short-topic-name`
27 - Use today's date
28 - Create a short, URL-friendly slug from the topic (lowercase, hyphens, max 5 words)
29
302. Create the folder structure:
31 ```
32 blog-posts/
33 └── YYYY-MM-DD-short-topic-name/
34 └── resources/
35 ```
36
373. Confirm folder creation with user before proceeding.
38
39### Step 1: Research & Resource Collection
40
411. Create `resources/` subfolder in the blog post directory
42
432. For each provided resource:
44 - **URLs**: Fetch and save key information to `resources/` as markdown files
45 - **Files**: Read and summarize in `resources/`
46 - **Topics**: Use web search to gather up-to-date information
47
483. For each resource, create a summary file in `resources/`:
49 - `resources/source-1-[short-name].md`
50 - `resources/source-2-[short-name].md`
51 - etc.
52
534. Each summary should include:
54 ```markdown
55 # Source: [Title/URL]
56
57 ## Key Points
58 - Point 1
59 - Point 2
60
61 ## Relevant Quotes/Data
62 - Quote or statistic 1
63 - Quote or statistic 2
64
65 ## How This Relates to Topic
66 Brief explanation of relevance
67 ```
68
695. Present research summary to user.
70
71### Step 2: Brainstorm & Clarify
72
731. Based on the idea and researched resources, present:
74 - **Main themes** identified from research
75 - **Potential angles** for the blog post
76 - **Key points** that should be covered
77 - **Gaps** in information that need clarification
78
792. Ask clarifying questions:
80 - What is the main takeaway you want readers to have?
81 - Are there specific points from the research you want to emphasize?
82 - What's the target length? (short: 500-800 words, medium: 1000-1500, long: 2000+)
83 - Any points you want to exclude?
84
853. **Wait for user responses before proceeding.**
86
87### Step 3: Propose Outline
88
891. Create a structured outline including:
90
91 ```markdown
92 # Blog Post Outline: [Title]
93
94 ## Meta Information
95 - **Target Audience**: [who]
96 - **Tone**: [style]
97 - **Target Length**: [word count]
98 - **Main Takeaway**: [key message]
99
100 ## Proposed Structure
101
102 ### Hook/Introduction
103 - Opening hook idea
104 - Context setting
105 - Thesis statement
106
107 ### Section 1: [Title]
108 - Key point A
109 - Key point B
110 - Supporting evidence from [source]
111
112 ### Section 2: [Title]
113 - Key point A
114 - Key point B
115
116 [Continue for all sections...]
117
118 ### Conclusion
119 - Summary of key points
120 - Call to action or final thought
121
122 ## Sources to Cite
123 - Source 1
124 - Source 2
125 ```
126
1272. Present outline to user and **ask for approval or modifications**.
128
129### Step 4: Save Approved Outline
130
1311. Once user approves the outline, save it to `OUTLINE.md` in the blog post folder.
132
1332. Confirm the outline has been saved.
134
135### Step 5: Commit Outline (if in git repo)
136
1371. Check if current directory is a git repository.
138
1392. If yes:
140 - Stage the new files: blog post folder, resources, and OUTLINE.md
141 - Create commit with message: `docs: Add outline for blog post - [topic-name]`
142 - Push to remote
143
1443. If not a git repo, skip this step and inform user.
145
146### Step 6: Write Draft
147
1481. Based on the approved outline, write the full blog post draft.
149
1502. Follow the structure from OUTLINE.md exactly.
151
1523. Include:
153 - Engaging introduction with hook
154 - Clear section headers
155 - Supporting evidence and examples from research
156 - Smooth transitions between sections
157 - Strong conclusion with takeaway
158 - **Citations**: All comparisons, statistics, data points, and factual claims MUST cite the original source
159
1604. Save the draft as `draft-v0.1.md` in the blog post folder.
161
1625. Format:
163 ```markdown
164 # [Blog Post Title]
165
166 *[Optional: subtitle or tagline]*
167
168 [Full content with inline citations...]
169
170 ---
171
172 ## References
173 - [1] Source 1 Title - URL or Citation
174 - [2] Source 2 Title - URL or Citation
175 - [3] Source 3 Title - URL or Citation
176 ```
177
1786. **Citation Requirements**:
179 - Every data point, statistic, or comparison MUST have an inline citation
180 - Use numbered references [1], [2], etc., or named citations [Source Name]
181 - Link citations to the References section at the end
182 - Example: "Studies show that 65% of developers prefer TypeScript [1]"
183 - Example: "React outperforms Vue in rendering speed by 20% [React Benchmarks 2024]"
184
185### Step 7: Commit Draft (if in git repo)
186
1871. Check if in git repository.
188
1892. If yes:
190 - Stage the draft file
191 - Create commit with message: `docs: Add draft v0.1 for blog post - [topic-name]`
192 - Push to remote
193
1943. If not a git repo, skip and inform user.
195
196### Step 8: Present Draft for Review
197
1981. Present the draft content to user.
199
2002. Ask for feedback:
201 - Overall impression?
202 - Sections that need expansion or reduction?
203 - Tone adjustments needed?
204 - Missing information?
205 - Specific edits or rewrites?
206
2073. **Wait for user response.**
208
209### Step 9: Iterate or Finalize
210
211**If user requests changes:**
2121. Note all requested modifications
2132. Return to Step 6 with the following adjustments:
214 - Increment version number (v0.2, v0.3, etc.)
215 - Incorporate all feedback
216 - Save as `draft-v[X.Y].md`
217 - Repeat Steps 7-8
218
219**If user approves:**
2201. Confirm the final draft version
2212. Optionally rename to `final.md` if user requests
2223. Summarize the blog post creation process:
223 - Total versions created
224 - Key changes between versions
225 - Final word count
226 - Files created
227
228## Version Tracking
229
230All drafts are preserved with incremental versioning:
231- `draft-v0.1.md` - Initial draft
232- `draft-v0.2.md` - After first round of feedback
233- `draft-v0.3.md` - After second round of feedback
234- etc.
235
236This allows tracking the evolution of the blog post and reverting if needed.
237
238## Output Files Structure
239
240```
241blog-posts/
242└── YYYY-MM-DD-topic-name/
243 ├── resources/
244 │ ├── source-1-name.md
245 │ ├── source-2-name.md
246 │ └── ...
247 ├── OUTLINE.md
248 ├── draft-v0.1.md
249 ├── draft-v0.2.md (if iterations)
250 └── draft-v0.3.md (if more iterations)
251```
252
253## Tips for Quality
254
255- **Hook**: Start with a question, surprising fact, or relatable scenario
256- **Flow**: Each paragraph should connect to the next
257- **Evidence**: Support claims with data from research
258- **Citations**: ALWAYS cite sources for:
259 - All statistics and data points (e.g., "According to [Source], 75% of...")
260 - Comparisons between products, services, or approaches (e.g., "X performs 2x faster than Y [Source]")
261 - Factual claims about market trends, research findings, or benchmarks
262 - Use inline citations with format: [Source Name] or [Author, Year]
263- **Voice**: Maintain consistent tone throughout
264- **Length**: Respect the target word count
265- **Readability**: Use short paragraphs, bullet points where appropriate
266- **CTA**: End with a clear call-to-action or thought-provoking question
267
268## Notes
269
270- Always wait for user approval at outlined checkpoints
271- Preserve all draft versions for history
272- Use web search for up-to-date information when URLs are provided
273- If resources are insufficient, ask user for more or suggest additional research
274- Adapt tone based on target audience (technical, general, business, etc.)
275
276---
277
278**Last Updated**: August 4, 2026
279**Claude Code Version**: 2.1.220
280**Sources**:
281- https://code.claude.com/docs/en/skills
282**Compatible Models**: Claude Fable 5, Claude Opus 5, Claude Sonnet 5, Claude Sonnet 4.6, Claude Opus 4.8, Claude Haiku 4.5