|
| 1 | +--- |
| 2 | +name: content-generator |
| 3 | +description: "Tier 2: Generate content - blog articles, product descriptions, documentation, marketing copy. Keywords: content generation, blog writing, article generator, 内容生成, 博客写作" |
| 4 | +layer: workflow |
| 5 | +role: content-specialist |
| 6 | +tier: 2 |
| 7 | +version: 5.0.0 |
| 8 | +architecture: handoff-chain |
| 9 | +invokes: |
| 10 | + - research-workflow |
| 11 | + - documentation |
| 12 | + - prompt-engineering |
| 13 | +invoked_by: |
| 14 | + - full-stack-development |
| 15 | + - lead-agent |
| 16 | +capabilities: |
| 17 | + - blog_article_generation |
| 18 | + - product_description_writing |
| 19 | + - technical_documentation |
| 20 | + - marketing_copy |
| 21 | +triggers: |
| 22 | + keywords: |
| 23 | + - content generation |
| 24 | + - blog writing |
| 25 | + - article generator |
| 26 | + - write content |
| 27 | + - 内容生成 |
| 28 | + - 博客写作 |
| 29 | + - 写文章 |
| 30 | + conditions: |
| 31 | + - "need blog articles" |
| 32 | + - "need product descriptions" |
| 33 | + - "need documentation" |
| 34 | +metrics: |
| 35 | + avg_article_length: 800-1500 words |
| 36 | + articles_per_hour: 4 |
| 37 | + quality_score: 0.82 |
| 38 | +--- |
| 39 | + |
| 40 | +# Content Generator - Tier 2 |
| 41 | + |
| 42 | +> **Tier 2 Skill**: Generate content - blogs, product descriptions, docs, marketing copy |
| 43 | +
|
| 44 | +## What is Content Generation? |
| 45 | + |
| 46 | +Generate high-quality content for blogs, products, documentation, and more. |
| 47 | + |
| 48 | +``` |
| 49 | +CONTENT TYPES: |
| 50 | + ├─ Blog Articles |
| 51 | + │ ├─ Tutorials |
| 52 | + │ ├─ How-to guides |
| 53 | + │ ├─ Opinion pieces |
| 54 | + │ └─ News & updates |
| 55 | + │ |
| 56 | + ├─ Product Content |
| 57 | + │ ├─ Product descriptions |
| 58 | + │ ├─ Marketing copy |
| 59 | + │ └─ Landing pages |
| 60 | + │ |
| 61 | + ├─ Documentation |
| 62 | + │ ├─ Technical docs |
| 63 | + │ ├─ API docs |
| 64 | + │ └─ User manuals |
| 65 | + │ |
| 66 | + └─ Social Media |
| 67 | + ├─ Twitter/X threads |
| 68 | + ├─ LinkedIn posts |
| 69 | + └─ Blog snippets |
| 70 | +``` |
| 71 | + |
| 72 | +## Content Types |
| 73 | + |
| 74 | +| Type | Use Case | Output | |
| 75 | +|------|----------|--------| |
| 76 | +| **Blog Article** | Personal/company blog | 800-1500 word article | |
| 77 | +| **Product Description** | E-commerce product page | 100-300 words | |
| 78 | +| **Technical Doc** | Software documentation | 500-2000 words | |
| 79 | +| **Marketing Copy** | Landing page/ads | 50-200 words | |
| 80 | + |
| 81 | +## Handoff Chain |
| 82 | + |
| 83 | +``` |
| 84 | +Topic Research ━━(handoff)━━► Outline Creation ━━(handoff)━━► Draft Writing ━━(handoff)━━► Editing & SEO ━━(handoff)━━► Final Review |
| 85 | + │ │ │ │ │ |
| 86 | + ├─ Research topic ├─ Create outline ├─ Write draft ├─ Edit & polish ├─ Final check |
| 87 | + └─ Gather sources └─ Structure └─ Add examples └─ SEO optimize └─ Publish ready |
| 88 | +``` |
| 89 | + |
| 90 | +## Phase 1: Topic Research |
| 91 | + |
| 92 | +```yaml |
| 93 | +purpose: "Research the topic" |
| 94 | +state: researching |
| 95 | +inputs: |
| 96 | + topic: "What is AI Agent?" |
| 97 | + target_audience: "developers" |
| 98 | + content_type: "blog_article" |
| 99 | + |
| 100 | +actions: |
| 101 | + - skill: research-workflow |
| 102 | + task: "Research topic, gather sources" |
| 103 | + output: ResearchReport |
| 104 | + |
| 105 | +output: TopicBrief |
| 106 | +``` |
| 107 | +
|
| 108 | +## Phase 2: Outline Creation |
| 109 | +
|
| 110 | +```yaml |
| 111 | +purpose: "Create content outline" |
| 112 | +state: outlining |
| 113 | +inputs: |
| 114 | + topic_brief: {...} |
| 115 | + content_type: "blog_article" |
| 116 | + |
| 117 | +structure: |
| 118 | + blog_article: |
| 119 | + - Title (H1) |
| 120 | + - Introduction |
| 121 | + - Section 1 (H2) |
| 122 | + - Section 2 (H2) |
| 123 | + - ... |
| 124 | + - Conclusion |
| 125 | + - Call to Action |
| 126 | + |
| 127 | +output: ContentOutline |
| 128 | +``` |
| 129 | +
|
| 130 | +## Phase 3: Draft Writing |
| 131 | +
|
| 132 | +```yaml |
| 133 | +purpose: "Write the first draft" |
| 134 | +state: writing_draft |
| 135 | +inputs: |
| 136 | + outline: {...} |
| 137 | + tone: "professional but friendly" |
| 138 | + length: "1000-1200 words" |
| 139 | + |
| 140 | +actions: |
| 141 | + - Write each section |
| 142 | + - Add examples |
| 143 | + - Add code snippets (if technical) |
| 144 | + - Add images/placeholders |
| 145 | + |
| 146 | +output: ContentDraft |
| 147 | +``` |
| 148 | +
|
| 149 | +## Phase 4: Editing & SEO |
| 150 | +
|
| 151 | +```yaml |
| 152 | +purpose: "Edit, polish, and optimize" |
| 153 | +state: editing |
| 154 | +checks: |
| 155 | + - Grammar & spelling |
| 156 | + - Clarity & flow |
| 157 | + - Tone consistency |
| 158 | + - SEO keywords |
| 159 | + - Readability |
| 160 | + |
| 161 | +optimizations: |
| 162 | + - Add meta description |
| 163 | + - Add headings (H2/H3) |
| 164 | + - Add internal links |
| 165 | + - Add alt text for images |
| 166 | + |
| 167 | +output: PolishedContent |
| 168 | +``` |
| 169 | +
|
| 170 | +## Phase 5: Final Review |
| 171 | +
|
| 172 | +```yaml |
| 173 | +purpose: "Final quality check" |
| 174 | +state: final_review |
| 175 | +quality_gate: |
| 176 | + checks: |
| 177 | + - "No grammar errors" |
| 178 | + - "Clear and readable" |
| 179 | + - "Meets length requirement" |
| 180 | + - "SEO optimized" |
| 181 | + - "Factually accurate" |
| 182 | + |
| 183 | +output: FinalContent (ready to publish) |
| 184 | +``` |
| 185 | +
|
| 186 | +## Example: Blog Article Generation |
| 187 | +
|
| 188 | +``` |
| 189 | +REQUEST: "Write a blog article: 'What is an AI Agent?'" |
| 190 | + |
| 191 | +PHASE 1: Research |
| 192 | + ✓ Research AI Agents |
| 193 | + ✓ Gather sources (OpenAI, Anthropic, etc.) |
| 194 | + ✓ Identify key points |
| 195 | + |
| 196 | +PHASE 2: Outline |
| 197 | + ✓ Title: "What is an AI Agent? A Complete Guide for Developers" |
| 198 | + ✓ Introduction |
| 199 | + ✓ Section 1: What is an AI Agent? |
| 200 | + ✓ Section 2: Key Components |
| 201 | + ✓ Section 3: How Agents Work |
| 202 | + ✓ Section 4: Examples |
| 203 | + ✓ Conclusion |
| 204 | + |
| 205 | +PHASE 3: Draft Writing |
| 206 | + ✓ Write 1,100 words |
| 207 | + ✓ Add code examples |
| 208 | + ✓ Add diagrams |
| 209 | + |
| 210 | +PHASE 4: Editing & SEO |
| 211 | + ✓ Edit for clarity |
| 212 | + ✓ Add keywords: "AI Agent", "LLM Agent", "Autonomous Agent" |
| 213 | + ✓ Add meta description |
| 214 | + |
| 215 | +PHASE 5: Final Review |
| 216 | + ✓ All checks pass |
| 217 | + ✓ Ready to publish! |
| 218 | + |
| 219 | +RESULT: 1,100-word blog article, SEO optimized! |
| 220 | +``` |
| 221 | +
|
| 222 | +## Related Skills |
| 223 | +
|
| 224 | +- **research-workflow** - Research |
| 225 | +- **documentation** - Documentation |
| 226 | +- **prompt-engineering** - Prompt optimization |
0 commit comments