blog-draft
它能做什么
这个技能指导你的智能体研究一个话题、列出大纲,并分阶段起草博客文章,在关键步骤征求你的批准。适合希望把想法和资料变成成品文章的写作者。
适用场景
- ✓当你想根据一个想法和几个参考链接撰写博客文章的时候。
- ✓当你想在起草文章之前先收集并汇总资料的时候。
- ✓当你想在之后的一轮中修改已有的博客草稿的时候。
技能链接
https://github.com/luongnv89/claude-howto/blob/main/03-skills/blog-draft/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请帮我根据我保存的这三篇文章,起草一篇关于远程工作的博客文章。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会创建一个项目文件夹,收集并汇总你的资料,列出文章大纲,然后起草。每个阶段它都会等待你的批准,并记录之前的版本。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
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 directoryFor 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
- URLs: Fetch and save key information to
For each resource, create a summary file in
resources/:resources/source-1-[short-name].mdresources/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 relevancePresent 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 2Present outline to user and ask for approval or modifications.
Step 4: Save Approved Outline
Once user approves the outline, save it to
OUTLINE.mdin 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.mdin the blog post folder.Format:
# [Blog Post Title] *[Optional: subtitle or tagline]* [Full content with inline citations...] --- ## References - [1
常见问题
它会等待我的批准吗?
会。该技能说明,在某些步骤需要征得你的批准后才会继续。
它能使用我自己的文件作为资料吗?
可以。它可以读取你提供的文件,并把摘要保存在资源文件夹中。
之后我能要求修改吗?
可以。该技能有一条单独的途径,用于更新已有草稿。
详情
作者的原始描述
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.
repo: luongnv89/claude-howto
热度
- GitHub 星标
- 46k
- 排名
- #6320
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …